# Alerts for the alert-to-pubsub service.
groups:
- name: general
  rules:

# alert-to-pubsub
  - alert: AlertToPubSub
    expr: rate(pubsub_send_failure[5m]) > 1/(5*60)
    labels:
      category: infra
      severity: critical
    annotations:
      abbr: 'skia-public'
      description: 'Failed to send alert via PubSub. https://console.cloud.google.com/logs/viewer?project=skia-public&advancedFilter=logName%3D"projects%2Fskia-public%2Flogs%2F{{ $labels.job }}"'

# Alerts for the alert-to-pubsub service.
groups:
- name: general
  rules:

# alert-to-pubsub
  - alert: AlertToPubSub
    expr: rate(pubsub_send_failure[5m]) > 1/(5*60)
    labels:
      category: infra
      severity: critical
    annotations:
      abbr: '{{ $labels.project }}'
      description: 'Failed to send alert via PubSub. https://console.cloud.google.com/logs/viewer?project={{ $labels.project }}&minLogLevel=200&interval=PT1H&resource=container&logName=projects%2F{{ $labels.project }}%2Flogs%2F{{ $labels.app }}'

Fix AlertToPubSub alert for corp
Fix AlertToPubSub alert for corp

Change-Id: I691f193d2878c990a55eede4b2c80aadb86d9ab2
Reviewed-on: https://skia-review.googlesource.com/c/buildbot/+/209004
Reviewed-by: Kevin Lubick <7cdab2cfab351f23814786ba39716e90eed69047@google.com>
Commit-Queue: Ben Wagner aka dogben <3ef7217be91069877d94f7907ce5479000772cd3@google.com>
