ScrapeConfig.spec.dockerSDConfigs.tlsConfig.cert.configMap.spec.nomadSDConfigs
nomadSDConfigs defines a list of Nomad service discovery configurations.
| Field / Type | Description |
|---|---|
allowStale | allowStale defines the information to access the Nomad API. It is to be defined as the Nomad documentation requires. |
authorization defines the header configuration to authenticate against the Nomad API. Cannot be set at the same time as `oauth2`. | |
basicAuth defines information to use on every scrape request. | |
enableHTTP2 | enableHTTP2 defines whether to enable HTTP2. |
followRedirects | followRedirects defines whether HTTP requests follow HTTP 3xx redirects. |
namespace | namespace defines the Nomad namespace to query for service discovery. When specified, only resources within this namespace will be discovered.
|
noProxy | noProxy defines 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, Alertmanager >= v0.25.0 or Thanos >= v0.32.0. |
oauth2 defines the configuration to use on every scrape request. | |
proxyConnectHeader optionally specifies headers to send to proxies during CONNECT requests. It requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.
| |
proxyFromEnvironment | proxyFromEnvironment defines whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY). It requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0. |
proxyUrl | proxyUrl defines the HTTP proxy server to use.
|
refreshInterval | refreshInterval defines the time after which the provided names are refreshed. If not set, Prometheus uses its default value.
|
region | region defines the Nomad region to query for service discovery. When specified, only resources within this region will be discovered.
|
server | server defines the Nomad server address to connect to for service discovery. This should be the full URL including protocol (e.g., "https://nomad.example.com:4646").
|
tagSeparator | tagSeparator defines the separator used to join multiple tags. This determines how Nomad service tags are concatenated into Prometheus labels.
|
tlsConfig defines the TLS configuration to connect to the Nomad API. |