-
Notifications
You must be signed in to change notification settings - Fork 893
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
OTLP Metric exporter configuration extends beyond the scope of its ability #2810
Comments
#2619 extended the precedent established in #2404, where the OTLP exporter was given a configuration for temporality preference despite that technically being a reader concern. Here's how I see things:
|
Is it? I know the spec says an Exporter is always paired with a Reader but if a Reader isn't required to always have an Exporter then it would be aggregating with the wrong histogram before the Exporter is set for that Reader when the Exporter is created. |
I endorse @jack-berg's interpretation #2810 (comment). However, we must address the question posed by @MrAlias regarding #2619 concerning the precedent set in #2404. The key paragraph appears just above the edits in #2619, namely:
This means that the feature under discussion, both temporality and aggregation controls, are meant to apply to the default-configured OTLP exporter which comes from the environment (if the SDK has this support). In other words, this is not in-scope for the OTLP exporter in general, this is in-scope for the default-configured OTLP exporter. Somewhere the SDK has code to setup an OTLP exporter from the environment-- it is this only this MetricReader that is impacted by #2619 (and likewise it is only this MetricReader concerned with |
If this is for setting up a single Reader/Exporter pair based on the environment then the name makes even less sense :). Am I understanding you right that this is more |
Please discuss in the next spec call. |
This discussion was postponed until the 10/4 Spec SIG meeting. |
This is partly covered in #2854. I believe we can close this issue after a suitable issue describing the confusion over exporter-related environment variables. |
More in #2746 (comment) |
Is this solved as #2854 was closed as well? @jmacd @MrAlias @jack-berg |
#2619 added the configuration option of the OTLP exporter to configure the default aggregation. However, the SDK is defined with the Reader setting the default aggregation not the exporter:
There is an additional option allowed:
However, by defining a configuration option on the OTLP exporter as #2619 has done, it implicitly requires implementations to support this automatic configuration. This should not be the case.
The text was updated successfully, but these errors were encountered: