prometheus / common

Go libraries shared across Prometheus components and libraries.
Apache License 2.0
259 stars 306 forks source link

Expose HTTPHost property in HTTPClientConfig #645

Open jkroepke opened 3 weeks ago

jkroepke commented 3 weeks ago

While I was integrate that feature in https://github.com/grafana/alloy/pull/698, it figure out that the Host property was removed in https://github.com/prometheus/common/pull/597. Turns out that I forget something.

Since host is problematic with DockerSD, i choice the term http_host to follow the pattern from http_headers