Skip to main content

Module telemetry

Module telemetry 

Source

Structsยง

DeployEventIter
An iterator over the variants of DeployEvent
McpErrorTypeIter
An iterator over the variants of McpErrorType
McpToolIter
An iterator over the variants of McpTool

Enumsยง

DeployEvent
McpErrorType
McpTool

Constantsยง

CHUNKS_ASSIGNED ๐Ÿ”’
CHUNKS_COMPLETED ๐Ÿ”’
CHUNKS_FAILED ๐Ÿ”’
CHUNKS_PENDING ๐Ÿ”’
CHUNKS_RECLAIMED ๐Ÿ”’
CHUNKS_RUNNING ๐Ÿ”’
MCP_ERRORS ๐Ÿ”’
MCP_QUERY_ROWS ๐Ÿ”’
MCP_REQUESTS ๐Ÿ”’
MCP_REQUEST_DURATION ๐Ÿ”’
NODES_MARKED_OFFLINE ๐Ÿ”’
NODES_ONLINE ๐Ÿ”’
Histogram: chunk duration from assign to complete, in seconds. Histogram: time waiting on the per-job row lock during chunk completion.
PRESENCE_POLLS ๐Ÿ”’
UPTIME_SECONDS ๐Ÿ”’
WEBHOOKS_RECEIVED ๐Ÿ”’

Functionsยง

init ๐Ÿ”’
Initialize all sentinel metrics with default zero values so they appear in /metrics.
init_counters ๐Ÿ”’
init_gauges ๐Ÿ”’
init_mcp_counters ๐Ÿ”’
init_running_chunks_gauge ๐Ÿ”’
init_webhook_counters ๐Ÿ”’
record_deploy_webhook ๐Ÿ”’
record_mcp_duration ๐Ÿ”’
record_mcp_error ๐Ÿ”’
record_mcp_query_rows ๐Ÿ”’
record_mcp_request ๐Ÿ”’