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

Manually set objectives Prometheus metrics #1257

Merged
merged 1 commit into from
Jun 21, 2019
Merged

Conversation

pathornteng
Copy link
Contributor

Prometheus client just released version 1.0.0 on 15 June 2019 which removed default objectives from default summary. So we are required to set objectives manually or the metrics won't show up.

This PR set default objectives for all metrics that use SummaryOpts

Ref: https://github.com/prometheus/client_golang/blob/505041cff1d2b843800a4f384694dcf62fb3e69c/CHANGELOG.md

  • I added unit tests for any code that added
  • I updated the CHANGELOG.md
  • All IP is original and not copied from another source
  • I assign all copyright to Loom Network for the code in the pull request

@enlight enlight merged commit 00dcc1e into master Jun 21, 2019
@enlight enlight deleted the fix-prometheus-metrics branch June 21, 2019 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants