This repository has been archived by the owner on Mar 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use seconds in haproxy_check_duration_seconds as unit (#183)
According to Prometheus best practices, metrics should be using base units. Times should be exported in seconds, the check duration metric is the only outlier here. With this change, all tested metrics adhere to the guidelines: for file in test/*.metrics; do promtool check metrics < $file done Signed-off-by: Tobias Schmidt <tobidt@gmail.com>
- Loading branch information
Showing
2 changed files
with
17 additions
and
15 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