# manage-runners metrics create

> Create a named Metrics connection; header values come from environment variables, stdin or a prompt

Source: https://managerunners.com/docs/cli/reference/metrics-create/

| | |
| --- | --- |
| Required scopes | `runners:write` |
| Required flags | none |
| Changes state | yes |
| Destructive | no |
| Paid resource effect | none |
| Confirmation | none |
| Non-interactive use | supported |

## Usage

```text
Create a named Metrics connection; header values come from environment variables, stdin or a prompt

Usage:
  manage-runners metrics create [flags]

Flags:
      --endpoint string          OTLP/HTTP base endpoint (https://...); /v1/metrics is appended
      --header stringArray       send header NAME, keeping its stored value or prompting for it; repeatable
      --header-env stringArray   send header NAME=VAR with the value of environment variable VAR; repeatable
      --header-stdin string      send header NAME with the value read from stdin
      --name string              connection name, unique in the organization
      --profile string           configuration profile
```

Every command also accepts the [global flags](https://managerunners.com/docs/cli/reference/#global-flags). For machine-readable help, run `manage-runners help metrics create --output json`.
