Re: [prometheus-users] Not get current value from Prometheus using Grok Exporter

2020-05-25 Thread Stuart Clark
In which case I'd suggest producing an additional metric where the value is the unix timestamp of the last update. You can then update your dashboard query to exclude those which haven't been updated for a certain length of time. However I would caution against getting too close to trying to

Re: [prometheus-users] Not get current value from Prometheus using Grok Exporter

2020-05-25 Thread Deep saraswat
Hi stuart, Thanks for your prompt response. I m trying to create a tabel dashboard on grafana showing current tabel undergoing checksumming and its completion percentage. As i collect these metrics from a file where these values get printed as things progress. But when i plot this tabel

Re: [prometheus-users] Not get current value from Prometheus using Grok Exporter

2020-05-25 Thread Stuart Clark
Until a new value is scraped, that 48% is the current value. As a metrics system Prometheus scrapes values regularly. As a result it is unlikely that a scrape will fall exactly on the moment needed for a query to be processed. Instead Prometheus will look back to find the latest value and use

[prometheus-users] Not get current value from Prometheus using Grok Exporter

2020-05-25 Thread Deep saraswat
I have a Grok exporter gauge metric which returning mysql checksum completion percentage by reading and parsing from a file. I'm using grafana dashboard to visualize Prometheus values. [image: Screenshot 2020-05-24 at 9.51.00 PM.png] Problem is Prometheus holding last value of metric until a