Skip to main content
Semantik exposes six metrics that reflect live broker activity. They are delivered via a server-sent events stream and displayed on the Semantik dashboard.

Metric definitions

Sent

Messages successfully published to the Semantik broker.
WindowDescription
/secMessages published in the last second
/minMessages published in the last minute
/hrMessages published in the last hour

Delivered

Messages matched by at least one active subscription and delivered to a subscriber.
WindowDescription
/secDeliveries in the last second
/minDeliveries in the last minute
/hrDeliveries 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).
WindowDescription
/secBytes transferred in the last second
/minBytes transferred in the last minute
/hrBytes transferred in the last hour

Errors

Failed publish or delivery operations.
WindowDescription
/secErrors in the last second
TodayErrors since midnight UTC
This weekErrors in the current calendar week
This monthErrors 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.