Hey all,

I'm trying to write an exporter.  I want my graph to display info only when 
the test is run and NOT when it is not running.

Something like:

[image: 2020-06-25_14-49-21.jpg]

I have not found a mechanism to be notified when a scrape has been 
completed.    My current workaround is that I:

   1. publish test values
   2. wait for the scrape interval plus a few seconds.  This should result 
   in test values being scraped
   3. publish zeros

Is there a way to be notified when a scrape occurs so that i can clear my 
values until the next test run?

Thanks in advance for any info,

- Steve

P.S.  I do not really want to "push" results into the pushgateway.  
However, this may be the recommended solution...

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/7343c8f3-aa7d-434f-983f-b86dc9b5b48ao%40googlegroups.com.

Reply via email to