Hello,
I found out the follow unexpected beahviour between my prometheus db and customized client_python exporter:
I've tried to delete metrics from prometheus db using follow Web API commands:
All the time series metric diseppeared from prometheus db but after few seconds, probably after the new scraping iteration, all the time series was restored. (I tried with a two hour time series, very short).
So, the questions is: was the timeseries SAVED in the client_python exporter (buffer, cache, registry etc) and re-exposed every time to prometheus or the problem is at prometheus db side?
Is it a configurable option?
Thank you,
Daniele.
I used curl <address_of_exporter> and i see only the last exposed value for each metric. So, I don't understand how is possible that when I delete a timeseries in prometheus db, during the following scraping iteration prometheus db will be able to scrape also the historical metrics values (that should previosly been deleted from server) and not only the last metrics value in real time.