pub enum Route {
Show 15 variants
FunctionsTiming,
FunctionsAlloc,
Threads,
FunctionTimingLogs {
function_id: u32,
},
FunctionAllocLogs {
function_id: u32,
},
Debug,
DebugDbgLogs {
id: u32,
},
DebugValLogs {
id: u32,
},
DebugGaugeLogs {
id: u32,
},
DataFlow,
DataFlowChannelLogs {
channel_id: u32,
},
DataFlowStreamLogs {
stream_id: u32,
},
DataFlowFutureLogs {
future_id: u32,
},
TokioRuntime,
ProfilerStatus,
}Expand description
HTTP routes for the hotpath metrics server.
Variants§
FunctionsTiming
GET /functions_timing - Returns timing metrics for all functions
FunctionsAlloc
GET /functions_alloc - Returns allocation metrics for all functions
Threads
GET /threads - Returns thread metrics
FunctionTimingLogs
GET /functions_timing/{id}/logs - Returns timing logs for a function
FunctionAllocLogs
GET /functions_alloc/{id}/logs - Returns allocation logs for a function
Debug
GET /debug - Returns all debug log statistics
DebugDbgLogs
GET /debug/dbg/{id}/logs - Returns logs for a dbg! entry
DebugValLogs
GET /debug/val/{id}/logs - Returns logs for a val! entry
DebugGaugeLogs
GET /debug/gauge/{id}/logs - Returns logs for a gauge! entry
DataFlow
GET /data_flow - Returns unified channels, streams, and futures statistics
DataFlowChannelLogs
GET /data_flow/channel/{id}/logs - Returns logs for a specific channel
DataFlowStreamLogs
GET /data_flow/stream/{id}/logs - Returns logs for a specific stream
DataFlowFutureLogs
GET /data_flow/future/{id}/logs - Returns calls for a specific future
TokioRuntime
GET /tokio_runtime - Returns Tokio runtime metrics snapshot
ProfilerStatus
GET /profiler_status - Returns profiler uptime