trying Storage | Prometheus 
<https://prometheus.io/docs/prometheus/latest/storage/#backfilling-from-openmetrics-format>

“–storage.tsdb.retention.time=1y” retention set to 1 year

openmetrics data example
<https://discuss.prometheus.io/t/tsdb-backfill-from-openmetrics/1527#help-user_accounts_total-the-total-number-of-user-accounts-1>HELP
 
user_accounts_total The total number of user accounts. 
<https://discuss.prometheus.io/t/tsdb-backfill-from-openmetrics/1527#type-user_accounts_total-gauge-2>TYPE
 
user_accounts_total gauge

user_accounts_total{product_id=“user_web”,service=“web”} 2760 1654120800

date -d@1654120800
Wed Jun 1 22:00:00 UTC 2022

but after prometheus reload i see lot of messages
ts=2023-03-11T15:19:33.368Z caller=db.go:1541 level=info component=tsdb 
msg=“Deleting obsolete block” block=01GV8M2W2RH4ZW31SVXZ7YSMC7

and i cant see older data

any tips howto debug why prometheus starts process of “deleting blocks”?

-- 
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/dfbb5e69-91ce-4a87-9989-edeeaed99cd7n%40googlegroups.com.

Reply via email to