Skip to content

Commit

Permalink
Fjernet spec.receivers, som ihht. dok er unødvendig.
Browse files Browse the repository at this point in the history
  • Loading branch information
rfc3092 committed Oct 5, 2023
1 parent 8ff0500 commit c6acd13
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .nais/alerting-dolly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ metadata:
labels:
team: dolly
spec:
receivers:
- name: 'dolly-alerts'
slackConfigs:
channel: "#dolly-alerts"
icon_emoji: ':dolly-panic:'
groups:
- name: dolly-alerts
rules:
Expand All @@ -34,7 +29,7 @@ spec:
annotations:
summary: 'Applikasjonen *{{ $labels.app }}* har hatt mer enn 1 ERRORs i loggen i løpet av de siste 15 minuttene.'
action: |
Alertmanager: '<https://alertmanager.dev-gcp.nav.cloud.nais.io/#/alerts?silenced=false&inhibited=false&active=true&filter=%7Balertname%3D%22dolly-log-errors%22%2C%20app%3D%22{{ $labels.app }}%22%7D&customGrouping=true|Link>'
Alertmanager: <https://alertmanager.dev-gcp.nav.cloud.nais.io/#/alerts?silenced=false&inhibited=false&active=true&filter=%7Balertname%3D%22dolly-log-errors%22%2C%20app%3D%22{{ $labels.app }}%22%7D&customGrouping=true|Link>
Events: `kubectl describe pod -l app={{ $labels.app }}`
Logger: `kubectl logs -l app={{ $labels.app }}`
Kibana: <https://logs.adeo.no/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:60000),time:(from:now-30m,to:now))&_a=(columns:!(level,message,envclass,application,pod),filters:!(),grid:(columns:(x_WorkerID:(width:325))),index:'96e648c0-980a-11e9-830a-e17bbd64b4db',interval:auto,query:(language:kuery,query:'namespace:%20%22dolly%22%20AND%20level:%20%22Error%22%20AND%20application:%20%22{{ $labels.app }}%22'),sort:!(!('@timestamp',desc)))|Link>
Expand Down

0 comments on commit c6acd13

Please sign in to comment.