SigNoz / signoz

SigNoz is an open-source observability platform native to OpenTelemetry with logs, traces and metrics in a single application. An open-source alternative to DataDog, NewRelic, etc. 🔥 🖥. 👉 Open source Application Performance Monitoring (APM) & Observability tool
https://signoz.io
Other
19.13k stars 1.26k forks source link

Ability to Include Exception Traces in Alerts and Send Error Log messages directly to Slack #5596

Open melgo-tb opened 3 months ago

melgo-tb commented 3 months ago

Is your feature request related to a problem?

In our current setup with SigNoz, we are trying to create alerts for exceptions that include the exception trace or log messages directly in the alert body. Additionally, we need a way to send log messages with a severity level of "error" to a Slack channel. We are currently unable to find a way to configure SigNoz to achieve this.

Describe the solution you'd like

Is there a way to:

  1. Create Exception Alerts with Trace or Log Messages:

    • Configure alerts to trigger on exceptions, which include the exception trace or log messages in the body of the alert notification.
  2. Send Error Logs to Slack:

    • Monitor log messages based on their severity level and send log messages with a severity of "error" to a designated Slack channel.

Additional context

Graylog allows something similar by sending backlog messages in notifications. It allows configuring of max backlog messages to send in the alert. It will be great if we can have a similar feature within signoz.

Graylog Backlog message functionality:

image

welcome[bot] commented 3 months ago

Thanks for opening this issue. A team member should give feedback soon. In the meantime, feel free to check out the contributing guidelines.

melgo-tb commented 2 months ago

Related to https://github.com/SigNoz/signoz/issues/3008