Scroll to navigation

tsdb(1) General Commands Manual tsdb(1)

NAME

tsdb - CLI to the Prometheus TSDB

SYNOPSIS

DESCRIPTION

CLI tool for tsdb

OPTIONS

Show context-sensitive help (also try --help-long and --help-man).

COMMANDS

help [<command>...]

Show help.

bench write [<flags>] [<file*>]

run a write performance benchmark

set the output path
number of metrics to read

ls [<flags>] [<db path*>]

list db blocks

print human readable values

analyze [<flags>] [<db path*>] [<block id>]

analyze churn, label pair cardinality.

how many items to show in each list

dump [<flags>] [<db path*>]

dump samples from a TSDB

minimum timestamp to dump
maximum timestamp to dump