Skip to content

Increase expiration period for "log_to_metric"/"prometheus_exporter" #17550

Answered by arch-xtof
arch-xtof asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @jszwedko,

First of all, that you for your suggestion. I tried it initially and nothing changed, so I thought this parameter was not what I needed. Today I used curl to check the metrics and discovered that metrics had a timestamp. Prometheus by default does not scrape metrics created longer than 5 minutes ago. I used the suppress_timestamp = true parameter to fix my issue.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jszwedko
Comment options

Answer selected by arch-xtof
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants