redash
redash copied to clipboard
Alert Destination Slack
Issue Summary
Formatting issue while sending custom message on slack
Steps to Reproduce
-
Create alert with custom template with body. - Following Queries Are Blocked For More Then 10 Seconds. {{QUERY_RESULT_ROWS}}. Simple SQL query 'SELECT 0 AS PROCESS_ID, '' AS DATABASE_NAME, '' AS USER, '' AS QUERY_INFO, 0 AS TIME' can be used for testing.
-
Above alert is sent to slack alert destination
The message received on slack is gabled like below
Following Queries Are Blocked For More Then 10 Seconds.
[{'PROCESS_ID': 0.0, 'DATABASE_NAME': '', 'USER': '', 'QUERY_INFO': '', 'TIME': 0}]
I expect this to be
Following Queries Are Blocked For More Then 10 Seconds.
[{'PROCESS_ID': 0, 'DATABASE_NAME': '', 'USER': '', 'QUERY_INFO': '', 'TIME': 0}]
This used to work perfectly fine in earlier version of redash 10.0.0
Technical details:
- Redash Version: 25.1.0
- How did you install Redash: Docker self hosted