Ben Kochie
Ben Kochie
The tricky bit with the http method is the regexp matching of the binary data. ``` modules: doh: prober: http timeout: 5s http: method: GET headers: Content-Type: application/dns-message fail_if_not_ssl: true...
It doesn't look like https://github.com/miekg/dns supports RFC8484 yet.
@roidelapluie Sure, done. I made it opt-out. :grin:
Boo, ok. I'll poke around to see if I can make it work. I was just trying to rebase on the old PR.
This package is deprecated (https://github.com/prometheus/common/pull/720).
I'm not sure the AI analysis here is correct. In at least the case for `cluster/cluster.go`, it's only used as part of the random peer name string generation. This is...
Here's what a basic startup looks like: ```go landingConfig := web.LandingConfig{ Name: "Node Exporter", Description: "Prometheus Node Exporter", Version: version.Info(), } toolkitConfig := toolkit.Config{ MetricsHandler: newHandler(!*disableExporterMetrics, *maxRequests, logger), FlagConfig: toolkitFlags,...
Still some work to do, tests, etc. But what do you think of this concept so far?
Ok, new example setup. There's an annoying chicken-and-egg problem with the MetricsHandler, since if we want to pass a logger to the handler, we need to `New()` first. ``` toolkitConfig...
One solution, I could implement part of the node_exporter's handler into this. One of the nice features is that it would implement the `--web.disable-exporter-metrics` flag by default, which would make...