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

prometheus decoder: add support for Histograms and Summaries #84

Closed
edsiper opened this issue Feb 28, 2022 · 3 comments
Closed

prometheus decoder: add support for Histograms and Summaries #84

edsiper opened this issue Feb 28, 2022 · 3 comments
Assignees

Comments

@edsiper
Copy link
Member

edsiper commented Feb 28, 2022

Through PR #83 CMetrics just got support for Histograms metrics type.

For the context of the decoder, the parser needs to process histograms, create the list of buckets and initialize the histogram with default values for the buckets, sum, and count. An example can be found here:

@edsiper
Copy link
Member Author

edsiper commented Feb 28, 2022

FYI: In #87 I've added Summaries support.

The API is pretty similar to Histograms but just a bit simpler since we don't do data observation. Usage examples:

@edsiper edsiper changed the title prometheus decoder: add support for histograms prometheus decoder: add support for Histograms and Summaries Mar 1, 2022
@tarruda
Copy link
Contributor

tarruda commented Mar 3, 2022

This can be closed @edsiper

@edsiper
Copy link
Member Author

edsiper commented Mar 3, 2022

thanks

@edsiper edsiper closed this as completed Mar 3, 2022
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

No branches or pull requests

2 participants