prometheus operator v0.93.1

ScrapeConfig.spec.digitalOceanSDConfigs.tlsConfig.cert.secret.spec.ec2SDConfigs

ec2SDConfigs defines a list of EC2 service discovery configurations.

14 fields
ScrapeConfig.spec.digitalOceanSDConfigs.tlsConfig.cert.secret.spec.ec2SDConfigs fields and descriptions
Field / TypeDescription
object

accessKey defines the AWS API key.

  • x-kubernetes-map-type: "atomic"
enableHTTP2
boolean

enableHTTP2 defines whether to enable HTTP2. It requires Prometheus >= v2.41.0

object[]

filters can be used optionally to filter the instance list by other criteria. Available filter criteria can be found here: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html Filter API documentation: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Filter.html It requires Prometheus >= v2.3.0

  • x-kubernetes-list-map-keys: ["name"]
  • x-kubernetes-list-type: "map"
followRedirects
boolean

followRedirects defines whether HTTP requests follow HTTP 3xx redirects. It requires Prometheus >= v2.41.0

noProxy
string

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.

port
integer

port defines the port to scrape metrics from. If using the public IP address, this must instead be specified in the relabeling rule.

  • format: int32
  • minimum: 0
  • maximum: 65535
map[string]object[]

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.

  • x-kubernetes-map-type: "atomic"
proxyFromEnvironment
boolean

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
string

proxyUrl defines the HTTP proxy server to use.

  • pattern: ^(http|https|socks5)://.+$
refreshInterval
string

refreshInterval defines the time after which the provided names are refreshed. If not set, Prometheus uses its default value.

  • pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$
region
string

region defines the AWS region.

  • minLength: 1
roleARN
string

roleARN defines an alternative to using AWS API keys.

  • minLength: 1
object

secretKey defines the AWS API secret.

  • x-kubernetes-map-type: "atomic"
object

tlsConfig defines the TLS configuration to connect to the EC2 API. It requires Prometheus >= v2.41.0