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

# Metrics

> Definitions for all real-time Semantik metrics.

Semantik exposes six metrics that reflect live broker activity. They are delivered via a server-sent events stream and displayed on the [Semantik dashboard](/references/semantik/dashboard).

## Metric definitions

### Sent

Messages successfully published to the Semantik broker.

| Window | Description                           |
| ------ | ------------------------------------- |
| /sec   | Messages published in the last second |
| /min   | Messages published in the last minute |
| /hr    | Messages published in the last hour   |

### Delivered

Messages matched by at least one active subscription and delivered to a subscriber.

| Window | Description                   |
| ------ | ----------------------------- |
| /sec   | Deliveries in the last second |
| /min   | Deliveries in the last minute |
| /hr    | Deliveries in the last hour   |

A message is counted as delivered once per matching subscription. If two subscribers match the same message, it counts as two deliveries.

### Bandwidth

Total data transferred through the broker (publish + delivery payloads combined).

| Window | Description                          |
| ------ | ------------------------------------ |
| /sec   | Bytes transferred in the last second |
| /min   | Bytes transferred in the last minute |
| /hr    | Bytes transferred in the last hour   |

### Errors

Failed publish or delivery operations.

| Window     | Description                          |
| ---------- | ------------------------------------ |
| /sec       | Errors in the last second            |
| Today      | Errors since midnight UTC            |
| This week  | Errors in the current calendar week  |
| This month | Errors in the current calendar month |

### Subscriptions

The number of active SemQL subscriptions registered with the broker at this moment. Each unique subscription query from a connected agent counts as one subscription.

### Subscribers

The number of agents currently connected to the broker. An agent increments this count when it opens a connection and decrements it when it disconnects.

## SSE stream

Metric data is delivered via server-sent events at `GET /semantik/events`. Authentication is required. The stream emits updates on each broker tick and closes after 120 seconds of inactivity — clients should reconnect automatically.

The dashboard reconnects transparently; no manual action is needed.
