authorization
|
object
|
Authorization section for this endpoint |
basicAuth
|
object
|
BasicAuth allow an endpoint to authenticate over basic authentication.
More info: https://prometheus.io/docs/operating/configuration/#endpoint |
bearerTokenSecret
|
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. |
interval
|
string
|
Interval at which targets are probed using the configured prober.
If not specified Prometheus' global scrape interval is used. |
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. |
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. |
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. |
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. |
metricRelabelings
|
array
|
MetricRelabelConfigs to apply to samples before ingestion. |
metricRelabelings[]
|
object
|
RelabelConfig allows dynamic rewriting of the label set for targets, alerts,
scraped samples and remote write samples.
More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config |
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 |
nativeHistogramBucketLimit
|
integer
|
If there are more than this many buckets in a native histogram,
buckets will be merged to stay within the limit.
It requires Prometheus >= v2.45.0. |
nativeHistogramMinBucketFactor
|
integer-or-string
|
If the growth factor of one bucket to the next is smaller than this,
buckets will be merged to increase the factor sufficiently.
It requires Prometheus >= v2.50.0. |
oauth2
|
object
|
OAuth2 for the URL. Only valid in Prometheus versions 2.27.0 and newer. |
prober
|
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. |
scrapeClass
|
string
|
The scrape class to apply. |
scrapeClassicHistograms
|
boolean
|
Whether to scrape a classic histogram that is also exposed as a native histogram.
It requires Prometheus >= v2.45.0. |
scrapeProtocols
|
array (string)
|
scrapeProtocols defines the protocols to negotiate during a scrape. It tells clients the
protocols supported by Prometheus in order of preference (from most to least preferred).
If unset, Prometheus uses its default value.
It requires Prometheus >= v2.49.0. |
scrapeTimeout
|
string
|
Timeout for scraping metrics from the Prometheus exporter.
If not specified, the Prometheus global scrape timeout is used. |
targetLimit
|
integer
|
TargetLimit defines a limit on the number of scraped targets that will be accepted. |
targets
|
object
|
Targets defines a set of static or dynamically discovered targets to probe. |
tlsConfig
|
object
|
TLS configuration to use when scraping the endpoint. |