Skip to content

feat: add option to disable timestamps on defaultMetrics - #255

Merged
SimenB merged 10 commits into
prometheus:masterfrom
dolchi21:master
Jun 4, 2019
Merged

SimenB merged 10 commits into
prometheus:masterfrom
dolchi21:master

Conversation

@dolchi21

Copy link
Copy Markdown
Contributor

Some timestamps can now be turned off by the user.

We have a server that does not have the correct time set.
Prometheus ignores these metrics because timestamps are too far in the future.
We currently can not change the server time so we are not collecting these critical metrics.

@SimenB SimenB left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me! Could you add a test, update the docs, TS typing and changelog?

@dolchi21

dolchi21 commented Apr 20, 2019 •

Copy link
Copy Markdown
Contributor Author

Works for me! Could you add a test, update the docs, TS typing and changelog?

Is it OK now? Let me know if I'm missing anything.

@SimenB
SimenB requested review from siimon and zbjornson April 21, 2019 14:41
@SimenB SimenB changed the title timestamps on defaultMetrics off by config feat: add option to disable timestamps on defaultMetrics Jun 4, 2019
@SimenB
SimenB merged commit 76b5435 into prometheus:master Jun 4, 2019
@SimenB

SimenB commented Jun 4, 2019

Copy link
Copy Markdown
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants