pub enum Route {
FunctionsTiming,
FunctionsAlloc,
Channels,
Streams,
Threads,
FunctionTimingLogs {
function_name: String,
},
FunctionAllocLogs {
function_name: String,
},
ChannelLogs {
channel_id: u64,
},
StreamLogs {
stream_id: u64,
},
}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
Channels
GET /channels - Returns all channel statistics
Streams
GET /streams - Returns all stream statistics
Threads
GET /threads - Returns thread metrics
FunctionTimingLogs
GET /functions_timing/{base64_name}/logs - Returns timing logs for a function
FunctionAllocLogs
GET /functions_alloc/{base64_name}/logs - Returns allocation logs for a function
ChannelLogs
GET /channels/{id}/logs - Returns logs for a specific channel
StreamLogs
GET /streams/{id}/logs - Returns logs for a specific stream
Implementations§
Trait Implementations§
impl Eq for Route
impl StructuralPartialEq for Route
Auto Trait Implementations§
impl Freeze for Route
impl RefUnwindSafe for Route
impl Send for Route
impl Sync for Route
impl Unpin for Route
impl UnwindSafe for Route
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more