forked from tektoncd/pipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix units for metric taskrun_pod_latency
Prior to this commit, the taskrun_pod_latency metric was calculated using pod timestamps and directly casted to float64. This calculation resulted in incorrectly using nanoseconds, when the metric was intended to have units of milliseconds. This commit fixes the duration conversion and adds units to the metric name, in line with Prometheus best practices.
- Loading branch information
1 parent
75dc883
commit 29ddf85
Showing
3 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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