Metrics, logs and tracing
Prometheus metrics
GET /metrics on API and all-in-one processes returns Prometheus text format.
| Metric | Type | Labels | Meaning |
|---|---|---|---|
tappet_executions_total | counter | status, mode | Finished executions by final status (success, error, canceled) and mode (manual, trigger, webhook, retry, sub) |
tappet_execution_duration_seconds | histogram | Execution wall time | |
tappet_node_duration_seconds | histogram | node_type | Node run time by node type |
tappet_queue_depth | gauge | Executions waiting to be claimed | |
tappet_workers_busy | gauge | Executions currently running in this process | |
tappet_webhook_requests_total | counter | status | Webhook requests by response status |
tappet_oauth_refresh_total | counter | result | OAuth2 token refreshes by outcome |
tappet_rss_bytes | gauge | Resident memory of the process | |
tappet_js_evals_total | counter | Expression and Code evaluations | |
tappet_spill_bytes | gauge | Bytes currently in the spill store |
Scrape API processes directly (not through the public proxy). With the Prometheus Operator, enable
the Helm chart’s serviceMonitor.
Suggested alerts
groups:
- name: tappet
rules:
- alert: TappetDown
expr: up{job="tappet"} == 0
for: 2m
- alert: TappetQueueGrowing
expr: min_over_time(tappet_queue_depth[15m]) > 1000 and deriv(tappet_queue_depth[15m]) > 0
for: 15m
annotations:
summary: Executions are queuing faster than workers drain them. Add workers.
- alert: TappetExecutionErrorRate
expr: |
sum(rate(tappet_executions_total{status="error"}[15m]))
/ sum(rate(tappet_executions_total[15m])) > 0.1
for: 15m
- alert: TappetWebhook5xx
expr: sum(rate(tappet_webhook_requests_total{status=~"5.."}[5m])) > 0
for: 10m
annotations:
summary: Webhooks are being rejected (queue full or errors). Check queue depth and disk.
- alert: TappetOAuthRefreshFailing
expr: increase(tappet_oauth_refresh_total{result!="success"}[1h]) > 0 # adjust to the result values your version exports
annotations:
summary: A credential needs to be reconnected.
Logs
Tappet logs with tracing. Configure with:
| Variable | Values |
|---|---|
TAPPET_LOG_FORMAT | text (default, human readable) or json (one object per line) |
TAPPET_LOG_LEVEL | A filter directive, for example info, warn,tappet_runtime=debug |
Execution-related log lines carry the execution ID, workflow ID and node name as fields, so you can follow one execution across processes. Secrets are redacted before logs are written.
console.log output from Code nodes goes to the execution’s own log (visible in the execution
view), not to the process log.
Tracing
Builds with the otel feature export OpenTelemetry traces over OTLP:
TAPPET_OTEL_ENDPOINT=http://otel-collector:4317
TAPPET_OTEL_SERVICE_NAME=tappet
Spans cover webhook handling, queueing, each execution, each node run, outbound HTTP requests (method, host, status, never credentials), database calls and LLM calls (with token counts).
Live execution events
The editor’s live overlay uses Server-Sent Events (/api/v1/executions/{id}/stream). You can use
the same stream for your own dashboards; see HTTP API.
LLM usage
Token counts and estimated cost for every LLM call are stored with the node run, visible in the execution view and through the executions API, so you can attribute model spend to workflows.