ScrapeConfig.spec.kubernetesSDConfigs[].tlsConfig.ca.configMap.spec
ScrapeConfigSpec is a specification of the desired configuration for a scrape configuration.
| Field / Type | Description |
|---|---|
Authorization header to use on every scrape request. | |
AzureSDConfigs defines a list of Azure service discovery configurations. | |
BasicAuth information to use on every scrape request. | |
ConsulSDConfigs defines a list of Consul service discovery configurations. | |
DNSSDConfigs defines a list of DNS service discovery configurations. | |
EC2SDConfigs defines a list of EC2 service discovery configurations. | |
FileSDConfigs defines a list of file service discovery configurations. | |
GCESDConfigs defines a list of GCE service discovery configurations. | |
honorLabels | HonorLabels chooses the metric's labels on collisions with target labels. |
honorTimestamps | HonorTimestamps controls whether Prometheus respects the timestamps present in scraped data. |
HTTPSDConfigs defines a list of HTTP service discovery configurations. | |
keepDroppedTargets | 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.
|
KubernetesSDConfigs defines a list of Kubernetes service discovery configurations. | |
labelLimit | 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 | 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 | 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.
|
MetricRelabelConfigs to apply to samples before ingestion. | |
metricsPath | MetricsPath HTTP path to scrape for metrics. If empty, Prometheus uses the default value (e.g. /metrics). |
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. |
OpenStackSDConfigs defines a list of OpenStack service discovery configurations. | |
Optional HTTP URL parameters
| |
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.
|
RelabelConfigs defines how to rewrite the target's labels before scraping. Prometheus Operator automatically adds relabelings for a few standard Kubernetes fields. The original scrape job's name is available via the `__tmp_prometheus_job_name` label. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config | |
sampleLimit | SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.
|
scheme | Configures the protocol scheme used for requests. If empty, Prometheus uses HTTP by default.
|
scrapeInterval | ScrapeInterval is the interval between consecutive scrapes.
|
scrapeTimeout | ScrapeTimeout is the number of seconds to wait until a scrape request times out.
|
StaticConfigs defines a list of static targets with a common label set. | |
targetLimit | TargetLimit defines a limit on the number of scraped targets that will be accepted.
|
TLS configuration to use on every scrape request | |
trackTimestampsStaleness | TrackTimestampsStaleness whether Prometheus tracks staleness of the metrics that have an explicit timestamp present in scraped data. Has no effect if `honorTimestamps` is false. It requires Prometheus >= v2.48.0. |