Configure inhibit/silence rule for instance_size_dependent label before enabling azure_postgres_connections_high alert
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 7
- Forks
- 2
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 3
Description
Context
The azure_postgres_connections_high alert rule in python-pulumi/src/ptd/grafana_alerts/azure_postgres.yaml is currently paused (isPaused: true). It must remain paused until two conditions are met:
- An inhibit/silence rule for the
instance_size_dependent: "true"label is configured in Alertmanager/Grafana OnCall, so small-SKU Postgres instances don't produce false positives. - This tracking issue URL is recorded in the YAML comment.
What needs to be done
- Configure an inhibit/silence rule that suppresses alerts with
instance_size_dependent="true"for known small-SKU Postgres instances. - Once the inhibit rule is in place, update the
isPaused: truecomment inazure_postgres.yamlwith this issue URL and unpause the alert.
Related file
python-pulumi/src/ptd/grafana_alerts/azure_postgres.yaml, rule uid: azure_postgres_connections_high
A test in python-pulumi/tests/test_azure_alert_files.py guards against accidental unpausing.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with python-pulumi/src/ptd/grafana_alerts/azure_postgres.yaml and the rule with UID azure_postgres_connections_high, then review python-pulumi/tests/test_azure_alert_files.py. Configure the Alertmanager/Grafana OnCall suppression for instance_size_dependent="true", record this issue URL in the YAML comment, unpause the rule, and run the test to verify it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, grafana, postgresql, python
- Domain
- cloud, databases, observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100