-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
sdk/metric: Set StartTime for gauge metric points #4269
Comments
It could also mean we get the current time on startup with an Not sure what the appropriate timestamp is though. |
I think right now we can set it to the time when metric provider is created until it is better specified. |
This apears to not need a fix for the SDK GA. Can we remove it from the project? It might also make sense to hold off on a solution until there is consensus in the spec so we don't have revert things. |
Moved to Go: Metric SDK (Post-GA) |
Problem Statement
From specification: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/data-model.md#gauge
Proposed Solution
I am not sure what "metric collection system started" exactly means.
We could capture
time.Now()
when either:init
functionAdditional Context
Found it missing when debugging #4268
The text was updated successfully, but these errors were encountered: