Check TSDB cardinality

Top metrics by series count in VictoriaMetrics. Quickly finds a label explosion

curl -s 'http://vm:8428/api/v1/status/tsdb?topN=10' | jq '.data.seriesCountByMetricName'

tool
victoriametrics2 commands
tags
victoriametricsperformancetroubleshootingobservability

More victoriametrics commands

  • curl -s http://vm:8428/snapshot/create | jq -r .snapshot | xargs -I{} vmbackup -storageDataPath=/vmdata -snapshotName={} -dst=s3://bucket/vm

    Take a snapshot, then send it to S3 with vmbackup for a consistent copy. Restore with vmrestore

all 2 victoriametrics commands