-
Notifications
You must be signed in to change notification settings - Fork 828
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
@opentelemetry/metrics: The option "boundaries" for metrics is not propagated to the HistogramAggregator #1626
Comments
will take it |
@AndrewGrachov Feel free to reach out if you have any questions |
OK, I see this is my "favorite" thing with otel :) Guess we should remove histogram option from createValueRecorder metric options |
The PR above should fix the issue, but I'm not sure if its logically correct to specify histogram-aggregator specific parameters within Base Metric class (which could be possibly aggregated many ways) |
Many thanks! |
…packages (open-telemetry#1626) Co-authored-by: Amir Blum <amirgiraffe@gmail.com>
Please answer these questions before submitting a bug report.
What version of OpenTelemetry are you using?
Version
v0.12
.What version of Node are you using?
Node
14.10.1
Please provide the code you used to setup the OpenTelemetry SDK
package.json
index.js
What did you do?
I'm trying to create a Promtetheus Histogram using a
ValueRecorder
metric, but when setting theboundaries
option this same option is not translated to the buckets list that the Histogram should be using. Somehow the value is lost in the conversion.What did you expect to see?
I would expect to see a list of
*_bucket
counters with thele
tag with values0.01
,5
and10
. Something similar to this (based on the example):What did you see instead?
If a run the example you can see the buckets are not set up:
The text was updated successfully, but these errors were encountered: