stormlog.telemetry_classification
Shared classification helpers for canonical telemetry events.
Functions
|
Return a normalized backend dimension for grouping. |
|
Return a normalized severity for alert and marker grouping. |
|
Return whether a telemetry event should be counted as an alert. |
Return whether an event indicates collector degradation. |
|
|
Return whether an error telemetry event carries OOM marker metadata. |
Classes
|
Telemetry fields required by shared classification helpers. |
- stormlog.telemetry_classification.event_backend(event)[source]
Return a normalized backend dimension for grouping.
- Parameters:
event (TelemetryClassifiable)
- Return type:
str
- stormlog.telemetry_classification.event_severity(event)[source]
Return a normalized severity for alert and marker grouping.
- Parameters:
event (TelemetryClassifiable)
- Return type:
str
- stormlog.telemetry_classification.is_alert_event(event)[source]
Return whether a telemetry event should be counted as an alert.
- Parameters:
event (TelemetryClassifiable)
- Return type:
bool