Skip to content

[exporter/prometheusremotewriteexporter] Deprecate and Remove export_created_metric feature. #35003

Closed
@ArthurSens

Description

@ArthurSens

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions