Overview
FERAL exposes operational metrics across all major subsystems. Metrics work in two modes:- In-memory counters (always available, zero dependencies)
- OpenTelemetry SDK (when
opentelemetry-sdkis installed) — exports to any OTLP-compatible backend
Enable Prometheus Scraping
scrape_configs:
Export to OTLP (Grafana Cloud, Honeycomb, etc.)
Install the OpenTelemetry extras:Metrics Reference
LLM
| Metric | Type | Labels | Description |
|---|---|---|---|
feral.llm.calls_total | Counter | provider, model | Total LLM API calls |
feral.llm.errors_total | Counter | provider, model | Failed LLM API calls |
feral.llm.latency_ms | Histogram | provider, model | LLM call latency in ms |
Channels
| Metric | Type | Labels | Description |
|---|---|---|---|
feral.channel.message_total | Counter | channel, direction | Messages sent/received per channel |
Proactive Engine
| Metric | Type | Labels | Description |
|---|---|---|---|
feral.proactive.trigger_total | Counter | trigger | Proactive triggers fired |
Skills
| Metric | Type | Labels | Description |
|---|---|---|---|
feral.skill.invocations_total | Counter | skill, endpoint | Skill endpoint invocations |
feral.skill.exec_latency_ms | Histogram | skill, endpoint | Skill execution latency in ms |
