Command-Line Help for swarm-metrics

This document contains the help content for the swarm-metrics command-line program.

Command Overview:

swarm-metrics

query the swarm's metrics store from an agent

Usage: swarm-metrics <COMMAND>

Subcommands:

swarm-metrics query

Evaluate a MetricsQL (PromQL) expression at one instant

Usage: swarm-metrics query [OPTIONS] <PROMQL>

Arguments:
Options:

swarm-metrics query-range

Evaluate an expression over a window, one point per step

Usage: swarm-metrics query-range [OPTIONS] --start <START> <PROMQL>

Arguments:
Options:

swarm-metrics series

List the series that match one or more selectors

Usage: swarm-metrics series [OPTIONS] <MATCHERS>...

Arguments:
Options:

swarm-metrics labels

List label names, optionally only those on matching series

Usage: swarm-metrics labels [OPTIONS]

Options:

swarm-metrics label-values

List one label's values; __name__ lists every metric name

Usage: swarm-metrics label-values [OPTIONS] <NAME>

Arguments:
Options: