Open mmzeynalli opened 2 months ago
For full customization, you can set the channel format to "Raw Data" and the URL to an integrator such as Zapier or a custom endpoint of your own.
For sending directly to slack, I suggest selecting only the columns otel_status_message
(for the exception message, assuming you're filtering for exceptions) and trace_id
. You can then either (1) manually copy the trace_id and query for trace_id = '<paste value here>'
in the live view, or (2) open the alert, find a match in the run history, expand results, and click on a trace ID. I know that's not great, we want to make this easier by making the trace ID clickable in slack messages and/or linking directly to an alert result.
With current setup, I have no problem reading the error message and understanding what happening, however, it would really be great to format it for your needs.
Oh yes, I'm not denying there's a lot to improve here, just offering suggestions in the meantime.
Description
I think it would be better for anyone to style their own webhook message format: some would like to want to highlight special parts, or would want text in different format (HTML, Markdown etc.). As of today, I was able to get messages to Slack, but I do not like the formatting:
The data comes like this:
What I see is:
For example, I would like to get JSON formatted data for attributes/otel_events, but all I get is raw text like format.