Rancher 2.2 alerts question

With all the new metrics available because of the Prometheus and Grafana integration in Rancher 2.2, I’d like to write some more advanced alerts. For example an alert when a specific pod or container hits a CPU threshold.

Is the best way to do this to “Add an Alert Rule” in the Rancher UI and craft something to put in the Expression field? Or is the better way to launch the full Grafana dashboard and configure alerts there? Although at first glance it doesn’t appear anything can be saved in there.

Recommendations? Thanks!

1 Like