Skip to content

Alert Destination Slack #7362

@pankaj-cashify

Description

@pankaj-cashify

Issue Summary

Formatting issue while sending custom message on slack

Steps to Reproduce

  1. 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.

  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions