-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[exporter/prometheusremotewriteexporter] Deprecate and Remove export_created_metric
feature.
#35003
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Since PRW v2.0 will have the created timestamp in the proto, this will become moot after we switch to that. Should we just leave it around until then? IIRC, it is disabled by default. I'm not sure if people are using it or not. We can add a warning or something to the documentation if you want to make sure people know it doesn't work with Prometheus' CT support |
I'd rather remove it, if possible. For PRWv2 I think we'll always do this conversion, it shouldn't be opt-in/out 🤔. While in PRWv1 it just doesn't work at all, so there's no reason to enable it |
cc @kovrus do you have any thoughts here? |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Sorry, this is still on my list. Just struggling to allocate time for it 😬 |
@ArthurSens here's the PR for deprecation: #36214 If I understand the guideline correctly, removing the config option itself have to be done separately in the next release right? |
Yes, for complete removal it will take a few releases... but we can put the feature behind a feature gate and slowly decrease the stability stage until complete removal |
Now that v0.114.0 has been released, we can switch the feature flag to |
Yes |
#### Description Change `exporter.prometheusremotewriteexporter.deprecateCreatedMetric` feature gate from Alpha to Beta #### Link to tracking issue #35003 --------- Co-authored-by: David Ashpole <dashpole@google.com>
…lemetry#36606) #### Description Change `exporter.prometheusremotewriteexporter.deprecateCreatedMetric` feature gate from Alpha to Beta #### Link to tracking issue open-telemetry#35003 --------- Co-authored-by: David Ashpole <dashpole@google.com>
…lemetry#36606) #### Description Change `exporter.prometheusremotewriteexporter.deprecateCreatedMetric` feature gate from Alpha to Beta #### Link to tracking issue open-telemetry#35003 --------- Co-authored-by: David Ashpole <dashpole@google.com>
…n-telemetry#36214) #### Description Deprecate export_created_metric config option #### Link to tracking issue Fixes open-telemetry#35003 --------- Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com> Co-authored-by: David Ashpole <dashpole@google.com>
…n-telemetry#36214) #### Description Deprecate export_created_metric config option #### Link to tracking issue Fixes open-telemetry#35003 --------- Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com> Co-authored-by: David Ashpole <dashpole@google.com>
…lemetry#36606) #### Description Change `exporter.prometheusremotewriteexporter.deprecateCreatedMetric` feature gate from Alpha to Beta #### Link to tracking issue open-telemetry#35003 --------- Co-authored-by: David Ashpole <dashpole@google.com>
Component(s)
exporter/prometheusremotewrite
Describe the issue you're reporting
Although the intention with #17417 was good to be compliant with OpenMetrics, it's important to mention that OpenMetrics is an data exposition format, while Prometheus Remote-Write is a data transport protocol.
The original goal of
StartTimeUnixNano
and OM's_created
metrics is to identify resets of monotonically increasing metrics.Knowing that our exporter exposes
StartTimeUnixNano
as a separate metric, and that PRWv1 potentially splits metrics into multiple requests, there's no guarantee that_created
and its related metric will be sent in the same request, which makes the usage of this feature super super difficult and inefficient. The current implementation in Prometheus when receiving this metric will just create another timeseries and will not use it to identify resets, making this feature in the collector pointless.My suggestion here is that we remove this feature altogether. Let's keep in mind that this is a prwexporter and not a openmetrics exporter.
The text was updated successfully, but these errors were encountered: