-
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.
This adds a "hostname" label to NodeExporter metrics to make the identification of the node of origin a little easier than just having the IP address. As a side effect of needing a little different parsing for NodeExporter and Kepler ScrapeConfigs, the code to get compute node IPs from ansible facts and from IPsets is now executed only once (in comparison to executing it twice), which greatly reduces k8s api calls.
- Loading branch information
Showing
2 changed files
with
94 additions
and
30 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