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

OTLP Gauge datapoint timestamp should be time at sampling #5044

Closed
lenin-jaganathan opened this issue May 6, 2024 · 0 comments · Fixed by #5045
Closed

OTLP Gauge datapoint timestamp should be time at sampling #5044

lenin-jaganathan opened this issue May 6, 2024 · 0 comments · Fixed by #5045
Labels
bug A general bug registry: otlp OpenTelemetry Protocol (OTLP) registry-related
Milestone

Comments

@lenin-jaganathan
Copy link
Contributor

As per OTLP Spec, the time_unix_nano of Gauge datapoint should be "A timestamp when the value was sampled". For cumulative implementation, we already set the time to the current instant. The delta implementation should also follow the same.

@shakuzen shakuzen added bug A general bug registry: otlp OpenTelemetry Protocol (OTLP) registry-related labels May 8, 2024
@shakuzen shakuzen added this to the 1.11.12 milestone May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A general bug registry: otlp OpenTelemetry Protocol (OTLP) registry-related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants