Git Product home page Git Product logo

Comments (9)

brian-brazil avatar brian-brazil commented on July 28, 2024

I'd be wary of anything that involved process management in such a critical component as the alertmanager, but we could send off a HTTP request to an arbitrary endpoint.

from alertmanager.

deviantony avatar deviantony commented on July 28, 2024

Sure that would be nice, could be used to manage things such as up-scaling/down-scaling an app based on Prometheus metrics.

from alertmanager.

brian-brazil avatar brian-brazil commented on July 28, 2024

You should do that by querying prometheus directly, no need to get the alertmanager involved.

from alertmanager.

fabxc avatar fabxc commented on July 28, 2024

It's worth noting that you can query alerts directly from Prometheus.

from alertmanager.

deviantony avatar deviantony commented on July 28, 2024

I could use the ability to query alerts directly from Prometheus for my needs and still use the alert manager for notifications.

Unfortunately, I've not seen any documentation about querying Prometheus, is there an API exposed?

from alertmanager.

brian-brazil avatar brian-brazil commented on July 28, 2024

It's not documented (prometheus/prometheus#623), but if you look at the http requests the expression browser sends in Console mode you should be able to figure it out.

from alertmanager.

deviantony avatar deviantony commented on July 28, 2024

👍

It's ok for me. Should I leave this issue open for any evolution?

from alertmanager.

gesellix avatar gesellix commented on July 28, 2024

With #70 in master, I guess the original question could be answered with yes?

from alertmanager.

brian-brazil avatar brian-brazil commented on July 28, 2024

I'm just cleaning up the JSON case at the moment, but after that you should be good to go.

from alertmanager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.