> ## 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)
  * **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)
</Tip>

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

#### Subcommands

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

Also accepts the [global flags](/cli/reference/commands/global-flags).

## bronto metrics get

Get a metric by ID

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

Also accepts the [global flags](/cli/reference/commands/global-flags).

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

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

#### 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.