<@U088WCP3B4P> is it possible to change the defaul...
# ask-elementary-ai
l
@kapa.ai is it possible to change the default title of Slack alerts? For our business stakeholders the current “Failure: “XXX” test failed on “database.schema.table” is too verbose
k
A message from kapa.ai
Currently, Elementary Data doesn't provide a direct way to customize the default title format of test failure alerts in Slack. Based on the knowledge sources, several users have asked about this feature, but it's not yet implemented. There are some related customization options you can use: 1. Custom descriptions: You can add descriptions to your tests that will appear in the alerts:
Copy code
yaml tests:   - test_name:       meta:         description: "Your custom description here"
[Alert properties in .yml files](https://docs.elementary-data.com/oss/guides/alerts/alerts-configuration#alerts-distribution) 2. Alert fields: You can control which fields appear in the alert body (though not the title):
Copy code
yaml models:   - name: my_model_name     meta:       alert_fields: ["description", "owners", "tags", "subscribers"]
[Alert properties in .yml files](https://docs.elementary-data.com/oss/guides/alerts/alerts-configuration#alerts-distribution) 3. Project name: For monitoring summary reports (not individual test alerts), you can use the
--project-name
parameter to customize part of the title, though it will still include "Monitoring summary" in the format. This feature request has been raised by multiple users in the community, and the Elementary team has acknowledged it as something they're considering. If this is important for your use case, you might want to create a GitHub issue to help them prioritize it.
l
@kapa.ai Can you link me the threads where this was raised before by the community?
k
A message from kapa.ai
Here are the community discussions where users have raised the issue of customizing Slack alert titles: 1. [Customizing "dbt test alert" string](https://slack.com/archives/C02CTC89LAX/p1691608483808449) - A user asked if there's a way to adjust the "dbt test alert" string in Slack messages, and the Elementary team confirmed it wasn't possible at that time but invited a feature request. 2. [Custom title instead of "Monitoring summary"](https://slack.com/archives/C02CTC89LAX/p1708503721637019) - A user with multiple dbt projects (~40) wanted to customize the title to distinguish which report came from which project. This resulted in a pull request (#1497) to implement this feature. 3. [Project name in notification title](https://slack.com/archives/C02CTC89LAX/p1709023504255339) - Another user asked about displaying the specific project name in the title instead of "monitoring summary" every time. 4. [Customizing Slack notification messages](https://slack.com/archives/C02CTC89LAX/p1669596176761949) - A user wanted to customize error messages in Slack notifications to alert stakeholders about metrics changes with dynamic parameters. 5. [Custom Slack message name](https://slack.com/archives/C02CTC89LAX/p1738758021289449) - A user asked about updating the name of the Slack message from "Monitoring summary (dev)" to something custom. These threads show that customizing alert titles is a recurring request from the Elementary community.