-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Verify compliant metric SDK specification implementation: MeterProvider/Meter Creation #3642
Comments
The SDK's metric.NewMeterProvider returns an object which implements API's |
This is implemented, the name is passed without any modification: https://github.com/open-telemetry/opentelemetry-go/blob/sdk/metric/v0.39.0/sdk/metric/provider.go#L70-L80 However, the docs are lying: https://github.com/open-telemetry/opentelemetry-go/blob/sdk/metric/v0.39.0/sdk/metric/provider.go#L63-L64 Issue created:
This does not look to be implemented. Issue created: |
This is implemented and tested here: https://github.com/open-telemetry/opentelemetry-go/blob/v1.16.0/metric/config_test.go#L26 |
I read it three times and I am not sure what the author had in mind. Origins from: open-telemetry/opentelemetry-specification#1730 What does "configuration" mean here? What does "manage" mean? Does it mean that we cannot configure a What does "SDK MUST provide a way to configure all options that are implemented by the SDK" mean (it looks like "the SDK has everything configurable"). Maybe it is my reading, but I find this paragraph not clear. Moreover, the paragraph contains normative wording. @MrAlias Can you please double-check? (Maybe the issue is on my side) EDIT: I guess that what the author had in mind is that the |
This is optional and it is not implemented. |
This looks similar to the trace SDK where the This does seem strange though given the exporter and reader will configure the temporality and default aggregators. Given our setup matches other already stable language implementations, I'm guessing we aren't doing something the specification didn't intend. I would suggest opening a PR in the specification to clarify this section after working with the spec SIG to understand its meaning. That way if we are out of compliance we can fix it now. |
I don't think the started nature matters too much here. More so the configuration of how a reader fits into the metric pipelines. |
PR created for clarifying the specification about the configuration: |
open-telemetry/opentelemetry-specification#3522 is merged. Closing the issue as all related issues and PRs are closed. |
The text was updated successfully, but these errors were encountered: