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

Fix export timestamp not working for prometheus on v2 #7289

Merged

Conversation

kir4h
Copy link
Contributor

@kir4h kir4h commented Apr 5, 2020

Signed-off-by: Andres Alvarez [email protected]

Required for all PRs:

  • Signed CLA.
  • Associated README.md updated.
  • Has appropriate unit tests.

Summary

This PR fixes the behavior for export_timestamp configuration in prometheus output plugin when using metrics version 2, so that the timestamp is actually issued along with the metric.

No update to the README.md is required I think, I take it this was the expected behaviour according to the documentation.

@kir4h kir4h force-pushed the enable-exporting-timestamp-prometheus-v2 branch from 887e4b3 to 2a781c7 Compare April 5, 2020 15:40
@ssoroka ssoroka merged commit df145c7 into influxdata:master Apr 6, 2020
@danielnelson danielnelson added the fix pr to fix corresponding bug label Apr 13, 2020
@danielnelson danielnelson added this to the 1.14.1 milestone Apr 13, 2020
danielnelson pushed a commit that referenced this pull request Apr 13, 2020
athoune pushed a commit to bearstech/telegraf that referenced this pull request Apr 17, 2020
veorlo pushed a commit to GlobalNOC/telegraf that referenced this pull request May 4, 2020
idohalevi pushed a commit to idohalevi/telegraf that referenced this pull request Sep 29, 2020
arstercz pushed a commit to arstercz/telegraf that referenced this pull request Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix pr to fix corresponding bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants