Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

cmd/ocprometheus: Set timestamps #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RavuAlHemio
Copy link

Now that Prometheus and OpenMetrics support timestamps, forward
them from gNMI to the exporter.

@RavuAlHemio RavuAlHemio force-pushed the ocprometheus-timestamps branch 2 times, most recently from 96009ae to 4e26344 Compare November 11, 2021 15:00
Now that Prometheus and OpenMetrics support timestamps, forward
them from gNMI to the exporter.
@RavuAlHemio RavuAlHemio force-pushed the ocprometheus-timestamps branch from 4e26344 to d73cc27 Compare November 11, 2021 15:02
@RavuAlHemio
Copy link
Author

Okay, this might not have the desired effect; apparently Prometheus only stores the value with the given timestamp and assumes that the value is no longer valid if the timestamp is not updated during the next scrape.

Perhaps the discussion of timestamps should simply be removed from the README (or replaced with an explanation why ocprometheus does not consume them, as above)?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant