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
I'm not 100% sure I understand the feature request as you mentioned configuration of the log format for alerts, which I didn't understand. But this feature in Grafana doesn't live in the Alertmanager, it's in their ruler, so it happens before the Alertmanager.
Grafana supports Alert history only to alerts that Grafana generates, but they do it by sending a log to Loki.
I suggest piggybacking their mechanism by sending log messages with formatted information to the log.
I suspect this could be implemented as an OTLP logs exporter, and then any log service that supports OTLP could ingest these events. If you need this today, what you can do is build a webhook that receives alerts from Alertmanager and sends them to Loki's Push API.
Looking at the alert's history is a known missing part. Grafana added support for using Loki to store and retrieve alert history using a log.
It would be possible to use the functionality for external alerts by supporting the configuration of the log format for alerts.
The text was updated successfully, but these errors were encountered: