Inspect TSDB cardinality status
top metrics by series count in VictoriaMetrics; pinpoint label explosions fast
curl -s 'http://vm:8428/api/v1/status/tsdb?topN=10' | jq '.data.seriesCountByMetricName'
- tool
- victoriametrics2 commands
More victoriametrics commands
-
curl -s http://vm:8428/snapshot/create | jq -r .snapshot | xargs -I{} vmbackup -storageDataPath=/vmdata -snapshotName={} -dst=s3://bucket/vmsnapshot then vmbackup to S3 for a consistent copy; vmrestore reverses it