Expand description
Some basic internal monitoring tooling Copper uses to monitor itself and the components it runs.
Structs§
- Component
Id - Strongly-typed index into
CuMonitoringMetadata::components. - Copper
List Entry - One message entry in CopperList slot order with resolved component identity.
- Copper
List Info - Copper
List IoStats - Reported data about CopperList IO for a single iteration.
- Copper
List Layout - Static monitor-side CopperList indexing layout.
- Copper
List View - Per-loop monitor view over CopperList metadata paired with static component mapping.
- Counting
Alloc - A simple allocator that counts the number of bytes allocated and deallocated.
- CuDuration
Statistics - A Specialized statistics object for CuDuration. It will also keep track of the jitter between the values.
- CuList
Slot - Strongly-typed CopperList slot index.
- CuMonitoring
Metadata - Immutable runtime-provided metadata passed once to
CuMonitor::new. - CuMonitoring
Runtime - Runtime-provided dynamic monitoring handles passed once to
CuMonitor::new. - Execution
Marker - Execution progress marker emitted by the runtime before running a component step.
- Live
Statistics - Accumulative stat object that can give your some real time statistics. Uses a fixed-size bucketed histogram for accurate percentile calculations.
- Monitor
Component Metadata - Static identity entry for one monitored runtime component.
- Monitor
Connection - Monitor
Execution Probe - Platform-neutral monitor view of runtime execution progress.
- Monitor
Node - Monitor
Topology - NoMonitor
- A do nothing monitor if no monitor is provided. This is basically defining the default behavior of Copper in case of error.
- Runtime
Execution Probe - Lock-free runtime-side progress probe.
Enums§
- Component
Type - Runtime component category used by monitoring metadata and topology.
- CuComponent
State - Lifecycle state of a monitored component.
- Decision
- Monitor decision to be taken when a component step errored out.
Traits§
- CuMonitor
- Runtime monitoring contract implemented by monitor components.
- CuPayload
Size - Lightweight trait to estimate the amount of data a payload will contribute when serialized. Default implementations return the stack size; specific types override to report dynamic data.
Functions§
- build_
monitor_ topology - Derive a monitor-friendly topology from the runtime configuration.
- panic_
payload_ to_ string