url
|
string |
The URL of the endpoint to send samples to. |
true |
authorization
|
object |
Authorization section for the URL.
-
It requires Prometheus >= v2.26.0.
-
Cannot be set at the same time as sigv4 , basicAuth , oauth2 , or azureAd .
|
false |
azureAd
|
object |
-
It requires Prometheus >= v2.45.0.
-
Cannot be set at the same time as authorization , basicAuth , oauth2 , or sigv4 .
|
false |
basicAuth
|
object |
BasicAuth configuration for the URL.
|
false |
bearerToken
|
string |
Warning: this field should not be used because the token value appears in clear-text. Prefer using authorization .
Deprecated: this will be removed in a future release. |
false |
bearerTokenFile
|
string |
File from which to read bearer token for the URL.
Deprecated: this will be removed in a future release. Prefer using authorization . |
false |
enableHTTP2
|
boolean |
Whether to enable HTTP2. |
false |
followRedirects
|
boolean |
Configure whether HTTP requests follow HTTP 3xx redirects.
It requires Prometheus >= v2.26.0. |
false |
headers
|
map[string]string
|
Custom HTTP headers to be sent along with each remote write request. Be aware that headers that are set by Prometheus itself can’t be overwritten.
It requires Prometheus >= v2.25.0. |
false |
messageVersion
|
enum |
The Remote Write message’s version to use when writing to the endpoint.
-
Version1.0 corresponds to the prometheus.WriteRequest protobuf message introduced in Remote Write 1.0.
*Version2.0 corresponds to the io.prometheus.write.v2.Request protobuf message introduced in Remote Write 2.0.
-
When Version2.0 is selected, Prometheus will automatically be configured to append the metadata of scraped metrics to the WAL.
-
Before setting this field, consult with your remote storage provider what message version it supports.
-
It requires Prometheus >= v2.54.0.
|
false |
metadataConfig
|
object |
MetadataConfig configures the sending of series metadata to the remote storage.
|
false |
name
|
string |
The name of the remote write queue, it must be unique if specified. The name is used in metrics and logging in order to differentiate queues.
It requires Prometheus >= v2.15.0. |
false |
noProxy
|
string |
noProxy is a comma-separated string that can contain IPs, CIDR notation, or domain names that should be excluded from proxying. IP and domain names can contain port numbers.
It requires Prometheus >= v2.43.0 or Alertmanager >= 0.25.0. |
false |
oauth2
|
object |
OAuth2 configuration for the URL.
-
It requires Prometheus >= v2.27.0.
-
Cannot be set at the same time as sigv4 , authorization , basicAuth , or azureAd .
|
false |
proxyConnectHeader
|
map[string][]object
|
ProxyConnectHeader optionally specifies headers to send to proxies during CONNECT requests.
It requires Prometheus >= v2.43.0 or Alertmanager >= 0.25.0. |
false |
proxyFromEnvironment
|
boolean |
Whether to use the proxy configuration defined by environment variables (HTTP_PROXY , HTTPS_PROXY , and NO_PROXY ).
It requires Prometheus >= v2.43.0 or Alertmanager >= 0.25.0. |
false |
proxyUrl
|
string |
proxyURL defines the HTTP proxy server to use.
|
false |
queueConfig
|
object |
QueueConfig allows tuning of the remote write queue parameters.
|
false |
remoteTimeout
|
string |
Timeout for requests to the remote write endpoint. |
false |
sendExemplars
|
boolean |
Enables sending of exemplars over remote write. Note that exemplar-storage itself must be enabled using the spec.enableFeatures option for exemplars to be scraped in the first place.
It requires Prometheus >= v2.27.0. |
false |
sendNativeHistograms
|
boolean |
Enables sending of native histograms, also known as sparse histograms over remote write.
It requires Prometheus >= v2.40.0. |
false |
sigv4
|
object |
Sigv4 allows to configures AWS’s Signature Verification 4 for the URL.
-
It requires Prometheus >= v2.26.0.
-
Cannot be set at the same time as authorization , basicAuth , oauth2 , or azureAd .
|
false |
tlsConfig
|
object |
TLS Config to use for the URL. |
false |
writeRelabelConfigs
|
[]object
|
The list of remote write relabel configurations. |
false |