Skip to content
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

prometheusreceiver: Make use of created timestamp from prometheus #36473

Open
dashpole opened this issue Nov 20, 2024 · 1 comment
Open

prometheusreceiver: Make use of created timestamp from prometheus #36473

dashpole opened this issue Nov 20, 2024 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@dashpole
Copy link
Contributor

Component(s)

receiver/prometheus

Describe the issue you're reporting

Prometheus now parses the timestamp for us: prometheus/prometheus#14356. We need to implement the CreatedTimestampAppender interface (with the AppendCTZeroSample method and AppendHistogramCTZeroSample methods) to get access to it.

We also need to set EnableCreatedTimestampZeroIngestion to true in the scrape manager for the AppendCT* methods to be called.

We should remove the receiver.prometheusreceiver.UseCreatedMetric feature gate, and associated code after this is complete.

cc @open-telemetry/wg-prometheus

@dashpole dashpole added needs triage New item requiring triage enhancement New feature or request labels Nov 20, 2024
@dashpole
Copy link
Contributor Author

cc @ridwanmsharif
since you are also interested in created timestamp support

@dashpole dashpole added help wanted Extra attention is needed and removed needs triage New item requiring triage labels Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant