cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Slack itegration: JSON body text doesn't work

roman
Newcomer

By going to slack integration on dynatrace there's title field. In slack webhook creation page, there are clear instructions that body message should be send in two ways:


You have two options for sending data to the Webhook URL above:

  • Send a JSON string as the payload parameter in a POST request
  • Send a JSON string as the body of a POST request

I've tried both, and both outputs json as plain text in slack channel. Why? I want to have beautiful post like sentry has for example.

What I've got instead. Don't mind that first line, i've tried without it too.

In the end what we have is plain text notifications which is not good at all, as you don't use main slack feature.

 

 

2 REPLIES 2

wolfgang_beer
Dynatrace Champion
Dynatrace Champion

What's wrong with using the out-of-the-box Slack integration Dynatrace provides? See here:

Here you find a blog post about the set up configuration:

https://www.dynatrace.com/news/blog/dynatrace-now-...


roman
Newcomer

Interesting. I don't get anything similar to that. Here's what I get in specified channel, there's no description only plain text I've entered to that title field