-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tekton metrics are reporting wrong values #2844
Comments
The
|
/kind bug |
Do you think that could be the case for the duration metrics as well?
|
@RafaeLeal |
@vincent-pli @RafaeLeal we have similar issue reported for |
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
/remove-lifecycle rotten |
hey folks, I am curious if what i reported here #3739 about some of the pipeline metrics is relevant to this discussion. |
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
Rotten issues close after 30d of inactivity. /close Send feedback to tektoncd/plumbing. |
@tekton-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Expected Behavior
Tekton metrics coherent with data gather with kubectl
Actual Behavior
I have two examples, for the
tekton_pipelinerun_count
metric, it's currently reporting 22 failed and 58 success, but the cluster only have 20 PipelineRunsThe second example,
tekton_pipelinerun_duration_seconds_sum
metric seems to increase indefinitely. I expected to raise until the pipelinerun is completed, than stabilize in the same value as the duration showed withtkn pr describe <pipelinerun_name>
I also noticed that
I suspect that every time the controller reconciles it’s adding the duration of the pipeline.
Steps to Reproduce the Problem
Additional Info
Kubernetes version:
Output of
kubectl version
:Tekton Pipeline version: v0.13.2
Output of
tkn version
Output of
kubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'
The text was updated successfully, but these errors were encountered: