Hi,

I would like to share a python package that allows you to query prometheus 
metrics into python dataframe.

https://github.com/goettl79/parides 

In the source code you need to replace one line in prepare_time_slices in 
converter.py from 

date_range = panda.date_range(start=start_time, end=end_time, freq=freq, 
tz=pytz.UTC).to_datetime().tolist()

To

date_range = panda.to_datetime(panda.date_range(start=start_time, end=end_time, 
freq=freq, tz=pytz.UTC)).tolist()


Thank you.

-- 
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/4f554e8f-36bb-4b33-84b4-74d224c16aae%40googlegroups.com.

Reply via email to