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

Implement reporter options #52

Merged
merged 1 commit into from
Dec 23, 2019
Merged

Implement reporter options #52

merged 1 commit into from
Dec 23, 2019

Conversation

bryannaegele
Copy link
Contributor

With the addition of the Summary metric, the need for reporter options is now needed to provide a mechanism for users to define options for which summary statistics to calculate and rates where appropriate. Prometheus, for instance, requires the time-window for the metric to be set by the user for Summaries. This PR is necessary to support the Summary type in Prometheus Core - beam-telemetry/telemetry_metrics_prometheus_core#11.

Closes #33

@codecov-io
Copy link

codecov-io commented Dec 14, 2019

Codecov Report

Merging #52 into master will increase coverage by 0.11%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #52      +/-   ##
==========================================
+ Coverage   96.96%   97.08%   +0.11%     
==========================================
  Files           2        2              
  Lines          99      103       +4     
==========================================
+ Hits           96      100       +4     
  Misses          3        3
Flag Coverage Δ
#1_5_otp18 97.02% <100%> (+0.12%) ⬆️
#1_5_otp20 97.02% <100%> (+0.12%) ⬆️
#1_9_otp20 97.08% <100%> (+0.11%) ⬆️
#1_9_otp22 97.08% <100%> (+0.11%) ⬆️
Impacted Files Coverage Δ
lib/telemetry_metrics.ex 98.52% <100%> (+0.09%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9fd3549...eba6e47. Read the comment docs.

@josevalim josevalim merged commit bb12a95 into master Dec 23, 2019
@josevalim
Copy link
Contributor

❤️ 💚 💙 💛 💜

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Extra metric options
3 participants