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 for gaps in prometheus metrics. #6

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

kai11
Copy link

@kai11 kai11 commented Mar 28, 2022

I had gaps in prometheus metrics for few minutes.
Problem occurs with 5 cron jobs - because of locked crons.prom file.
Details in commit description.

Instead of single crons.prom file, now each job will have it's own.
However, by default node_exporter' textfile don't merge them and use
only first one.

Details in prometheus/node_exporter#1885

Updates:
* instead of single crons.prom file, each job now have - and locks - it's own
* added same HELP header to all files
* cron_job metric renamed to cronjob
* minor README updates
@kai11
Copy link
Author

kai11 commented Mar 31, 2022

Wait with merging, it still have gaps

@kai11
Copy link
Author

kai11 commented Jun 7, 2022

Updated version looks ok, no gaps with multiple metrics.

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.

2 participants