Open
Conversation
… exporter helm template
rptaylor
reviewed
Jan 27, 2026
chart/values.yaml
Outdated
|
|
||
| config: | ||
| # Namespace in the cluster where workload pods run | ||
| NAMESPACE: "example-namespace" |
Owner
There was a problem hiding this comment.
This is functionally the same as .Values.processor.config.NAMESPACE
In practice they would have to have the same value for the chart to work correctly.
Do you think it would make sense to consolidate them?
Collaborator
Author
There was a problem hiding this comment.
Yes, I think this makes sense. I'll update the chart to pull NAMESPACE from a single location.
rptaylor
reviewed
Jan 27, 2026
exporter.yaml
Outdated
| @@ -0,0 +1,262 @@ | |||
| --- | |||
Owner
There was a problem hiding this comment.
Is this a stray file, or meant to go in templates/ ?
The templates/exporter.yaml file doesn't have a configmap ...
Collaborator
Author
There was a problem hiding this comment.
Yep, this should be removed. It's the raw k8s config for the exporter that Sam developed before I converted it to a helm chart.
Owner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request is intended to increase the compatibility of Kuantifier with JupyterHub. Kuantifier's current configuration faces two issues pertaining to JupyterHub:
To address this:
LocalJobIdAPEL metrickube_pod_end_timemetric.kube_pod_end_timewhere available, and the new custom metric (kuantifier_pod_endtime) if not.Sam Albin, who wrote the custom endtime exporter, provides the following explanation of the new metrics:
kuantifier_pod_last_seen: Timestamp when the pod was last observed.
kuantifier_pod_endtime: end time written when a pod disappears or stops reporting.
kuantifier_pod_cpu_requests: cpu requests pulled directly from the pod spec.
Query changes to support the new metrics:
Prefer the kube_pod_completion to fall back to kuantifier_pod_endtime if it's missing:
Prefer the kube_pod_container_resource_requests to fall back to kuantifeirl_pod_cpu_requests if it's missing:
Same query adjusted to get the duration the pod ran end - start with fallbacks if the kube-state-metrics scraped metrics are missing: