-
Notifications
You must be signed in to change notification settings - Fork 327
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR updates the in-repo dashboards to the latest version and adds alerting rules. A new secret is added to Gcloud to hold the webhook URL for a Slack channel where we want alerts to fire to. One thing that needs to kept in mind if editing the rules is that Grafana templates need to be escaped otherwise Helm will try to execute them and fail (use `` {{ ` escaped content {{ $some_grafan_var }} ` }}``)
- Loading branch information
Showing
13 changed files
with
2,075 additions
and
3,514 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: 1 | ||
contactPoints: | ||
- orgId: 1 | ||
name: 'Slack #network-alerts channel' | ||
receivers: | ||
- uid: deexubp9hzpc1b | ||
type: slack | ||
settings: | ||
url: $SLACK_WEBHOOK_URL | ||
disableResolveMessage: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: 1 | ||
policies: | ||
- orgId: 1 | ||
receiver: 'Slack #network-alerts channel' | ||
object_matchers: | ||
- - k8s_namespace_name | ||
- =~ | ||
- $PRODUCTION_NAMESPACES_REGEX | ||
group_by: | ||
- grafana_folder | ||
- alertname |
Oops, something went wrong.