-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Allow selectively turn off prometheus metrics and/or stats… #1532
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #1532 +/- ##
========================================
+ Coverage 51.7% 55.2% +3.5%
========================================
Files 638 348 -290
Lines 77650 29985 -47665
========================================
- Hits 40147 16554 -23593
+ Misses 35065 12132 -22933
+ Partials 2438 1299 -1139
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's keep Disabled
field to avoid breaking existing configs, it should disable entire plugin. Then keep just PrometheusDisabled
(remove StatsPollerDisabled
) for toggling export for prometheus.
Data from prometheus export should be later refactored to use the stats poller service, so we have single source for metrics.
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
…ato#1532) fix: Allow selectively turn off prometheus metrics and/or stats poller
Signed-off-by: Vladimir Lavor vlavor@cisco.com