RRSCH Metrics
RRSCH exposes these metrics on /metrics when schedule.pprof is set. See Monitoring for how to enable and scrape them.
Queue depth
Gauges that show how much work is waiting. A value that keeps growing means RRSCH isn't keeping up. Check the parallelism, fetchCount, and timer options of the matching scheduler in Scheduler Types.
| Metric | Type | Labels | Description |
|---|---|---|---|
detections_pending | gauge | managed (true, false) | Number of detections pending to run. managed separates RunReveal-managed detections from your own. |
async_query_queue_depth | gauge | none | Number of pending async queries. |
agent_task_queue_depth | gauge | status (pending, running) | Total number of pending or running async agent tasks. |
notification_delivery_queue_depth | gauge | channel_type | Number of pending notification deliveries by channel type. |
channel_type takes one value per notification channel: discord, email, gchat, incidentio, jira, linear, pagerduty, runreveal_investigation, slack, slackbot, sns, sqs, victorops, and webhook.
Throughput
| Metric | Type | Labels | Description |
|---|---|---|---|
schedule_queue_consumed | counter | queue_name | Messages successfully consumed from scheduler queues. |
Errors
| Metric | Type | Labels | Description |
|---|---|---|---|
sentry_events | counter | none | Number of events and transactions sent to Sentry. |
logs_count | counter | level (for example INFO, WARN, ERROR) | Number of log lines written, by level. |
Standard Go and process metrics
The endpoint also serves the standard go_* and process_* metrics, such as goroutine counts, memory use, GC activity, CPU time, and open file descriptors. They aren't listed here. See the public documentation:
- Go collector (
go_*) - Process collector (
process_*) - Go
runtime/metrics, the source of the runtime values behindgo_*