Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Opsgenie Best Practices "Wednesdays"-Sending alerts to different teams under single integration

Sometimes, you might need to setup more than one from the same integration in order to specify alert creation depending on your filters defined under the integrations, and it might hard to check all of your integrations when you're about to troubleshoot an issue. Here is a little tip how to use multiple Create Alert rules and keep the control in one place, instead of setting up same multiple integrations. 

In Opsgenie, by using "Advance" settings of integrations, you'll have ability to control incoming payload and apply filters by defining your conditions, for example, during alert creation. According to your conditions, actions such as Ignore, Create, Close, Acknowledge and AddNote will be followed by top-down order. Basically, when Opsgenie receives an incoming payload, it will check your integration action rules one by one and if the incoming payload matches with your filters, actions will be executed. 

Instead of setting up multiple integrations and assigning to different teams, you have ability to define multiple Create Alert rules, and send alerts to different teams by adding teams should receive alerts in which conditions. It's very simple - all you need to do is adding multiple Create Alert rules, and assign these rules to different teams. Please keep in mind that in order to add teams from Alert Fields of integration, the integration should be assigned to "No-Team" - please see attached images. 

 

Opsgenie_-_Integration.jpg

 

 

 

 

 

12Opsgenie_-_Integration.jpg

 

 

13Opsgenie_-_Integration.jpg

 

 

 

7 comments

Hi there, excellent article!!
Do you know if is possible extract individual tags from DD_TAGS and use it as extra properties ?

Thanks a lot

Emirhan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jul 04, 2019

Thank you for your comment Manuel!

By default, Datadog integration is able to capture {{dd_tags}} field and add them into Extra Property field. Do you want to extract these tags one by one? 

Opsgenie_-_Integration.jpg

Yeah !.. I want to extract these tags one by one?

@Manuel Ruiz you can do that like so:

{{dd_tags.extract(/regexpatternhere/)}}

You can also use some string functions like

{{dd_tags.extract(/regexpatternhere/).toLowerCase}}

{{dd_tags.substring("Start", "End")}}

Like Oleksandr Shmyrko likes this

Quick question, how would you go about linking the dd tag that contains a team name to a team in Opsgenie.

Hi, I am trying to assign different teams in one integration but I don't see any Teams field in the form. test.png

Like # people like this

@Katrina Pambid 

This article is a bit outdated. 

You'd have to create the integration as a Global one and not define an individual team as the owner. Then create multiple create rules with different filters. If you have the same filters applied, only the first one will be executed. 

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events