-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(healthcheck): correctly label nodes removed from metrics (#4178)
Commits a75df89 and 3cdd20d added and started setting new labels (dc/rack) to the healthcheck metrics. Unfortunately, those labels weren't taken into consideration when removing labels of removed clusters/nodes. This resulted in not removing those metrics until SM restart. This commit fixes this issue and brings a small refactor to the way in which healthcheck labels are applied, so that it's more difficult to make such mistake in the future. Fixes #4017
- Loading branch information
1 parent
cafa851
commit a16e511
Showing
2 changed files
with
62 additions
and
45 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