ezgh obs metrics series --match selector… [flags]List the label sets of the project’s metric series that match --match (a series selector, repeatable, at least one). Without --from, the last 6 hours.
Part of ezgh obs metrics.
Examples
ezgh obs metrics series --match 'http_server_request_duration_seconds_count{job="api"}'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 | a series selector (repeatable; required) | |
--to |
string | end of the time range (default now) |
This command also takes the global flags.