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

# bronto metrics

> Manage metrics

Manage metrics

> [!TIP]
>
> * **Platform docs:** [docs.bronto.io/metrics/explore-metrics](https://docs.bronto.io/metrics/explore-metrics.md)
> * **API reference:** [docs.bronto.io/api-reference/metrics/retrieve-the-list-of-metrics-metadata-sent-to-bronto](https://docs.bronto.io/api-reference/metrics/retrieve-the-list-of-metrics-metadata-sent-to-bronto.md)

```sh theme={"dark"}
bronto metrics <command> [flags]
```

#### Subcommands

| Command | Description |
| - | - |
| [`bronto metrics get`](https://docs.bronto.io/cli/reference/commands/metrics#bronto-metrics-get) | Get a metric by ID |
| [`bronto metrics list`](https://docs.bronto.io/cli/reference/commands/metrics#bronto-metrics-list) | List metrics |
| [`bronto metrics top-keys`](https://docs.bronto.io/cli/reference/commands/metrics#bronto-metrics-top-keys) | List the attribute keys seen on a metric |

Also accepts the [global flags](https://docs.bronto.io/cli/reference/commands/global-flags.md).

## bronto metrics get

Get a metric by ID

```sh theme={"dark"}
bronto metrics get <id> [flags]
```

Also accepts the [global flags](https://docs.bronto.io/cli/reference/commands/global-flags.md).

#### Examples

```sh theme={"dark"}
bronto metrics get <id>
```

## bronto metrics list

List metrics

```sh theme={"dark"}
bronto metrics list [flags]
```

Also accepts the [global flags](https://docs.bronto.io/cli/reference/commands/global-flags.md).

#### Examples

```sh theme={"dark"}
bronto metrics list
```

## bronto metrics top-keys

List the attribute keys seen on a metric

```sh theme={"dark"}
bronto metrics top-keys <metric> [flags]
```

#### Flags

| Flag | Short | Type | Default | Description |
| - | - | - | - | - |
| `--since` | | string | `1h` | lookback window, e.g. 15m, 1h, or 1h30m |

Also accepts the [global flags](https://docs.bronto.io/cli/reference/commands/global-flags.md).

#### Examples

```sh theme={"dark"}
bronto metrics top-keys system.cpu.utilization --since 1h
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.