Your metrics are being stored in Prometheus so this shouldn't be necessary. 

On 21 February 2020 17:15:18 GMT, Mircea <mircea.uli...@gmail.com> wrote:
>
>
>Hello,
>
>
>This might be a silly question, but here I am: I would need to enable 
>persistence for some metrics (looks like the push gateway might be a
>no-go 
>for now) and I was thinking to have my app dump the metrics, say into a
>
>file (e.g., using the write_to_textfile function) - then when the app 
>restarts to firstly attempt to load the metrics from there, so it
>ensures 
>continuity. I understand this doesn't sound like the most ideal
>scenario, 
>but such are the constraints am afraid... Anyway, so what I'm asking 
>basically is if there's a way, or anyone is aware, of the counter-part
>of 
>the write_to_textfile function to load the metrics from text into the 
>registry.
>
>
>Thanks!
>
>-- 
>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 prometheus-users+unsubscr...@googlegroups.com.
>To view this discussion on the web visit
>https://groups.google.com/d/msgid/prometheus-users/dc3a91f1-b79f-4229-9d48-f2c3b2bb5d49%40googlegroups.com.

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

-- 
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/6F998700-1105-4AB8-AB95-9F3499C33298%40Jahingo.com.

Reply via email to