pub enum Route {
Show 28 variants
FunctionsTiming,
FunctionsAlloc,
FunctionsCpu,
FunctionsCpuSnapshot,
Threads,
FunctionTimingLogs {
function_id: u32,
},
FunctionAllocLogs {
function_id: u32,
},
Debug,
DebugDbgLogs {
id: u32,
},
DebugValLogs {
id: u32,
},
DebugGaugeLogs {
id: u32,
},
Channels,
ChannelLogs {
channel_id: u32,
},
Streams,
StreamLogs {
stream_id: u32,
},
Futures,
FutureLogs {
future_id: u32,
},
RwLocks,
Mutexes,
Sql,
SqlLogs {
sql_id: u32,
},
Http,
HttpLogs {
http_id: u32,
},
Server,
ServerLogs {
server_id: u32,
},
Io,
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
FunctionsCpu
GET /functions_cpu - Returns CPU snapshot envelope (status + last report)
FunctionsCpuSnapshot
POST /functions_cpu/snapshot - Triggers a new CPU snapshot capture
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
Channels
GET /channels - Returns channel statistics
ChannelLogs
GET /channels/{id}/logs - Returns logs for a specific channel
Streams
GET /streams - Returns stream statistics
StreamLogs
GET /streams/{id}/logs - Returns logs for a specific stream
Futures
GET /futures - Returns future statistics
FutureLogs
GET /futures/{id}/logs - Returns calls for a specific future
RwLocks
GET /rw_locks - Returns RwLock statistics
Mutexes
GET /mutexes - Returns Mutex statistics
Sql
GET /sql - Returns SQL query statistics
SqlLogs
GET /sql/{id}/logs - Returns recent executions for a SQL query
Http
GET /http - Returns HTTP endpoint statistics
HttpLogs
GET /http/{id}/logs - Returns recent requests for an HTTP endpoint
Server
GET /server - Returns HTTP server per-route statistics
ServerLogs
GET /server/{id}/logs - Returns recent requests for a server route
Io
GET /io - Returns byte-level I/O statistics
TokioRuntime
GET /tokio_runtime - Returns Tokio runtime metrics snapshot
ProfilerStatus
GET /profiler_status - Returns profiler uptime