-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pass server_name as query parameter #624
Comments
This has been requested in many forms, but this is not something that is going to be added. Each configuration option only comes from one place, and as your example shows you can already do this via modules. This is a matter for your configuration management. |
Just because a problem can be solved, doesn't mean that design can't be improved. Imagine if I said "ServiceMonitors aren't needed because the person can just manually pass configurations to a prometheus.yaml file".... Well, yeha, but why centralize instead of making it dynamic? What's the point of Ingress resources? What's the point of Prometheus resource for the PrometheusOperator? The problem they solve could be solved with configuration management. Nobody wants to create a new module for every new domain that has to be monitored. |
Hello, hostname can now be passed as query parameter, as of last release, which I expect should fix this. |
I don't believe this is fully fixed yet. For TCP probes this is still not supported. |
blackbox_exporter version: output of
blackbox_exporter -version
0.16.0
We have to monitor many certificates installed on groups of hosts and being managed separately.
For example multiple backends behind single Load Balancer, answering by the same name.
Another use-case is monitoring HTTPS port on nodes behind Load Balancer, where certificate does not have specific node names, but only main VIP name.
Right now we have to manage both
blackbox-exporter
andprometheus
configs like this:What is the blackbox.yml module config.
What is the prometheus.yml scrape config.
What did you expect to see?
Having ability to pass
server_name
via query parameter (likemodule
) would greatly simplify things. So, we could manage config only onprometheus
side.The text was updated successfully, but these errors were encountered: