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:
payloadparameter in 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.
Solved! Go to Solution.
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: