Giter Site home page Giter Site logo

Prometheus metrics about vigil HOT 4 CLOSED

valeriansaliou avatar valeriansaliou commented on May 14, 2024
Prometheus metrics

from vigil.

Comments (4)

valeriansaliou avatar valeriansaliou commented on May 14, 2024

Hi, sure!

Do you have an example of what Prometheus metrics data would look like, as generated by Vigil? I assume it's some kind of JSON or XML returned by an HTTP route by Vigil, is that right?

from vigil.

Cosaquee avatar Cosaquee commented on May 14, 2024

Prometheus metrics are just plaintext exposed on some port. You can read more here.

I wrote a super simple prometheus exporter in that checks if port is open or not(first time using rust so code quality is low) but you can see how it is made with help of rust-prometheus.

For now my projects exposes metrics in Prometheus format and it looks like this:

port_up{name="service1",port="8123"} 1
port_up{name="service2",port="9060"} 1
port_up{name="service3",port="8080"} 1
port_up{name="service4",port="9050"} 1

1 means port is open, 0 means something is wrong.

I need to play a little bit more with Vigil and I can write down my notes and ideas if you would be interested in them.

For know I just wanted to know if you are interested in exposing such metrics.

from vigil.

valeriansaliou avatar valeriansaliou commented on May 14, 2024

Sure! I'm interested. Come back w/ full notes and I can work out on an impl.

from vigil.

valeriansaliou avatar valeriansaliou commented on May 14, 2024

Dropping this feature, as Vigil aims at being a simple main monitoring solution; not designed for being a secondary solution.

from vigil.

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.