Giter VIP home page Giter VIP logo

Comments (2)

kfdm avatar kfdm commented on June 25, 2024

Thank you for your interest!

As for regular http port monitoring, it's not as straight forward as I would like it to be (this same request has come up internally as well).

The initial intention with having a group of farms, is that farms pair with the list of exporters to monitor the specific services across all the machines in the farm. For example, in your case you may have a zookeeper_exporter and kafka_exporter and maybe node_exporter that would be running on each machine in your cluster. In this case, it's (mostly) easy to just register the exporters and things work as expected.

As for the HTTP Checks, the initial idea for that, was more for checking from the user's perspective that the website (or service is up) by checking a single url (or maybe two). At the blackbox_exporter level (which the HTTP Checks use) one typically only cares if the service is up or down in general, while the exporter checks are to see which individual component is up/down.

I've had another college ask regarding matching HTTP checks for each host target but I was not happy with the initial rough draft and did not pursue it further at the time.

As for some of the implementation details that made me unhappy with my initial rough draft, the HTTP Checks are saved as a regular URL, but if I wanted to add some kind of wildcard % to represent the farm address, then I would not be able to use the default Django URLValidator object. I would also end up needing to special case some of the other logic around rendering the rule, so I didn't like this idea.

I also thought about adding it as an exporter with a special name to indicate that it was a port check instead of a normal exporter scrape, but then I would be special casing the logic on the scrape configuration there.

I'm still open to adding a feature like that, I've just not been able to settle on a workflow that avoided special casing some of the paths. Though I'm always appreciative to hear fresh ideas since perhaps you have a perspective that I didn't consider :)

from promgen.

Kmotiko avatar Kmotiko commented on June 25, 2024

Thank you for reply!

I understand that http check was originally intended to check whether service is up or down from user's perspective

In my environment, I use text file collector which implemented in node_exporter to collect metrics of several clusters, and use blackbox_exporter to check each component is up or down.

My understanding is that farm represents set of nodes having the same role, so I feel it is useful that if there is a way to add blackbox_exporter's setting from farm information by associating ports number which used by that farm nodes.

I'm looking forward to adding functions in the future!

Thanks,

from promgen.

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.