Skip to content

ezgh obs metrics label-values

List one label's values.

Updated View as Markdown
ezgh obs metrics label-values <name> [--match selector]… [flags]

List the values one label has across the project’s metric series, or across those matching --match (repeatable). label-values __name__ lists the metric names. Without --from, the last 6 hours.

Part of ezgh obs metrics.

Examples

ezgh obs metrics label-values __name__
ezgh obs metrics label-values job --environment production

Flags

Flag Type Default Description
--environment string only this environment’s series (adds environment=“…” to each selector)
--from string start of the time range (default: the server’s, 6h ago)
--limit int at most this many (default: the server’s cap)
--match string, repeatable only values on series matching this selector (repeatable)
--to string end of the time range (default now)

This command also takes the global flags.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close