Metrics

Metrics provides a query API to aggregate platform activity over time. It is designed for dashboards and reporting use cases where you want to understand delivery health, track throughput, and identify issues quickly.

Use metrics to answer questions like:

  • How many events are being published over time?
  • Which topics generate the most traffic?
  • What is our delivery success rate?
  • Are errors increasing for a specific destination?
  • Which status codes are causing the most failed attempts?

Metrics Scope

Outpost exposes two metrics datasets:

  • Event metrics: volume and distribution of published events.
  • Attempt metrics: delivery outcomes and retry behavior per destination attempt.

Both datasets support time-window queries and can be grouped by dimensions to power charts and tables in your UI.

Available Measures

Each dataset supports a specific set of measures values.

Event metrics measures

MeasureDescription
countTotal number of events in the selected bucket/window.
rateEvent throughput (events per second) in the selected bucket/window.

Attempt metrics measures

MeasureDescription
countTotal number of delivery attempts.
successful_countNumber of successful delivery attempts.
failed_countNumber of failed delivery attempts.
error_rateFraction of attempts that failed (failed_count / count).
first_attempt_countNumber of first attempts (attempt_number = 1).
retry_countNumber of retry attempts (attempt_number > 1).
manual_retry_countNumber of manually triggered retry attempts.
avg_attempt_numberAverage attempt number across matching attempts.
rateAttempt throughput (attempts per second).
successful_rateSuccessful attempt throughput (successful attempts per second).
failed_rateFailed attempt throughput (failed attempts per second).

Available Dimensions and Filters

Dimensions and filters let you break down and narrow metric queries.

Event metrics

Common grouping/filtering dimensions include:

  • topic
  • destination_id
  • tenant_id

This makes it easy to compare traffic by topic, destination, or tenant over a selected period.

Attempt metrics

Common grouping/filtering dimensions include:

  • destination_id
  • topic
  • status
  • code
  • manual
  • attempt_number
  • tenant_id

This gives visibility into delivery quality, such as success/failure split, error class distribution, and retry patterns.

API Reference

This page covers concepts and capabilities. For exact request/response schemas, parameters, and examples, use the API reference: