---
title: "ezgh obs metrics series"
description: "List the series matching selectors."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh obs metrics series

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
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`](/cli/reference/obs-metrics).

## Examples

```sh
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](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/obs-metrics-series/index.mdx
