prometheus operator v0.71.2

Probe.spec.targets.ingress.relabelingConfigs.sourceLabels.spec

Specification of desired Ingress selection for target discovery by Prometheus.

18 fields
Probe.spec.targets.ingress.relabelingConfigs.sourceLabels.spec fields and descriptions
Field / TypeDescription
object

Authorization section for this endpoint

object

BasicAuth allow an endpoint to authenticate over basic authentication. More info: https://prometheus.io/docs/operating/configuration/#endpoint

object

Secret to mount to read bearer token for scraping targets. The secret needs to be in the same namespace as the probe and accessible by the Prometheus Operator.

  • x-kubernetes-map-type: "atomic"
interval
string

Interval at which targets are probed using the configured prober. If not specified Prometheus' global scrape interval is used.

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

The job name assigned to scraped metrics by default.

keepDroppedTargets
integer

Per-scrape limit on the number of targets dropped by relabeling that will be kept in memory. 0 means no limit. It requires Prometheus >= v2.47.0.

  • format: int64
labelLimit
integer

Per-scrape limit on number of labels that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.

  • format: int64
labelNameLengthLimit
integer

Per-scrape limit on length of labels name that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.

  • format: int64
labelValueLengthLimit
integer

Per-scrape limit on length of labels value that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.

  • format: int64
object[]

MetricRelabelConfigs to apply to samples before ingestion.

module
string

The module to use for probing specifying how to probe the target. Example module configuring in the blackbox exporter: https://github.com/prometheus/blackbox_exporter/blob/master/example.yml

object

OAuth2 for the URL. Only valid in Prometheus versions 2.27.0 and newer.

object

Specification for the prober to use for probing targets. The prober.URL parameter is required. Targets cannot be probed if left empty.

sampleLimit
integer

SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.

  • format: int64
scrapeTimeout
string

Timeout for scraping metrics from the Prometheus exporter. If not specified, the Prometheus global scrape timeout is used.

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

TargetLimit defines a limit on the number of scraped targets that will be accepted.

  • format: int64
object

Targets defines a set of static or dynamically discovered targets to probe.

object

TLS configuration to use when scraping the endpoint.