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

# PrometheusOptions

> Interface exported by @botmesh/core.

Defined in: [ops/prometheus.ts:14](https://github.com/andresayac/botmesh/blob/main/packages/core/src/ops/prometheus.ts#L14)

Options of [toPrometheus](https://botmesh.afaya.com.co/api/core/functions/toPrometheus.md).

## Properties

### prefix?

```ts theme={null}
prefix?: string;
```

Defined in: [ops/prometheus.ts:19](https://github.com/andresayac/botmesh/blob/main/packages/core/src/ops/prometheus.ts#L19)

Metric name prefix (default `'botmesh_'`). Must match `[a-zA-Z_:][a-zA-Z0-9_:]*`.
Pass `'botwa_'` to keep the names of the alpha releases (dashboards, alerts).

***

### labels?

```ts theme={null}
labels?: Record<string, string>;
```

Defined in: [ops/prometheus.ts:21](https://github.com/andresayac/botmesh/blob/main/packages/core/src/ops/prometheus.ts#L21)

Constant labels added to every sample, e.g. `{ bot: 'ventas' }`.


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