Skip to content

Commit

Permalink
remove templates for msteams
Browse files Browse the repository at this point in the history
  • Loading branch information
robertvolkmann committed Dec 2, 2024
1 parent f3d02d1 commit 621a403
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,25 +177,7 @@ alertmanager:
- name: msteams
msteams_config:
- webhook_url: "{{ monitoring_msteam_notification_webhook_url }}"
{% raw %}
color: '{{ template "slack.color" . }}'
title: '{{ template "slack.title" . }}'
text: '{{ template "slack.text" . }}'
send_resolved: true
actions:
- type: button
text: 'Runbook :green_book:'
url: '{{ (index .Alerts 0).Annotations.runbook_url }}'
- type: button
text: 'Query :mag:'
url: '{{ (index .Alerts 0).GeneratorURL }}'
- type: button
text: 'Dashboard :chart_with_upwards_trend:'
url: '{{ (index .Alerts 0).Annotations.dashboard_url }}'
- type: button
text: 'Silence :no_bell:'
url: '{{ template "__alert_silence_link" . }}'
{% endraw %}
{% if monitoring_slack_api_url is defined and monitoring_slack_notification_channel is defined %}
- name: slack
slack_configs:
Expand Down

0 comments on commit 621a403

Please sign in to comment.