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

[receiver/redis] Set start timestamp uniformly for gauge and sum metrics #6941

Merged

Commits on Dec 29, 2021

  1. [receiver/redis] Set start timestamp uniformly for gauge and sum metrics

    Currently start time of gauge metrics is set to 0. According to the specification https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/datamodel.md#gauge, start time should be set the timestamp when a metric collection system started.
    
    The time when redis server started is already being used for Sum metrics. There is no reason to keep it inconsistent. This change applies the same timestamp value to both Gauge and Sum metrics uniformly.
    dmitryax committed Dec 29, 2021
    Configuration menu
    Copy the full SHA
    c5dd48d View commit details
    Browse the repository at this point in the history