---

- type: replace
  path: /instance_groups/name=prometheus2/jobs/name=prometheus2/properties/prometheus/custom_rules?/-
  value:
    name: ExchangeRatesDrifting
    rules:
      - alert: ExchangeRatesDrifting_Critical
        expr: "paas_currency_real_ratio > paas_currency_configured_ratio"
        for: 12h
        labels:
          severity: critical
        annotations:
          summary: "Exchange rate for {{ $labels.currency }} has drifted"
          description: "The real exchange rate for {{ $labels.currency }} has drifted from the configured rate, we are at risk of undercharging."

Add alert: risk of undercharging b/c exchange rate
Add alert: risk of undercharging b/c exchange rate

Signed-off-by: Toby Lorne <527052641d65eef236eeef9545b2acac74c35d57@digital.cabinet-office.gov.uk>
