Closed petemounce closed 10 months ago
Do I still need to also host alerting rules into individual prometheis' filesystems?
You can but you don't have to. As you surmised promxy will run the query against the full dataset. So any alert you would put on prometheus directly you could put on promxy. If you are running a larger system it may be beneficial (from a cost / performance perspective) to put some alerts on the prometheus node -- but that can make the system more complicated.
... and have those send their triggers to alertmanagers?
If you have some alerting rules on prometheus -- still configure them to send to alertmanager, if not there is no need.
am I now limited inside grafana to just the alerting rules that promxy has?
I haven't used the alertmanager datasource (looks interesting); but given that it is talking to alertmanager (not prometheus) regardless of where your alert rules are processed -- they can all go to the same alertmanager cluster.
Since there hasn't been a response in a couple of weeks I'm going to go ahead and close this issue out (assuming its resolved). If you have any further questions feel free to re-open or create a new issue!
The readme covers alerting rules, but I have a few questions remaining.
Context: I'm transitioning from one monolithic observability instance (no fancy kubernetes clustering things) that runs prometheus, alertmanager, grafana, promlens to a setup that runs prometheis separately from the (alertmanager/grafana/promlens/promxy) instances.
I'm doing this for all the reasons eloquently expressed in MOTIVATION.md
(I really liked that doc; I feel the shared suffering of a similar journey and I appreciate the problem-focused story being told)
So, that works great. Thanks very much! Now, my next thing is alerts.
I get from this prose that when I drop alerting rules into the promxy, those will be evaluated across global data.