This is a Jitsu.Classic documentation. For the lastest version, please visit docs.jitsu.com. Read about differences here.
Application Metrics
Jitsu 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
(see how to configure admin_token). 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 Jitsu YAML configuration:
server:
admin_token: your_admin_token
metrics:
prometheus:
enabled: true
auth: true
endpoint: prometheus
destinations:
...
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 |