Skip to content

Commit

Permalink
[ES-1330][alertmanager]Adding Jira Integration To AlertManager
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin Guttmann <[email protected]>
  • Loading branch information
Ehumic and benjaminguttmann-avtq committed Feb 6, 2025
1 parent e4d9449 commit d0d14f4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jobs/alertmanager/spec
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ properties:
alertmanager.pagerduty.url:
description: "The URL to use for PagerDuty notifications"

alertmanager.jira.url:
description: "Jira instance URL"

alertmanager.opsgenie.api_host:
description: "The API Host to use for OpsGenie notifications"
alertmanager.opsgenie.api_key:
Expand Down
4 changes: 4 additions & 0 deletions jobs/alertmanager/templates/config/alertmanager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ global:
pagerduty_url: <%= url %>
<% end %>

<% if_p('alertmanager.jira.url') do |jira_url| %>
jira_api_url: <%= jira_url %>
<% end %>

<% if_p('alertmanager.opsgenie.api_host') do |api_host| %>
opsgenie_api_url: <%= api_host %>
<% end %>
Expand Down

0 comments on commit d0d14f4

Please sign in to comment.