Application Metrics

EventNative supports Prometheus as a metrics destination. It uses the official Go client library. Metrics are available under /prometheus?token=$admin_token endpoint with admin token authorization. In addition, this library collects system metrics. It's suitable to use the official Grafana dashboard template for monitoring them.

Configuration

By default metrics collection is disabled. For enabling it put the following keys in EventNative YAML configuration:

server:
admin_token: your_admin_token
metrics:
prometheus.enabled: true

Application metrics

Name

Type

Labels

Description

eventnative.destinations.events

Counter

source_id, destination_id

Amount of successful written events

eventnative.destinations.errors

Counter

source_id, destination_id

Amount of failed events

Labels

Label

Description

source_id

Source identifier. For events, it's API key identifier from server.auth[].id from config with token_ prefix.

destination_id

Destination id from destinations map

‚Äč