> Currently i have set the retention for 30 days. our cluster have 44 nodes, > It occupied 300GB space as of now i.e for 20 days. > I want to ensure the data get overriden after 30 days and size to maintain > max 500GB. > > There is an experimental flag --storage.tsdb.retention.size for that. See: https://prometheus.io/docs/prometheus/latest/storage/#operational-aspects
As for "reading the data from prometheus TSDB", I guess you want the query API: https://prometheus.io/docs/prometheus/latest/querying/api/ -- 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/d9eda409-08a3-40fa-ba4f-264b62a1f1c4o%40googlegroups.com.

