Comments (2)
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.
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)
- May I ask whether promgen can configure two Prometheus HOT 1
- the issue with docker-compose. HOT 1
- Promgen integreate to ldap or Active directory Services or SAML Auth HOT 1
- When do prometheus alert set via promgen, It will occur 'reload' action? HOT 1
- run docker run --rm -it -v ~/.config/promgen:/etc/promgen/ line/promgen bootstrap error UnicodeDecodeError: 'utf-8' codec can't decode byte 0xed in position 0: invalid continuation byte
- please link the document in the README.md
- promgen web worker bad request HOT 2
- it can not work well HOT 3
- Add feature to allow slack notification to use proxy
- Docker-compose.yml TypeError HOT 1
- [QUESTION] Prometheus Parameter HOT 3
- docker-compose setup results in broken UI HOT 3
- Not work well
- [QUESTION] Promgen ALLOWED_HOSTS HOT 1
- Can I add a host with domain name? HOT 1
- How to configure farm hosts when my application deploy in k8s cluster? HOT 2
- Errors on worker HOT 1
- Change field type of url field HOT 1
- Prometheus rules seems not generating correctly. HOT 2
- [Question]How can I receive an alert message?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from promgen.