You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature: make the number of columns that are formatted as a table in Teams alerts a cli flag so that users have more control over the formatting in Teams (#1958)
* Introduced a new configuration setting in which one can change the number of columns that are allowed in a result sample that will be displayed as a table. If it exceeds this number of columns than it will be parsed as a JSON
* Use full width for Teams message to allow beter formatting of a table
* Depending on size of table format it differently so that large tables are better readable
* Refactor code + implement a sleep to prevent rate limits from being hit in Teams for scenarios where a lot of alerts need to be sent
* Error handling for the teams webhook alerting to handle cases like network exceptions
* Correct data type in which the message configuration is populating the message that is sent to MS Teams
* Refactor coderabbitai suggestion
* Implemented feedback of Elazar
* Adapt new full widt layout for MS Teams alerting in unit tests
* Fix failing unit tests
---------
Co-authored-by: Frank Tubbing <[email protected]>
Co-authored-by: Itamar Hartstein <[email protected]>
Copy file name to clipboardExpand all lines: tests/unit/alerts/alert_messages/fixtures/adaptive_card/alerts_group_model-errors-False_test-failures-False_test-warnings-True_test-errors-True_link-False_env-False_subscribers-True.json
Copy file name to clipboardExpand all lines: tests/unit/alerts/alert_messages/fixtures/adaptive_card/alerts_group_model-errors-False_test-failures-True_test-warnings-False_test-errors-False_link-False_env-False_subscribers-True.json
Copy file name to clipboardExpand all lines: tests/unit/alerts/alert_messages/fixtures/adaptive_card/alerts_group_model-errors-False_test-failures-True_test-warnings-False_test-errors-True_link-False_env-False_subscribers-True.json
0 commit comments