Skip to content
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

Merged
merged 3 commits into from
Oct 21, 2019

Conversation

VladoLavor
Copy link
Collaborator

Signed-off-by: Vladimir Lavor vlavor@cisco.com

@codecov
Copy link

codecov bot commented Oct 21, 2019

Codecov Report

Merging #1532 into dev will increase coverage by 3.5%.
The diff coverage is n/a.

Impacted file tree graph

@@           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
Flag Coverage Δ
#e2e1904 ?
#e2e1908 ?
#unittests 55.2% <ø> (-0.02%) ⬇️

@ondrej-fabry ondrej-fabry changed the title Allow selectively turn off prometheus metrics and/or stats poller fix: Allow selectively turn off prometheus metrics and/or stats poller Oct 21, 2019
Copy link
Member

@ondrej-fabry ondrej-fabry left a 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>
@ondrej-fabry ondrej-fabry changed the title fix: Allow selectively turn off prometheus metrics and/or stats poller fix: Allow selectively turn off prometheus metrics and/or stats… Oct 21, 2019
@ondrej-fabry ondrej-fabry merged commit 6413dbe into ligato:dev Oct 21, 2019
ondrej-fabry added a commit to ondrej-fabry/vpp-agent that referenced this pull request Oct 21, 2019
…ato#1532)

fix: Allow selectively turn off prometheus metrics and/or stats poller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants