From 8bdff3ef53f7b40ac2ab81bbab09e4a9f09dd4d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Otto=20Kr=C3=B6pke?= Date: Sun, 28 Apr 2024 10:21:23 +0200 Subject: [PATCH 1/3] Expose host property from prometheus/common MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan-Otto Kröpke --- .../reference/components/discovery.azure.md | 1 + .../reference/components/discovery.consul.md | 1 + .../components/discovery.digitalocean.md | 1 + .../reference/components/discovery.docker.md | 1 + .../components/discovery.dockerswarm.md | 1 + .../reference/components/discovery.ec2.md | 1 + .../reference/components/discovery.eureka.md | 1 + .../reference/components/discovery.hetzner.md | 1 + .../reference/components/discovery.http.md | 1 + .../reference/components/discovery.ionos.md | 1 + .../reference/components/discovery.kubelet.md | 1 + .../components/discovery.kubernetes.md | 1 + .../reference/components/discovery.kuma.md | 1 + .../components/discovery.lightsail.md | 1 + .../reference/components/discovery.linode.md | 1 + .../components/discovery.marathon.md | 1 + .../reference/components/discovery.nomad.md | 1 + .../components/discovery.puppetdb.md | 1 + .../components/discovery.scaleway.md | 1 + .../reference/components/discovery.uyuni.md | 1 + .../components/loki.rules.kubernetes.md | 23 +++++++++-------- .../components/loki.source.kubernetes.md | 1 + .../loki.source.kubernetes_events.md | 1 + .../components/loki.source.podlogs.md | 1 + .../reference/components/loki.write.md | 1 + .../components/mimir.rules.kubernetes.md | 1 + .../prometheus.operator.podmonitors.md | 1 + .../components/prometheus.operator.probes.md | 1 + .../prometheus.operator.servicemonitors.md | 1 + .../components/prometheus.remote_write.md | 1 + .../reference/components/prometheus.scrape.md | 1 + .../reference/components/pyroscope.scrape.md | 1 + .../reference/components/pyroscope.write.md | 1 + .../components/remote.kubernetes.configmap.md | 5 ++-- .../components/remote.kubernetes.secret.md | 25 ++++++++++--------- .../components/http-client-config-block.md | 1 + go.mod | 2 +- go.sum | 2 ++ internal/component/common/config/types.go | 2 ++ .../component/common/config/types_test.go | 12 +++++++++ internal/component/discovery/azure/azure.go | 2 ++ .../discovery/digitalocean/digitalocean.go | 2 ++ .../component/discovery/scaleway/scaleway.go | 2 ++ internal/component/discovery/uyuni/uyuni.go | 2 ++ 44 files changed, 86 insertions(+), 26 deletions(-) diff --git a/docs/sources/reference/components/discovery.azure.md b/docs/sources/reference/components/discovery.azure.md index d558f902f3..a40be1f543 100644 --- a/docs/sources/reference/components/discovery.azure.md +++ b/docs/sources/reference/components/discovery.azure.md @@ -32,6 +32,7 @@ Name | Type | Description `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no `proxy_connect_header` | `map(list(secret))` | Specifies headers to send to proxies during CONNECT requests. | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no +`host` | `string` | Override HTTP hostname | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no {{< docs/shared lookup="reference/components/http-client-proxy-config-description.md" source="alloy" version="" >}} diff --git a/docs/sources/reference/components/discovery.consul.md b/docs/sources/reference/components/discovery.consul.md index 8244542a09..50b7db7c90 100644 --- a/docs/sources/reference/components/discovery.consul.md +++ b/docs/sources/reference/components/discovery.consul.md @@ -42,6 +42,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no +`host` | `string` | Override HTTP hostname | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.digitalocean.md b/docs/sources/reference/components/discovery.digitalocean.md index 707d48081b..fdaa0653b3 100644 --- a/docs/sources/reference/components/discovery.digitalocean.md +++ b/docs/sources/reference/components/discovery.digitalocean.md @@ -35,6 +35,7 @@ Name | Type | Description `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no `proxy_connect_header` | `map(list(secret))` | Specifies headers to send to proxies during CONNECT requests. | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no +`host` | `string` | Override HTTP hostname | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no The DigitalOcean API uses bearer tokens for authentication, see more about it in the [DigitalOcean API documentation](https://docs.digitalocean.com/reference/api/api-reference/#section/Authentication). diff --git a/docs/sources/reference/components/discovery.docker.md b/docs/sources/reference/components/discovery.docker.md index cebdd79843..d2866525fd 100644 --- a/docs/sources/reference/components/discovery.docker.md +++ b/docs/sources/reference/components/discovery.docker.md @@ -32,6 +32,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no +`host` | `string` | Override HTTP hostname | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.dockerswarm.md b/docs/sources/reference/components/discovery.dockerswarm.md index 223af0e932..fe522eccd0 100644 --- a/docs/sources/reference/components/discovery.dockerswarm.md +++ b/docs/sources/reference/components/discovery.dockerswarm.md @@ -31,6 +31,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no +`host` | `string` | Override HTTP hostname | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.ec2.md b/docs/sources/reference/components/discovery.ec2.md index 2cb454cd5d..bfa28f2a8d 100644 --- a/docs/sources/reference/components/discovery.ec2.md +++ b/docs/sources/reference/components/discovery.ec2.md @@ -35,6 +35,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no +`host` | `string` | Override HTTP hostname | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.eureka.md b/docs/sources/reference/components/discovery.eureka.md index 1d7986b916..0af380e201 100644 --- a/docs/sources/reference/components/discovery.eureka.md +++ b/docs/sources/reference/components/discovery.eureka.md @@ -30,6 +30,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no +`host` | `string` | Override HTTP hostname | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.hetzner.md b/docs/sources/reference/components/discovery.hetzner.md index 91361f26e7..8f0b7da3cb 100644 --- a/docs/sources/reference/components/discovery.hetzner.md +++ b/docs/sources/reference/components/discovery.hetzner.md @@ -33,6 +33,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no +`host` | `string` | Override HTTP hostname | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.http.md b/docs/sources/reference/components/discovery.http.md index 19a789d4da..1ebd6a8732 100644 --- a/docs/sources/reference/components/discovery.http.md +++ b/docs/sources/reference/components/discovery.http.md @@ -97,6 +97,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no +`host` | `string` | Override HTTP hostname | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.ionos.md b/docs/sources/reference/components/discovery.ionos.md index f939aa7e63..e0d41a84ce 100644 --- a/docs/sources/reference/components/discovery.ionos.md +++ b/docs/sources/reference/components/discovery.ionos.md @@ -31,6 +31,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no +`host` | `string` | Override HTTP hostname | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.kubelet.md b/docs/sources/reference/components/discovery.kubelet.md index c57c5c42b8..a91cef3b33 100644 --- a/docs/sources/reference/components/discovery.kubelet.md +++ b/docs/sources/reference/components/discovery.kubelet.md @@ -35,6 +35,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no +`host` | `string` | Override HTTP hostname | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.kubernetes.md b/docs/sources/reference/components/discovery.kubernetes.md index f8c5d024b7..a6668cfa2d 100644 --- a/docs/sources/reference/components/discovery.kubernetes.md +++ b/docs/sources/reference/components/discovery.kubernetes.md @@ -33,6 +33,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no +`host` | `string` | Override HTTP hostname | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.kuma.md b/docs/sources/reference/components/discovery.kuma.md index 9231df6797..68d75b8291 100644 --- a/docs/sources/reference/components/discovery.kuma.md +++ b/docs/sources/reference/components/discovery.kuma.md @@ -31,6 +31,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no +`host` | `string` | Override HTTP hostname | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.lightsail.md b/docs/sources/reference/components/discovery.lightsail.md index d7f5ded47a..5b5955c6d9 100644 --- a/docs/sources/reference/components/discovery.lightsail.md +++ b/docs/sources/reference/components/discovery.lightsail.md @@ -33,6 +33,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no +`host` | `string` | Override HTTP hostname | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.linode.md b/docs/sources/reference/components/discovery.linode.md index aaf33fd43d..28180dcdb4 100644 --- a/docs/sources/reference/components/discovery.linode.md +++ b/docs/sources/reference/components/discovery.linode.md @@ -36,6 +36,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no +`host` | `string` | Override HTTP hostname | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.marathon.md b/docs/sources/reference/components/discovery.marathon.md index e1d35e1273..5fd0c2f031 100644 --- a/docs/sources/reference/components/discovery.marathon.md +++ b/docs/sources/reference/components/discovery.marathon.md @@ -30,6 +30,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no +`host` | `string` | Override HTTP hostname | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.nomad.md b/docs/sources/reference/components/discovery.nomad.md index e6677943c0..033982e1b3 100644 --- a/docs/sources/reference/components/discovery.nomad.md +++ b/docs/sources/reference/components/discovery.nomad.md @@ -31,6 +31,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no +`host` | `string` | Override HTTP hostname | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.puppetdb.md b/docs/sources/reference/components/discovery.puppetdb.md index fe889d14f4..d44c8d42ab 100644 --- a/docs/sources/reference/components/discovery.puppetdb.md +++ b/docs/sources/reference/components/discovery.puppetdb.md @@ -37,6 +37,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no +`host` | `string` | Override HTTP hostname | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.scaleway.md b/docs/sources/reference/components/discovery.scaleway.md index 653073203e..7c921421d9 100644 --- a/docs/sources/reference/components/discovery.scaleway.md +++ b/docs/sources/reference/components/discovery.scaleway.md @@ -44,6 +44,7 @@ Name | Type | Description `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no `proxy_connect_header` | `map(list(secret))` | Specifies headers to send to proxies during CONNECT requests. | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no +`host` | `string` | Override HTTP hostname | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no The `role` argument determines what type of Scaleway machines to discover. diff --git a/docs/sources/reference/components/discovery.uyuni.md b/docs/sources/reference/components/discovery.uyuni.md index a7767f0f7d..36b362b4f8 100644 --- a/docs/sources/reference/components/discovery.uyuni.md +++ b/docs/sources/reference/components/discovery.uyuni.md @@ -37,6 +37,7 @@ Name | Type | Description `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no `proxy_connect_header` | `map(list(secret))` | Specifies headers to send to proxies during CONNECT requests. | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no +`host` | `string` | Override HTTP hostname | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no {{< docs/shared lookup="reference/components/http-client-proxy-config-description.md" source="alloy" version="" >}} diff --git a/docs/sources/reference/components/loki.rules.kubernetes.md b/docs/sources/reference/components/loki.rules.kubernetes.md index 251ade9817..676e5adaaf 100644 --- a/docs/sources/reference/components/loki.rules.kubernetes.md +++ b/docs/sources/reference/components/loki.rules.kubernetes.md @@ -38,18 +38,19 @@ loki.rules.kubernetes "LABEL" { `loki.rules.kubernetes` supports the following arguments: -Name | Type | Description | Default | Required -------------------------|------------|--------------------------------------------------------------------------------------|---------|--------- -`address` | `string` | URL of the Loki ruler. | | yes -`tenant_id` | `string` | Loki tenant ID. | | no -`use_legacy_routes` | `bool` | Whether to use deprecated ruler API endpoints. | false | no -`sync_interval` | `duration` | Amount of time between reconciliations with Loki. | "30s" | no +Name | Type | Description | Default | Required +------------------------|------------|---------------------------------------------------------------------------------|---------|--------- +`address` | `string` | URL of the Loki ruler. | | yes +`tenant_id` | `string` | Loki tenant ID. | | no +`use_legacy_routes` | `bool` | Whether to use deprecated ruler API endpoints. | false | no +`sync_interval` | `duration` | Amount of time between reconciliations with Loki. | "30s" | no `loki_namespace_prefix` | `string` | Prefix used to differentiate multiple {{< param "PRODUCT_NAME" >}} deployments. | "alloy" | no -`bearer_token` | `secret` | Bearer token to authenticate with. | | no -`bearer_token_file` | `string` | File containing a bearer token to authenticate with. | | no -`proxy_url` | `string` | HTTP proxy to proxy requests through. | | no -`follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no -`enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no +`bearer_token` | `secret` | Bearer token to authenticate with. | | no +`bearer_token_file` | `string` | File containing a bearer token to authenticate with. | | no +`proxy_url` | `string` | HTTP proxy to proxy requests through. | | no +`follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no +`host` | `string` | Override HTTP hostname | | no +`enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no At most, one of the following can be provided: - [`bearer_token` argument](#arguments). diff --git a/docs/sources/reference/components/loki.source.kubernetes.md b/docs/sources/reference/components/loki.source.kubernetes.md index fd555b13f8..2ad84855ef 100644 --- a/docs/sources/reference/components/loki.source.kubernetes.md +++ b/docs/sources/reference/components/loki.source.kubernetes.md @@ -98,6 +98,7 @@ Name | Type | Description `bearer_token_file` | `string` | File containing a bearer token to authenticate with. | | no `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no +`host` | `string` | Override HTTP hostname | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no diff --git a/docs/sources/reference/components/loki.source.kubernetes_events.md b/docs/sources/reference/components/loki.source.kubernetes_events.md index c8e61a13e6..3d84e0564f 100644 --- a/docs/sources/reference/components/loki.source.kubernetes_events.md +++ b/docs/sources/reference/components/loki.source.kubernetes_events.md @@ -100,6 +100,7 @@ Name | Type | Description `bearer_token_file` | `string` | File containing a bearer token to authenticate with. | | no `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no +`host` | `string` | Override HTTP hostname | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no diff --git a/docs/sources/reference/components/loki.source.podlogs.md b/docs/sources/reference/components/loki.source.podlogs.md index 11d85a88e3..df4d27797b 100644 --- a/docs/sources/reference/components/loki.source.podlogs.md +++ b/docs/sources/reference/components/loki.source.podlogs.md @@ -156,6 +156,7 @@ Name | Type | Description `bearer_token_file` | `string` | File containing a bearer token to authenticate with. | | no `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no +`host` | `string` | Override HTTP hostname | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no diff --git a/docs/sources/reference/components/loki.write.md b/docs/sources/reference/components/loki.write.md index cb864993ee..4e278cfc52 100644 --- a/docs/sources/reference/components/loki.write.md +++ b/docs/sources/reference/components/loki.write.md @@ -80,6 +80,7 @@ Name | Type | Description `bearer_token_file` | `string` | File containing a bearer token to authenticate with. | | no `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no +`host` | `string` | Override HTTP hostname | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no diff --git a/docs/sources/reference/components/mimir.rules.kubernetes.md b/docs/sources/reference/components/mimir.rules.kubernetes.md index 1e52cb2621..6dfce3267f 100644 --- a/docs/sources/reference/components/mimir.rules.kubernetes.md +++ b/docs/sources/reference/components/mimir.rules.kubernetes.md @@ -60,6 +60,7 @@ Name | Type | Description `bearer_token_file` | `string` | File containing a bearer token to authenticate with. | | no `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no +`host` | `string` | Override HTTP hostname | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no diff --git a/docs/sources/reference/components/prometheus.operator.podmonitors.md b/docs/sources/reference/components/prometheus.operator.podmonitors.md index a5621b5086..6f21faed4c 100644 --- a/docs/sources/reference/components/prometheus.operator.podmonitors.md +++ b/docs/sources/reference/components/prometheus.operator.podmonitors.md @@ -81,6 +81,7 @@ Name | Type | Description `bearer_token_file` | `string` | File containing a bearer token to authenticate with. | | no `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no +`host` | `string` | Override HTTP hostname | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no diff --git a/docs/sources/reference/components/prometheus.operator.probes.md b/docs/sources/reference/components/prometheus.operator.probes.md index c4b0dc8a30..2632300e06 100644 --- a/docs/sources/reference/components/prometheus.operator.probes.md +++ b/docs/sources/reference/components/prometheus.operator.probes.md @@ -83,6 +83,7 @@ Name | Type | Description `bearer_token_file` | `string` | File containing a bearer token to authenticate with. | | no `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no +`host` | `string` | Override HTTP hostname | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no diff --git a/docs/sources/reference/components/prometheus.operator.servicemonitors.md b/docs/sources/reference/components/prometheus.operator.servicemonitors.md index fab8c5c29b..2085f75420 100644 --- a/docs/sources/reference/components/prometheus.operator.servicemonitors.md +++ b/docs/sources/reference/components/prometheus.operator.servicemonitors.md @@ -82,6 +82,7 @@ Name | Type | Description `bearer_token_file` | `string` | File containing a bearer token to authenticate with. | | no `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no +`host` | `string` | Override HTTP hostname | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no diff --git a/docs/sources/reference/components/prometheus.remote_write.md b/docs/sources/reference/components/prometheus.remote_write.md index c865d31477..7764c84e63 100644 --- a/docs/sources/reference/components/prometheus.remote_write.md +++ b/docs/sources/reference/components/prometheus.remote_write.md @@ -94,6 +94,7 @@ Name | Type | Description | Default | Required `bearer_token_file` | `string` | File containing a bearer token to authenticate with. | | no `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no +`host` | `string` | Override HTTP hostname | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no diff --git a/docs/sources/reference/components/prometheus.scrape.md b/docs/sources/reference/components/prometheus.scrape.md index 00b373e30b..3568e68dd3 100644 --- a/docs/sources/reference/components/prometheus.scrape.md +++ b/docs/sources/reference/components/prometheus.scrape.md @@ -62,6 +62,7 @@ Name | Type | Description `bearer_token_file` | `string` | File containing a bearer token to authenticate with. | | no `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no +`host` | `string` | Override HTTP hostname | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no diff --git a/docs/sources/reference/components/pyroscope.scrape.md b/docs/sources/reference/components/pyroscope.scrape.md index 3365306139..91c72d4eee 100644 --- a/docs/sources/reference/components/pyroscope.scrape.md +++ b/docs/sources/reference/components/pyroscope.scrape.md @@ -69,6 +69,7 @@ Name | Type | Description `bearer_token_file` | `string` | File containing a bearer token to authenticate with. | | no `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no +`host` | `string` | Override HTTP hostname | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no diff --git a/docs/sources/reference/components/pyroscope.write.md b/docs/sources/reference/components/pyroscope.write.md index adaab2d3da..c93df13b2c 100644 --- a/docs/sources/reference/components/pyroscope.write.md +++ b/docs/sources/reference/components/pyroscope.write.md @@ -77,6 +77,7 @@ Name | Type | Description `bearer_token_file` | `string` | File containing a bearer token to authenticate with. | | no `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no +`host` | `string` | Override HTTP hostname | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no diff --git a/docs/sources/reference/components/remote.kubernetes.configmap.md b/docs/sources/reference/components/remote.kubernetes.configmap.md index 0fd490b88c..b646901fca 100644 --- a/docs/sources/reference/components/remote.kubernetes.configmap.md +++ b/docs/sources/reference/components/remote.kubernetes.configmap.md @@ -72,13 +72,14 @@ The following arguments are supported: Name | Type | Description | Default | Required -------------------------|---------------------|---------------------------------------------------------------|---------|--------- `api_server` | `string` | URL of the Kubernetes API server. | | no -`kubeconfig_file` | `string` | Path of the `kubeconfig` file to use for connecting to Kubernetes. | | no +`kubeconfig_file` | `string` | Path of the `kubeconfig` file to use for connecting to Kubernetes. | | no `bearer_token_file` | `string` | File containing a bearer token to authenticate with. | | no `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no +`host` | `string` | Override HTTP hostname | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no -`no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no +`no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no `proxy_connect_header` | `map(list(secret))` | Specifies headers to send to proxies during CONNECT requests. | | no diff --git a/docs/sources/reference/components/remote.kubernetes.secret.md b/docs/sources/reference/components/remote.kubernetes.secret.md index 49fd2296bd..99786189b6 100644 --- a/docs/sources/reference/components/remote.kubernetes.secret.md +++ b/docs/sources/reference/components/remote.kubernetes.secret.md @@ -69,18 +69,19 @@ If the `client` block isn't provided, the default in-cluster configuration with The following arguments are supported: -Name | Type | Description | Default | Required --------------------------|---------------------|---------------------------------------------------------------|---------|--------- -`api_server` | `string` | URL of the Kubernetes API server. | | no -`kubeconfig_file` | `string` | Path of the `kubeconfig` file to use for connecting to Kubernetes. | | no -`bearer_token_file` | `string` | File containing a bearer token to authenticate with. | | no -`bearer_token` | `secret` | Bearer token to authenticate with. | | no -`enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no -`follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no -`proxy_url` | `string` | HTTP proxy to send requests through. | | no -`no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no -`proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no -`proxy_connect_header` | `map(list(secret))` | Specifies headers to send to proxies during CONNECT requests. | | no +Name | Type | Description | Default | Required +-------------------------|---------------------|--------------------------------------------------------------------------------------------------|---------|--------- +`api_server` | `string` | URL of the Kubernetes API server. | | no +`kubeconfig_file` | `string` | Path of the `kubeconfig` file to use for connecting to Kubernetes. | | no +`bearer_token_file` | `string` | File containing a bearer token to authenticate with. | | no +`bearer_token` | `secret` | Bearer token to authenticate with. | | no +`enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no +`follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no +`host` | `string` | Override HTTP hostname | | no +`proxy_url` | `string` | HTTP proxy to send requests through. | | no +`no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no +`proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no +`proxy_connect_header` | `map(list(secret))` | Specifies headers to send to proxies during CONNECT requests. | | no At most, one of the following can be provided: - [`bearer_token` argument][client]. diff --git a/docs/sources/shared/reference/components/http-client-config-block.md b/docs/sources/shared/reference/components/http-client-config-block.md index 8a41b288d1..3b1561f2e7 100644 --- a/docs/sources/shared/reference/components/http-client-config-block.md +++ b/docs/sources/shared/reference/components/http-client-config-block.md @@ -10,6 +10,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no +`host` | `string` | Override HTTP hostname | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/go.mod b/go.mod index 542a9a1e4d..cdd1b91da7 100644 --- a/go.mod +++ b/go.mod @@ -155,7 +155,7 @@ require ( github.com/prometheus/blackbox_exporter v0.24.1-0.20230623125439-bd22efa1c900 github.com/prometheus/client_golang v1.19.0 github.com/prometheus/client_model v0.6.0 - github.com/prometheus/common v0.48.0 + github.com/prometheus/common v0.49.0 github.com/prometheus/common/sigv4 v0.1.0 github.com/prometheus/consul_exporter v0.8.0 github.com/prometheus/memcached_exporter v0.13.0 diff --git a/go.sum b/go.sum index 537290e3fa..21bc4f5fe3 100644 --- a/go.sum +++ b/go.sum @@ -1956,6 +1956,8 @@ github.com/prometheus/common v0.31.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+ github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= github.com/prometheus/common v0.48.0 h1:QO8U2CdOzSn1BBsmXJXduaaW+dY/5QLjfB8svtSzKKE= github.com/prometheus/common v0.48.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc= +github.com/prometheus/common v0.49.0 h1:ToNTdK4zSnPVJmh698mGFkDor9wBI/iGaJy5dbH1EgI= +github.com/prometheus/common v0.49.0/go.mod h1:Kxm+EULxRbUkjGU6WFsQqo3ORzB4tyKvlWFOE9mB2sE= github.com/prometheus/common/sigv4 v0.1.0 h1:qoVebwtwwEhS85Czm2dSROY5fTo2PAPEVdDeppTwGX4= github.com/prometheus/common/sigv4 v0.1.0/go.mod h1:2Jkxxk9yYvCkE5G1sQT7GuEXm57JrvHu9k5YwTjsNtI= github.com/prometheus/consul_exporter v0.8.0 h1:2z3drFic65WFoHaJRKkmnJRRlBLmmxVqT8L9LO2yxAo= diff --git a/internal/component/common/config/types.go b/internal/component/common/config/types.go index 2cedf45372..7aae3fa685 100644 --- a/internal/component/common/config/types.go +++ b/internal/component/common/config/types.go @@ -24,6 +24,7 @@ type HTTPClientConfig struct { TLSConfig TLSConfig `alloy:"tls_config,block,optional"` FollowRedirects bool `alloy:"follow_redirects,attr,optional"` EnableHTTP2 bool `alloy:"enable_http2,attr,optional"` + Host string `alloy:"host,attr,optional"` } // SetToDefault implements the syntax.Defaulter @@ -92,6 +93,7 @@ func (h *HTTPClientConfig) Convert() *config.HTTPClientConfig { FollowRedirects: h.FollowRedirects, EnableHTTP2: h.EnableHTTP2, ProxyConfig: h.ProxyConfig.Convert(), + Host: h.Host, } } diff --git a/internal/component/common/config/types_test.go b/internal/component/common/config/types_test.go index cb364f4d0b..24918cb0e4 100644 --- a/internal/component/common/config/types_test.go +++ b/internal/component/common/config/types_test.go @@ -42,6 +42,18 @@ func TestHTTPClientConfigBearerTokenFile(t *testing.T) { require.NoError(t, err) } +func TestHTTPClientConfigHost(t *testing.T) { + var exampleAlloyConfig = ` + host = localhost + follow_redirects = true + enable_http2 = true +` + + var httpClientConfig HTTPClientConfig + err := syntax.Unmarshal([]byte(exampleAlloyConfig), &httpClientConfig) + require.NoError(t, err) +} + func TestHTTPClientConfigBasicAuthPassword(t *testing.T) { var exampleAlloyConfig = ` proxy_url = "http://0.0.0.0:11111" diff --git a/internal/component/discovery/azure/azure.go b/internal/component/discovery/azure/azure.go index 5fbf39073f..751f2b12c4 100644 --- a/internal/component/discovery/azure/azure.go +++ b/internal/component/discovery/azure/azure.go @@ -39,6 +39,7 @@ type Arguments struct { ProxyConfig *config.ProxyConfig `alloy:",squash"` FollowRedirects bool `alloy:"follow_redirects,attr,optional"` + Host string `alloy:"host,attr,optional"` EnableHTTP2 bool `alloy:"enable_http2,attr,optional"` TLSConfig config.TLSConfig `alloy:"tls_config,block,optional"` } @@ -101,6 +102,7 @@ func (a *Arguments) Convert() *prom_discovery.SDConfig { httpClientConfig.EnableHTTP2 = a.EnableHTTP2 httpClientConfig.TLSConfig = a.TLSConfig httpClientConfig.ProxyConfig = a.ProxyConfig + httpClientConfig.Host = a.Host return &prom_discovery.SDConfig{ Environment: a.Environment, diff --git a/internal/component/discovery/digitalocean/digitalocean.go b/internal/component/discovery/digitalocean/digitalocean.go index 14aad5d290..6aff991b16 100644 --- a/internal/component/discovery/digitalocean/digitalocean.go +++ b/internal/component/discovery/digitalocean/digitalocean.go @@ -35,6 +35,7 @@ type Arguments struct { ProxyConfig *config.ProxyConfig `alloy:",squash"` FollowRedirects bool `alloy:"follow_redirects,attr,optional"` + Host string `alloy:"host,attr,optional"` EnableHTTP2 bool `alloy:"enable_http2,attr,optional"` } @@ -72,6 +73,7 @@ func (a *Arguments) Convert() *prom_discovery.SDConfig { httpClientConfig.FollowRedirects = a.FollowRedirects httpClientConfig.EnableHTTP2 = a.EnableHTTP2 httpClientConfig.ProxyConfig = a.ProxyConfig + httpClientConfig.Host = a.Host return &prom_discovery.SDConfig{ RefreshInterval: model.Duration(a.RefreshInterval), diff --git a/internal/component/discovery/scaleway/scaleway.go b/internal/component/discovery/scaleway/scaleway.go index 5512561aa2..cbdcb1670f 100644 --- a/internal/component/discovery/scaleway/scaleway.go +++ b/internal/component/discovery/scaleway/scaleway.go @@ -48,6 +48,7 @@ type Arguments struct { TLSConfig config.TLSConfig `alloy:"tls_config,block,optional"` FollowRedirects bool `alloy:"follow_redirects,attr,optional"` EnableHTTP2 bool `alloy:"enable_http2,attr,optional"` + Host string `alloy:"host,attr,optional"` } var DefaultArguments = Arguments{ @@ -123,6 +124,7 @@ func (args *Arguments) Convert() *prom_discovery.SDConfig { TLSConfig: *args.TLSConfig.Convert(), FollowRedirects: args.FollowRedirects, EnableHTTP2: args.EnableHTTP2, + Host: args.Host, }, RefreshInterval: model.Duration(args.RefreshInterval), diff --git a/internal/component/discovery/uyuni/uyuni.go b/internal/component/discovery/uyuni/uyuni.go index 3440f8be22..104193d195 100644 --- a/internal/component/discovery/uyuni/uyuni.go +++ b/internal/component/discovery/uyuni/uyuni.go @@ -39,6 +39,7 @@ type Arguments struct { TLSConfig config.TLSConfig `alloy:"tls_config,block,optional"` FollowRedirects bool `alloy:"follow_redirects,attr,optional"` EnableHTTP2 bool `alloy:"enable_http2,attr,optional"` + Host string `alloy:"host,attr,optional"` } var DefaultArguments = Arguments{ @@ -83,6 +84,7 @@ func (a *Arguments) Convert() *prom_discovery.SDConfig { TLSConfig: *a.TLSConfig.Convert(), FollowRedirects: a.FollowRedirects, EnableHTTP2: a.EnableHTTP2, + Host: a.Host, }, } } From 6e2bc86e08b508394ff23cb33fa21c7a7db19b6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Otto=20Kr=C3=B6pke?= Date: Sun, 28 Apr 2024 10:26:37 +0200 Subject: [PATCH 2/3] Add CHANGELOG MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan-Otto Kröpke --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f58f5fb13c..7100b65090 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,8 @@ Main (unreleased) - In `prometheus.exporter.kafka`, the interpolation table used to compute estimated lag metrics is now pruned on `metadata_refresh_interval` instead of `prune_interval_seconds`. (@wildum) +- Allow to define a custom HTTP header in all components that make HTTP requests. (@jkroepke) + - Don't restart tailers in `loki.source.kubernetes` component by above-average time deltas if K8s version is >= 1.29.1 (@hainenber) From f05540bf6389f08ec217a8062ca9b672a678d6a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Otto=20Kr=C3=B6pke?= Date: Mon, 29 Apr 2024 20:58:35 +0200 Subject: [PATCH 3/3] Add full stop to description. --- docs/sources/reference/components/discovery.azure.md | 2 +- docs/sources/reference/components/discovery.consul.md | 2 +- docs/sources/reference/components/discovery.digitalocean.md | 2 +- docs/sources/reference/components/discovery.docker.md | 2 +- docs/sources/reference/components/discovery.dockerswarm.md | 2 +- docs/sources/reference/components/discovery.ec2.md | 2 +- docs/sources/reference/components/discovery.eureka.md | 2 +- docs/sources/reference/components/discovery.hetzner.md | 2 +- docs/sources/reference/components/discovery.http.md | 2 +- docs/sources/reference/components/discovery.ionos.md | 2 +- docs/sources/reference/components/discovery.kubelet.md | 2 +- docs/sources/reference/components/discovery.kubernetes.md | 2 +- docs/sources/reference/components/discovery.kuma.md | 2 +- docs/sources/reference/components/discovery.lightsail.md | 2 +- docs/sources/reference/components/discovery.linode.md | 2 +- docs/sources/reference/components/discovery.marathon.md | 2 +- docs/sources/reference/components/discovery.nomad.md | 2 +- docs/sources/reference/components/discovery.puppetdb.md | 2 +- docs/sources/reference/components/discovery.scaleway.md | 2 +- docs/sources/reference/components/discovery.uyuni.md | 2 +- docs/sources/reference/components/loki.rules.kubernetes.md | 2 +- docs/sources/reference/components/loki.source.kubernetes.md | 2 +- .../reference/components/loki.source.kubernetes_events.md | 2 +- docs/sources/reference/components/loki.source.podlogs.md | 2 +- docs/sources/reference/components/loki.write.md | 2 +- docs/sources/reference/components/mimir.rules.kubernetes.md | 2 +- .../reference/components/prometheus.operator.podmonitors.md | 2 +- docs/sources/reference/components/prometheus.operator.probes.md | 2 +- .../reference/components/prometheus.operator.servicemonitors.md | 2 +- docs/sources/reference/components/prometheus.remote_write.md | 2 +- docs/sources/reference/components/prometheus.scrape.md | 2 +- docs/sources/reference/components/pyroscope.scrape.md | 2 +- docs/sources/reference/components/pyroscope.write.md | 2 +- .../sources/reference/components/remote.kubernetes.configmap.md | 2 +- docs/sources/reference/components/remote.kubernetes.secret.md | 2 +- .../shared/reference/components/http-client-config-block.md | 2 +- 36 files changed, 36 insertions(+), 36 deletions(-) diff --git a/docs/sources/reference/components/discovery.azure.md b/docs/sources/reference/components/discovery.azure.md index a40be1f543..acb4686679 100644 --- a/docs/sources/reference/components/discovery.azure.md +++ b/docs/sources/reference/components/discovery.azure.md @@ -32,7 +32,7 @@ Name | Type | Description `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no `proxy_connect_header` | `map(list(secret))` | Specifies headers to send to proxies during CONNECT requests. | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no {{< docs/shared lookup="reference/components/http-client-proxy-config-description.md" source="alloy" version="" >}} diff --git a/docs/sources/reference/components/discovery.consul.md b/docs/sources/reference/components/discovery.consul.md index 50b7db7c90..b16ec28adb 100644 --- a/docs/sources/reference/components/discovery.consul.md +++ b/docs/sources/reference/components/discovery.consul.md @@ -42,7 +42,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.digitalocean.md b/docs/sources/reference/components/discovery.digitalocean.md index fdaa0653b3..df8a91c937 100644 --- a/docs/sources/reference/components/discovery.digitalocean.md +++ b/docs/sources/reference/components/discovery.digitalocean.md @@ -35,7 +35,7 @@ Name | Type | Description `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no `proxy_connect_header` | `map(list(secret))` | Specifies headers to send to proxies during CONNECT requests. | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no The DigitalOcean API uses bearer tokens for authentication, see more about it in the [DigitalOcean API documentation](https://docs.digitalocean.com/reference/api/api-reference/#section/Authentication). diff --git a/docs/sources/reference/components/discovery.docker.md b/docs/sources/reference/components/discovery.docker.md index d2866525fd..eacf32467e 100644 --- a/docs/sources/reference/components/discovery.docker.md +++ b/docs/sources/reference/components/discovery.docker.md @@ -32,7 +32,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.dockerswarm.md b/docs/sources/reference/components/discovery.dockerswarm.md index fe522eccd0..ee8da1e408 100644 --- a/docs/sources/reference/components/discovery.dockerswarm.md +++ b/docs/sources/reference/components/discovery.dockerswarm.md @@ -31,7 +31,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.ec2.md b/docs/sources/reference/components/discovery.ec2.md index bfa28f2a8d..5808f5e966 100644 --- a/docs/sources/reference/components/discovery.ec2.md +++ b/docs/sources/reference/components/discovery.ec2.md @@ -35,7 +35,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.eureka.md b/docs/sources/reference/components/discovery.eureka.md index 0af380e201..2d3b8e5744 100644 --- a/docs/sources/reference/components/discovery.eureka.md +++ b/docs/sources/reference/components/discovery.eureka.md @@ -30,7 +30,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.hetzner.md b/docs/sources/reference/components/discovery.hetzner.md index 8f0b7da3cb..5e953f3043 100644 --- a/docs/sources/reference/components/discovery.hetzner.md +++ b/docs/sources/reference/components/discovery.hetzner.md @@ -33,7 +33,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.http.md b/docs/sources/reference/components/discovery.http.md index 1ebd6a8732..ee7df54425 100644 --- a/docs/sources/reference/components/discovery.http.md +++ b/docs/sources/reference/components/discovery.http.md @@ -97,7 +97,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.ionos.md b/docs/sources/reference/components/discovery.ionos.md index e0d41a84ce..42526fbc0a 100644 --- a/docs/sources/reference/components/discovery.ionos.md +++ b/docs/sources/reference/components/discovery.ionos.md @@ -31,7 +31,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.kubelet.md b/docs/sources/reference/components/discovery.kubelet.md index a91cef3b33..b9cd40da02 100644 --- a/docs/sources/reference/components/discovery.kubelet.md +++ b/docs/sources/reference/components/discovery.kubelet.md @@ -35,7 +35,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.kubernetes.md b/docs/sources/reference/components/discovery.kubernetes.md index a6668cfa2d..38433bac0d 100644 --- a/docs/sources/reference/components/discovery.kubernetes.md +++ b/docs/sources/reference/components/discovery.kubernetes.md @@ -33,7 +33,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.kuma.md b/docs/sources/reference/components/discovery.kuma.md index 68d75b8291..a4c54e2b67 100644 --- a/docs/sources/reference/components/discovery.kuma.md +++ b/docs/sources/reference/components/discovery.kuma.md @@ -31,7 +31,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.lightsail.md b/docs/sources/reference/components/discovery.lightsail.md index 5b5955c6d9..e52db40a03 100644 --- a/docs/sources/reference/components/discovery.lightsail.md +++ b/docs/sources/reference/components/discovery.lightsail.md @@ -33,7 +33,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.linode.md b/docs/sources/reference/components/discovery.linode.md index 28180dcdb4..5865bf8517 100644 --- a/docs/sources/reference/components/discovery.linode.md +++ b/docs/sources/reference/components/discovery.linode.md @@ -36,7 +36,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.marathon.md b/docs/sources/reference/components/discovery.marathon.md index 5fd0c2f031..e4fd944d59 100644 --- a/docs/sources/reference/components/discovery.marathon.md +++ b/docs/sources/reference/components/discovery.marathon.md @@ -30,7 +30,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.nomad.md b/docs/sources/reference/components/discovery.nomad.md index 033982e1b3..89fbe1d699 100644 --- a/docs/sources/reference/components/discovery.nomad.md +++ b/docs/sources/reference/components/discovery.nomad.md @@ -31,7 +31,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.puppetdb.md b/docs/sources/reference/components/discovery.puppetdb.md index d44c8d42ab..514d5e8291 100644 --- a/docs/sources/reference/components/discovery.puppetdb.md +++ b/docs/sources/reference/components/discovery.puppetdb.md @@ -37,7 +37,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/discovery.scaleway.md b/docs/sources/reference/components/discovery.scaleway.md index 7c921421d9..8db64056b7 100644 --- a/docs/sources/reference/components/discovery.scaleway.md +++ b/docs/sources/reference/components/discovery.scaleway.md @@ -44,7 +44,7 @@ Name | Type | Description `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no `proxy_connect_header` | `map(list(secret))` | Specifies headers to send to proxies during CONNECT requests. | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no The `role` argument determines what type of Scaleway machines to discover. diff --git a/docs/sources/reference/components/discovery.uyuni.md b/docs/sources/reference/components/discovery.uyuni.md index 36b362b4f8..6c1af95d55 100644 --- a/docs/sources/reference/components/discovery.uyuni.md +++ b/docs/sources/reference/components/discovery.uyuni.md @@ -37,7 +37,7 @@ Name | Type | Description `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no `proxy_connect_header` | `map(list(secret))` | Specifies headers to send to proxies during CONNECT requests. | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no {{< docs/shared lookup="reference/components/http-client-proxy-config-description.md" source="alloy" version="" >}} diff --git a/docs/sources/reference/components/loki.rules.kubernetes.md b/docs/sources/reference/components/loki.rules.kubernetes.md index 676e5adaaf..fe0f8b1e9e 100644 --- a/docs/sources/reference/components/loki.rules.kubernetes.md +++ b/docs/sources/reference/components/loki.rules.kubernetes.md @@ -49,7 +49,7 @@ Name | Type | Description `bearer_token_file` | `string` | File containing a bearer token to authenticate with. | | no `proxy_url` | `string` | HTTP proxy to proxy requests through. | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no At most, one of the following can be provided: diff --git a/docs/sources/reference/components/loki.source.kubernetes.md b/docs/sources/reference/components/loki.source.kubernetes.md index 2ad84855ef..93a2a974d4 100644 --- a/docs/sources/reference/components/loki.source.kubernetes.md +++ b/docs/sources/reference/components/loki.source.kubernetes.md @@ -98,7 +98,7 @@ Name | Type | Description `bearer_token_file` | `string` | File containing a bearer token to authenticate with. | | no `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no diff --git a/docs/sources/reference/components/loki.source.kubernetes_events.md b/docs/sources/reference/components/loki.source.kubernetes_events.md index 3d84e0564f..cf5e1caedc 100644 --- a/docs/sources/reference/components/loki.source.kubernetes_events.md +++ b/docs/sources/reference/components/loki.source.kubernetes_events.md @@ -100,7 +100,7 @@ Name | Type | Description `bearer_token_file` | `string` | File containing a bearer token to authenticate with. | | no `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no diff --git a/docs/sources/reference/components/loki.source.podlogs.md b/docs/sources/reference/components/loki.source.podlogs.md index df4d27797b..0585d9e4b8 100644 --- a/docs/sources/reference/components/loki.source.podlogs.md +++ b/docs/sources/reference/components/loki.source.podlogs.md @@ -156,7 +156,7 @@ Name | Type | Description `bearer_token_file` | `string` | File containing a bearer token to authenticate with. | | no `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no diff --git a/docs/sources/reference/components/loki.write.md b/docs/sources/reference/components/loki.write.md index 4e278cfc52..037542791b 100644 --- a/docs/sources/reference/components/loki.write.md +++ b/docs/sources/reference/components/loki.write.md @@ -80,7 +80,7 @@ Name | Type | Description `bearer_token_file` | `string` | File containing a bearer token to authenticate with. | | no `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no diff --git a/docs/sources/reference/components/mimir.rules.kubernetes.md b/docs/sources/reference/components/mimir.rules.kubernetes.md index 6dfce3267f..468e6473e9 100644 --- a/docs/sources/reference/components/mimir.rules.kubernetes.md +++ b/docs/sources/reference/components/mimir.rules.kubernetes.md @@ -60,7 +60,7 @@ Name | Type | Description `bearer_token_file` | `string` | File containing a bearer token to authenticate with. | | no `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no diff --git a/docs/sources/reference/components/prometheus.operator.podmonitors.md b/docs/sources/reference/components/prometheus.operator.podmonitors.md index 6f21faed4c..c30ed0c32b 100644 --- a/docs/sources/reference/components/prometheus.operator.podmonitors.md +++ b/docs/sources/reference/components/prometheus.operator.podmonitors.md @@ -81,7 +81,7 @@ Name | Type | Description `bearer_token_file` | `string` | File containing a bearer token to authenticate with. | | no `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no diff --git a/docs/sources/reference/components/prometheus.operator.probes.md b/docs/sources/reference/components/prometheus.operator.probes.md index 2632300e06..896a036f52 100644 --- a/docs/sources/reference/components/prometheus.operator.probes.md +++ b/docs/sources/reference/components/prometheus.operator.probes.md @@ -83,7 +83,7 @@ Name | Type | Description `bearer_token_file` | `string` | File containing a bearer token to authenticate with. | | no `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no diff --git a/docs/sources/reference/components/prometheus.operator.servicemonitors.md b/docs/sources/reference/components/prometheus.operator.servicemonitors.md index 2085f75420..b6c37475f5 100644 --- a/docs/sources/reference/components/prometheus.operator.servicemonitors.md +++ b/docs/sources/reference/components/prometheus.operator.servicemonitors.md @@ -82,7 +82,7 @@ Name | Type | Description `bearer_token_file` | `string` | File containing a bearer token to authenticate with. | | no `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no diff --git a/docs/sources/reference/components/prometheus.remote_write.md b/docs/sources/reference/components/prometheus.remote_write.md index 7764c84e63..c74703825c 100644 --- a/docs/sources/reference/components/prometheus.remote_write.md +++ b/docs/sources/reference/components/prometheus.remote_write.md @@ -94,7 +94,7 @@ Name | Type | Description | Default | Required `bearer_token_file` | `string` | File containing a bearer token to authenticate with. | | no `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no diff --git a/docs/sources/reference/components/prometheus.scrape.md b/docs/sources/reference/components/prometheus.scrape.md index 3568e68dd3..bd65875800 100644 --- a/docs/sources/reference/components/prometheus.scrape.md +++ b/docs/sources/reference/components/prometheus.scrape.md @@ -62,7 +62,7 @@ Name | Type | Description `bearer_token_file` | `string` | File containing a bearer token to authenticate with. | | no `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no diff --git a/docs/sources/reference/components/pyroscope.scrape.md b/docs/sources/reference/components/pyroscope.scrape.md index 91c72d4eee..e10897f4c5 100644 --- a/docs/sources/reference/components/pyroscope.scrape.md +++ b/docs/sources/reference/components/pyroscope.scrape.md @@ -69,7 +69,7 @@ Name | Type | Description `bearer_token_file` | `string` | File containing a bearer token to authenticate with. | | no `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no diff --git a/docs/sources/reference/components/pyroscope.write.md b/docs/sources/reference/components/pyroscope.write.md index c93df13b2c..b286b15ebe 100644 --- a/docs/sources/reference/components/pyroscope.write.md +++ b/docs/sources/reference/components/pyroscope.write.md @@ -77,7 +77,7 @@ Name | Type | Description `bearer_token_file` | `string` | File containing a bearer token to authenticate with. | | no `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no diff --git a/docs/sources/reference/components/remote.kubernetes.configmap.md b/docs/sources/reference/components/remote.kubernetes.configmap.md index b646901fca..cce24cf5b4 100644 --- a/docs/sources/reference/components/remote.kubernetes.configmap.md +++ b/docs/sources/reference/components/remote.kubernetes.configmap.md @@ -77,7 +77,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/reference/components/remote.kubernetes.secret.md b/docs/sources/reference/components/remote.kubernetes.secret.md index 99786189b6..6528eb78da 100644 --- a/docs/sources/reference/components/remote.kubernetes.secret.md +++ b/docs/sources/reference/components/remote.kubernetes.secret.md @@ -77,7 +77,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no diff --git a/docs/sources/shared/reference/components/http-client-config-block.md b/docs/sources/shared/reference/components/http-client-config-block.md index 3b1561f2e7..0e656abbaf 100644 --- a/docs/sources/shared/reference/components/http-client-config-block.md +++ b/docs/sources/shared/reference/components/http-client-config-block.md @@ -10,7 +10,7 @@ Name | Type | Description `bearer_token` | `secret` | Bearer token to authenticate with. | | no `enable_http2` | `bool` | Whether HTTP2 is supported for requests. | `true` | no `follow_redirects` | `bool` | Whether redirects returned by the server should be followed. | `true` | no -`host` | `string` | Override HTTP hostname | | no +`host` | `string` | Override HTTP hostname. | | no `proxy_url` | `string` | HTTP proxy to send requests through. | | no `no_proxy` | `string` | Comma-separated list of IP addresses, CIDR notations, and domain names to exclude from proxying. | | no `proxy_from_environment` | `bool` | Use the proxy URL indicated by environment variables. | `false` | no