-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more explicit logging RE recording rules
Promxy doesn't currently support storing recording rules, because prometheus has no remote write API -- meaning promxy has no place to put the metrics. This used to log (before the 2.x upgrade)-- but that was dropped and this is confusing again. This patch adds 2 layers of logging. (1) in main it checks for recording rules on start (where it will fatal log) and on reload (error log) (2) the ProxyStorage.Appender() now also logs a warning. This will remain in place until #79 (the long term plan) is figured out and executed Fixes #74
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 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