I dont think that will work out of the box. Prometheus doesn't understand Elasticsearch by itself.
You could use this https://github.com/braedon/prometheus-es-exporter to export the data inside ES to a Prometheus standard format. You can then scrape that target from your Prometheus server and alert based on the data. On Fri, Jun 25, 2021 at 1:36 PM Jose Soto <[email protected]> wrote: > Hello there: > > I have the following process that I show in the image below: > I have multiple processes that store different metrics in Elasticsearch. > My question is if I can read those metrics with Prometheus to create > alerting and notification rules: > > [image: Process.PNG] > If possible, I would like to know where to look to learn how to do this. > > Thanks, in advance. > José Soto. > > -- > You received this message because you are subscribed to the Google Groups > "Prometheus Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/c8d2e680-842d-4b45-b987-a4ea814640d5n%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/c8d2e680-842d-4b45-b987-a4ea814640d5n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAOAKi8x7M%2BUqDy27E2TnQLhMk3ey5-8CLWz1CFe5dDaLzG5mzg%40mail.gmail.com.

