Expand description
Pure utility functions shared across Dashboard methods.
All functions are deterministic and side-effect-free, making them straightforward to unit-test and reuse outside the dashboard impl.
Functionsยง
- generate_
alert_ id - Generate a new UUID v4 string for use as an alert identifier.
- generate_
span_ id - Generate a new UUID v4 string for use as a span identifier.
- generate_
trace_ id - Generate a new UUID v4 string for use as a trace identifier.
- get_
cpu_ usage - Current process CPU usage percentage (stub: returns 25.0 until real platform metrics are wired).
- get_
memory_ usage - Current process memory usage in MB (stub: returns 100.0 until real platform metrics are wired).
- metric_
type_ name - Human-readable display name for a
MetricTypevariant.