RunReveal

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.

MetricTypeLabelsDescription
detections_pendinggaugemanaged (true, false)Number of detections pending to run. managed separates RunReveal-managed detections from your own.
async_query_queue_depthgaugenoneNumber of pending async queries.
agent_task_queue_depthgaugestatus (pending, running)Total number of pending or running async agent tasks.
notification_delivery_queue_depthgaugechannel_typeNumber 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

MetricTypeLabelsDescription
schedule_queue_consumedcounterqueue_nameMessages successfully consumed from scheduler queues.

Errors

MetricTypeLabelsDescription
sentry_eventscounternoneNumber of events and transactions sent to Sentry.
logs_countcounterlevel (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:

On this page