ScrapeConfig.spec.kubernetesSDConfigs.tlsConfig.cert.secret.spec.consulSDConfigs
ConsulSDConfigs defines a list of Consul service discovery configurations.
| Field / Type | Description |
|---|---|
allowStale | Allow stale Consul results (see https://www.consul.io/api/features/consistency.html). Will reduce load on Consul. If unset, Prometheus uses its default value. |
Authorization header configuration to authenticate against the Consul Server. | |
BasicAuth information to authenticate against the Consul Server. More info: https://prometheus.io/docs/operating/configuration/#endpoints | |
datacenter | Consul Datacenter name, if not provided it will use the local Consul Agent Datacenter. |
enableHTTP2 | Whether to enable HTTP2. If unset, Prometheus uses its default value. |
followRedirects | Configure whether HTTP requests follow HTTP 3xx redirects. If unset, Prometheus uses its default value. |
namespace | Namespaces are only supported in Consul Enterprise. |
noProxy | `noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names that should be excluded from proxying. IP and domain names can contain port numbers. It requires Prometheus >= v2.43.0. |
Node metadata key/value pairs to filter nodes for a given service.
| |
Optional OAuth 2.0 configuration. | |
partition | Admin Partitions are only supported in Consul Enterprise. |
ProxyConnectHeader optionally specifies headers to send to proxies during CONNECT requests. It requires Prometheus >= v2.43.0.
| |
proxyFromEnvironment | Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY). If unset, Prometheus uses its default value. It requires Prometheus >= v2.43.0. |
proxyUrl | `proxyURL` defines the HTTP proxy server to use. It requires Prometheus >= v2.43.0.
|
refreshInterval | The time after which the provided names are refreshed. On large setup it might be a good idea to increase this value because the catalog will change all the time. If unset, Prometheus uses its default value.
|
scheme | HTTP Scheme default "http"
|
server | A valid string consisting of a hostname or IP followed by an optional port number.
|
A list of services for which targets are retrieved. If omitted, all services are scraped.
| |
tagSeparator | The string by which Consul tags are joined into the tag label. If unset, Prometheus uses its default value. |
An optional list of tags used to filter nodes for a given service. Services must contain all tags in the list.
| |
TLS Config | |
Consul ACL TokenRef, if not provided it will use the ACL from the local Consul Agent.
|