Interview Prep/Monitoring & Observability/Prometheus storage, memory and cardinality

Deleting a series with the admin API did not free disk

IntermediateTroubleshootingPrometheus storage, memory and cardinality
Answer

Likely causes → delete_series only writes tombstones; data is removed at the next compaction.

Diagnose → promtool tsdb list shows blocks unchanged in size.

Fix →

curl -XPOST 'localhost:9090/api/v1/admin/tsdb/clean_tombstones'

Prevent → Drop bad series at ingest instead of deleting after the fact.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Prometheus storage, memory and cardinality