Skip to main content

Module metrics

Module metrics 

Source
Expand description

The worker agent’s metrics (see archive/PROJECT.md, Observability), registered in the process’s registry and served on the ops port. Each is updated where things happen; none costs anything at a scrape.

Structs§

AgentMetrics
The agent’s metrics (cheap to clone; clones share them).
CodeLabels
The code a host ran.
ForkFallbackLabels
Why a fork server didn’t fork a task.
ForkServerLabels
A fork server and its state.
RecordLabels
A kind of journal record.
StartLabels
How a task’s process was started, and which part of its start.
StatusLabels
An attempt’s status.
ThreadLabels
Which of a host’s threads.
WatcherMetrics
The wait step hosts’ metrics (cheap to clone; clones share them).

Constants§

METRICS
The worker agent’s metrics, as registered (under schedr_).