Snapshot via `/api/v1/admin/tsdb/snapshot` returns `404 page not found`
BeginnerTroubleshootingPrometheus storage, memory and cardinality
Answer
Likely causes → Admin APIs are disabled by default.
Diagnose → curl -XPOST localhost:9090/api/v1/admin/tsdb/snapshot returns 404 or "admin APIs disabled".
Fix → Start with --web.enable-admin-api (Operator: enableAdminAPI: true), take the snapshot, then disable again.
Prevent → Keep admin APIs off in normal operation and protect the endpoint.
More on Prometheus storage, memory and cardinality
Prometheus pod restarts with `OOMKilled` every few hoursIntermediateA query fails with `query processing would load too many samples into memory in query execution`IntermediateHead series jumped from 2M to 9M after a deployAdvancedPrometheus logs `opening storage failed: ... unexpected EOF` / `corruption in segment` and won't startAdvancedPrometheus is in CrashLoopBackOff with `no space left on device`BeginnerPrometheus takes 15 minutes to become ready after a restartAdvanced