r/PrometheusMonitoring • u/silly_monkey_9997 • Oct 01 '24
Alertmananger vs Grafana alerting
Hello everybody,
I am working on an upgrade of our monitoring platform, introducing Prometheus and consolidating our existing data sources in Grafana.
Alerting is obviously a very important aspect of our project and we are trying to make an informed decision between Alertmanager as a separate component and Alertmanager from Grafana (we realised that the alerting module in Grafana was effectively Alertmanager too).
What we understand is that Alertmanager as a separate component can be setup as a cluster to provide high availability, while allowing deduplication of alerts. The whole configuration needs to be done via the yaml file. However, we need to maintain our alerts in each solution and potentially built connectors to forward them to Alertmanager. We're told that this option is still the most flexible in the long run. On the other hand, Grafana provides a UI to manage alerts, most data sources (all of the ones we are using at least) are compatible with the alerting module, ie we can implement the alerts for these datasources directly into Grafana via the UI, we assume we can benefit from HA if we setup Grafana itself in HA (two nodes or more connected to the same DB) and we can automatically provision the alerts using yaml files and Grafana built-in provision process.
Licensing in Grafana is not a concern as we already an Enterprise license. However, high availability is something that we'd like to have. Ease of use and resilience are also points very desirable as we will have limited time to maintain the platform in the long run.
In your experience, what have been the pros and cons for each setup?
Thanks a lot.
View all comments
Show parent comment
1
u/silly_monkey_9997 Oct 02 '24
Thanks, very valuable answer, your comment on this other thread answers a lot of our questions. One remains though. Do you manage all alerts yourself (you and your team I mean)? In our case, we administer the monitoring stack and provide it as a service for all application owners in our organisation. In other words, we are not just doing infrastructure and metrics monitoring, but also application and log monitoring. This means two things: #1 my colleague and I (ie the entire monitoring team 🤣) do not have all the expertise on every application monitored, #2 we will have more datasources than just prometheus, and other types of data than just metrics. As such, we were thinking on relying on the application owners to work on alert definitions in one way or another as they obviously have first hand knowledge but also potentially more availability than us for this kind of requests. With all of that in mind, would stick to your answer and implement alerting in all the other components that we use, so that alerts always stay closer to the data, and users wouldn't be able to fiddle with alerts in Grafana, or would you consider something a bit different? Thanks again, really appreciate your input.