-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: removed targets do not produce metrics anymore A check that gets updated with new targets will not continue exposing the last metric for that target. The metric(s) with the target label will be deleted. The responsibility for the metric cleanup must lie with the checks themselves, as they are the only ones who have access to the metrics themselves. Signed-off-by: Bruno Bressi <bruno.bressi@telekom.de> * chore: removed deprecated latency metric The metric was being already deleted. Instead of just removing the deletion, the metric itself can be finally removed for the next version. * chore: clean up & renaming Renamed the parameter of the metric cleanup to make the behavior clearer Signed-off-by: Bruno Bressi <bruno.bressi@telekom.de> * chore: clearer comment The term Collector for the prometheus metrics is avoided, as it was only creating confusion Signed-off-by: Bruno Bressi <bruno.bressi@telekom.de> * fix: removed double increase of count The metrics was being incremented twice for each check. Now it is not. Signed-off-by: Bruno Bressi <bruno.bressi@telekom.de> * chore: use quoted string for error Signed-off-by: Bruno Bressi <bruno.bressi@telekom.de> * chore: restructuring for consistency --------- Signed-off-by: Bruno Bressi <bruno.bressi@telekom.de> Co-authored-by: lvlcn-t <75443136+lvlcn-t@users.noreply.github.com>
- Loading branch information
Showing
19 changed files
with
355 additions
and
168 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Oops, something went wrong.