Description
Implement the first backend slice of #8066 for service health
alerting: export systemd service state metrics from NethVoice components and
raise an alert when a monitored service unit is in failed state.
This sub-issue is intentionally limited to NethVoice and NethVoice Proxy
modules. The same pattern can later be generalized to all modules that publish
systemd unit state metrics with compatible labels.
Scope
- Expose systemd service state metrics from NethVoice components.
- Cover both
nethvoice[0-9]* and nethvoice-proxy[0-9]* module IDs.
- Add a built-in
SystemdUnitFailed alert in ns8-metrics for failed service
units.
- Forward the alert through
alert-proxy with a stable alert identifier.
- Provide automated coverage that verifies Prometheus loads the rule.
Acceptance criteria
- NethVoice and NethVoice Proxy publish
systemd_unit_state metrics for their
service units.
ns8-metrics generates a built-in alert for failed systemd services matching
NethVoice and NethVoice Proxy module IDs.
- Alert annotations clearly identify the failed unit, module ID, and node.
alert-proxy maps the alert to the portal notification flow.
- CI validates image publication and module tests.
References
Description
Implement the first backend slice of #8066 for service health
alerting: export systemd service state metrics from NethVoice components and
raise an alert when a monitored service unit is in
failedstate.This sub-issue is intentionally limited to NethVoice and NethVoice Proxy
modules. The same pattern can later be generalized to all modules that publish
systemd unit state metrics with compatible labels.
Scope
nethvoice[0-9]*andnethvoice-proxy[0-9]*module IDs.SystemdUnitFailedalert inns8-metricsfor failed serviceunits.
alert-proxywith a stable alert identifier.Acceptance criteria
systemd_unit_statemetrics for theirservice units.
ns8-metricsgenerates a built-in alert for failed systemd services matchingNethVoice and NethVoice Proxy module IDs.
alert-proxymaps the alert to the portal notification flow.References