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

Dynatrace tags not appearing in Opsgenie Alerts

Mark Allan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Oct 04, 2023

Background:  Opsgenie Integration Type = Dynatrace Webhook (Dynatrace V2) , Opsgenie Plan = part of a JSM Premium Plan

Dynatrace Tags are not being added to my alert when it is created in Opsgenie. When I look at debug logs in Opsgenie I can see the tags being passed in from Dynatrace in the "[DynatraceV2] Received integration request" log entry. So I know that the tags are being received in Opsgenie and it is not a Dynatrace problem.

However if I look at the "Started to execute action: Create Alert" debug log entry I can see that the -tags[] entry is empty.

In my Dynatrace Integration (in the Create Alert section) I have dragged and dropped the {{tags}} tag into the Tags field.

Do I need to do anything else to get this to work ?

As a workaround I have managed to get tag info to appear in the alert by adding {{_payload}} to the Description field. But ideally I want to set up my alert policies to operate on Tags and not searching through text in a long Description field. What am I doing wrong ?

Supporting screenshots:

  Opsgenie Dynatrace integration Create Alert config :

opsgenie_DT_create_alert_config.JPG

Example of alert that the above config produces. No tag in the Tags area but the tag info is now appearing in the big Description area as I'm dumping the payload in there:

alert_with_no_tag.jpg

Example of a tag coming in from Dynatrace in the "Received integration request" log entry:

tag_info_received.JPG

Example of the tag info subsequently not appearing in the "Started to execute action: Create Alert" log entry:

no_tags_in_parsed_alert.JPG

1 answer

1 accepted

1 vote
Answer accepted
John M
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 05, 2023

Hi @Mark Allan ,

Just a small tweak here should get this working - can you try replacing 

"tags" with "Tags" (capital 'T') in the payload?
2023-10-05_14-18-09.png2023-10-05_14-17-46.png
Mark Allan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Oct 06, 2023

Hi @john thank you, that worked !  I changed the Dynatrace payload from 

"tags": "{Tags}",
to  :
"Tags": "{Tags}",

and I now see the tags in the Tags area in the opsgenie alert. 

The original syntax works for our current notification tool and the tag info was arriving in Opsgenie so I had assumed the DT end was ok. Thank you once again !

Like John M likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events