-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
promclient: drop version check; use flags 404 to determine if Prometh…
…eus supports it (#1163) * promclient: drop version check The version check would check the prometheus version and if > 2.2.0 would query the flags endpoint to do some extra validation. Remove this for just checking the flags endpoints and if it responds do the validation; otherwise log the failure, but continue the startup. Signed-off-by: Miek Gieben <[email protected]> * address nits from review Signed-off-by: Miek Gieben <[email protected]>
- Loading branch information
Showing
3 changed files
with
37 additions
and
124 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