ezgh obs metrics labels [--match selector]… [flags]List the label names of the project’s metric series: all of them, or those of series matching --match (a series selector such as up or http_server_request_duration_seconds_count{job="api"}, repeatable). Without --from, the last 6 hours.
Part of ezgh obs metrics.
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 labels of series matching this selector (repeatable) | |
--to |
string | end of the time range (default now) |
This command also takes the global flags.