posit-dev / posit-dev/ptd

Configure inhibit/silence rule for instance_size_dependent label before enabling azure_postgres_connections_high alert

Open
#148 0 comments 0 reactions 0 assignees View on GitHub

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:

  1. 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.
  2. 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: true comment in azure_postgres.yaml with 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.