cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

HTML Formatting Issue in Databricks Alerts

kivaniutenko
New Contributor

Hello everyone,

I have recently encountered an issue with HTML formatting in custom templates for Databricks Alerts. Previously, the formatting worked correctly, but now the alerts display raw HTML instead of properly rendered content.

For example, an alert that used to be formatted correctly now appears as plain text:

<p>Alert <b>"set_v1"</b> changed status to <span>TRIGGERED</span>.<br> Data status is <b>Data deviation: Below Lower Threshold</b></p><br><table><tbody><tr><th>day</th><th>record_count</th><th>median_record_count</th><th>mad</th><th>lower_threshold</th><th>upper_threshold</th><th>status</th></tr><tr><td>2025-02-14</td><td>14249</td><td>17296</td><td>124</td><td>16924</td><td>17668</td><td>Data deviation: Below Lower Threshold</td></tr>...

The expected behavior is that the email alert should render the HTML properly, displaying it as a formatted message rather than raw tags.

Has anyone else encountered this problem recently? Has there been a change in how Databricks processes HTML in alerts? Any workarounds or solutions would be greatly appreciated!

Thanks in advance!

0 REPLIES 0

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group