Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 4 additions & 16 deletions charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,22 +111,10 @@ config:
with the charm. Empty string (default) keeps the shipped rules.

Use this to customise severities, thresholds and `for:` durations, or to add or remove
alerts. The value must be a valid Prometheus rules file with a top-level `groups` key.
For example:

groups:
- name: NovaCompute
rules:
- alert: NovaComputeDown
expr: openstack_nova_agent_state{adminState="enabled"} == 0
for: 2m
labels:
severity: critical
annotations:
summary: Nova Compute Agent Down

Warning: Changing this option reloads the alert rules in Prometheus.
Any currently firing alerts that are removed by the new rules will be canceled
alerts. The value must be a valid Prometheus rules file.

Warning: Changing this option reloads the alert rules in Prometheus.
Any currently firing alerts that are removed by the new rules will be canceled
and reported to Alert Manager as resolved.

charm-libs:
Expand Down
Loading