@@ -514,33 +514,33 @@ alertmanager:
514
514
515
515
# -- (string) If this one defined, it will be used for alertmanager configuration and config parameter will be ignored
516
516
configSecret : " "
517
+ # -- enable storing .Values.alertmanager.config in VMAlertmanagerConfig instead of k8s Secret
518
+ useManagedConfig : false
517
519
# -- (object) Alertmanager configuration
518
520
config :
519
- templates :
520
- - " /etc/vm/configs/**/*.tmpl"
521
521
route :
522
- # group_by: ["alertgroup", "job"]
523
- # group_wait: 30s
524
- # group_interval: 5m
525
- # repeat_interval: 12h
526
522
receiver : " blackhole"
527
- # # routes:
528
- # ##################################################
529
- # # Duplicate code_owner routes to teams
530
- # # These will send alerts to team channels but continue
531
- # # processing through the rest of the tree to handled by on-call
532
- # - matchers:
533
- # - code_owner_channel!=""
534
- # - severity=~"info|warning|critical"
535
- # group_by: ["code_owner_channel", "alertgroup", "job"]
536
- # receiver: slack-code-owners
537
- # ###################################################
538
- # ## Standard on-call routes
539
- # - matchers:
540
- # - severity=~"info|warning|critical"
541
- # receiver: slack-monitoring
542
- # continue: true
543
-
523
+ # group_by: ["alertgroup", "job"]
524
+ # group_wait: 30s
525
+ # group_interval: 5m
526
+ # repeat_interval: 12h
527
+ # routes:
528
+ #
529
+ # # Duplicate code_owner routes to teams
530
+ # # These will send alerts to team channels but continue
531
+ # # processing through the rest of the tree to handled by on-call
532
+ # - matchers:
533
+ # - code_owner_channel!=""
534
+ # - severity=~"info|warning|critical"
535
+ # group_by: ["code_owner_channel", "alertgroup", "job"]
536
+ # receiver: slack-code-owners
537
+ #
538
+ # # Standard on-call routes
539
+ # - matchers:
540
+ # - severity=~"info|warning|critical"
541
+ # receiver: slack-monitoring
542
+ # continue: true
543
+ #
544
544
# inhibit_rules:
545
545
# - target_matchers:
546
546
# - severity=~"warning|info"
@@ -568,55 +568,55 @@ alertmanager:
568
568
569
569
receivers :
570
570
- name : blackhole
571
- # - name: "slack-monitoring"
572
- # slack_configs:
573
- # - channel: "#channel"
574
- # send_resolved: true
575
- # title: '{{ template "slack.monzo.title" . }}'
576
- # icon_emoji: '{{ template "slack.monzo.icon_emoji" . }}'
577
- # color: '{{ template "slack.monzo.color" . }}'
578
- # text: '{{ template "slack.monzo.text" . }}'
579
- # actions:
580
- # - type: button
581
- # text: "Runbook :green_book:"
582
- # url: "{{ (index .Alerts 0).Annotations.runbook_url }}"
583
- # - type: button
584
- # text: "Query :mag:"
585
- # url: "{{ (index .Alerts 0).GeneratorURL }}"
586
- # - type: button
587
- # text: "Dashboard :grafana:"
588
- # url: "{{ (index .Alerts 0).Annotations.dashboard }}"
589
- # - type: button
590
- # text: "Silence :no_bell:"
591
- # url: '{{ template "__alert_silence_link" . }}'
592
- # - type: button
593
- # text: '{{ template "slack.monzo.link_button_text" . }}'
594
- # url: "{{ .CommonAnnotations.link_url }}"
595
- # - name: slack-code-owners
596
- # slack_configs:
597
- # - channel: "#{{ .CommonLabels.code_owner_channel }}"
598
- # send_resolved: true
599
- # title: '{{ template "slack.monzo.title" . }}'
600
- # icon_emoji: '{{ template "slack.monzo.icon_emoji" . }}'
601
- # color: '{{ template "slack.monzo.color" . }}'
602
- # text: '{{ template "slack.monzo.text" . }}'
603
- # actions:
604
- # - type: button
605
- # text: "Runbook :green_book:"
606
- # url: "{{ (index .Alerts 0).Annotations.runbook }}"
607
- # - type: button
608
- # text: "Query :mag:"
609
- # url: "{{ (index .Alerts 0).GeneratorURL }}"
610
- # - type: button
611
- # text: "Dashboard :grafana:"
612
- # url: "{{ (index .Alerts 0).Annotations.dashboard }}"
613
- # - type: button
614
- # text: "Silence :no_bell:"
615
- # url: '{{ template "__alert_silence_link" . }}'
616
- # - type: button
617
- # text: '{{ template "slack.monzo.link_button_text" . }}'
618
- # url: "{{ .CommonAnnotations.link_url }}"
619
- #
571
+ # - name: "slack-monitoring"
572
+ # slack_configs:
573
+ # - channel: "#channel"
574
+ # send_resolved: true
575
+ # title: '{{ template "slack.monzo.title" . }}'
576
+ # icon_emoji: '{{ template "slack.monzo.icon_emoji" . }}'
577
+ # color: '{{ template "slack.monzo.color" . }}'
578
+ # text: '{{ template "slack.monzo.text" . }}'
579
+ # actions:
580
+ # - type: button
581
+ # text: "Runbook :green_book:"
582
+ # url: "{{ (index .Alerts 0).Annotations.runbook_url }}"
583
+ # - type: button
584
+ # text: "Query :mag:"
585
+ # url: "{{ (index .Alerts 0).GeneratorURL }}"
586
+ # - type: button
587
+ # text: "Dashboard :grafana:"
588
+ # url: "{{ (index .Alerts 0).Annotations.dashboard }}"
589
+ # - type: button
590
+ # text: "Silence :no_bell:"
591
+ # url: '{{ template "__alert_silence_link" . }}'
592
+ # - type: button
593
+ # text: '{{ template "slack.monzo.link_button_text" . }}'
594
+ # url: "{{ .CommonAnnotations.link_url }}"
595
+ # - name: slack-code-owners
596
+ # slack_configs:
597
+ # - channel: "#{{ .CommonLabels.code_owner_channel }}"
598
+ # send_resolved: true
599
+ # title: '{{ template "slack.monzo.title" . }}'
600
+ # icon_emoji: '{{ template "slack.monzo.icon_emoji" . }}'
601
+ # color: '{{ template "slack.monzo.color" . }}'
602
+ # text: '{{ template "slack.monzo.text" . }}'
603
+ # actions:
604
+ # - type: button
605
+ # text: "Runbook :green_book:"
606
+ # url: "{{ (index .Alerts 0).Annotations.runbook }}"
607
+ # - type: button
608
+ # text: "Query :mag:"
609
+ # url: "{{ (index .Alerts 0).GeneratorURL }}"
610
+ # - type: button
611
+ # text: "Dashboard :grafana:"
612
+ # url: "{{ (index .Alerts 0).Annotations.dashboard }}"
613
+ # - type: button
614
+ # text: "Silence :no_bell:"
615
+ # url: '{{ template "__alert_silence_link" . }}'
616
+ # - type: button
617
+ # text: '{{ template "slack.monzo.link_button_text" . }}'
618
+ # url: "{{ .CommonAnnotations.link_url }}"
619
+ #
620
620
# -- Better alert templates for [slack source](https://gist.github.com/milesbxf/e2744fc90e9c41b47aa47925f8ff6512)
621
621
monzoTemplate :
622
622
enabled : true
0 commit comments