write_relabel_configs is relabeling applied to samples before sending them to the remote endpoint.
write_relabel_configs
Write relabeling is applied after external labels. This could be used to limit which samples are sent.
There is a small demo (/documentation/examples/remote_storage) of how to use this functionality.
More detail: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#remote_write
Optional proxy URL.
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.
Use proxy URL indicated by environment variables (HTTP_PROXY, https_proxy, HTTPs_PROXY, https_proxy, and no_proxy)
Specifies headers to send to proxies during CONNECT requests.
Sets the Authorization header on every request with the configured username and password.
Authorization
Deprecated in favor of Authorization.credentials
Authorization.credentials
Sets the Authorization header on every scrape request with the configured bearer token.
Mutually exclusive with bearer_token_file.
bearer_token_file
Deprecated in favor of Authorization.credentials_file
Authorization.credentials_file
Sets the Authorization header on every scrape request with the bearer token read from the configured file.
Mutually exclusive with bearer_token.
bearer_token
Sets the Authorization header on every request with the configured credentials.
Optional OAuth 2.0 configuration. Cannot be used at the same time as basic_auth or authorization.
Configures the remote read request's TLS settings.
Configure whether scrape requests follow HTTP 3xx redirects.
Defaults to true
true
Whether to enable HTTP2.
The URL of the endpoint to send samples to.
Timeout for requests to the remote write endpoint.
Default if omitted: 30.s
30.s
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.
List of remote write relabel configurations.
Name of the remote write config, which if specified must be unique among remote write configs.
The name will be used in metrics and logging in place of a generated value to help users distinguish between remote write configs.
Configures the queue used to write to remote storage.
Configures the sending of series metadata to remote storage.
Metadata configuration is subject to change at any point or be removed in future releases.
Configures AWS's Signature Verification 4 signing process.
Signature Verification signs requests. To use the default credentials from the AWS SDK, use sigv4 {}.
sigv4 {}
Returns the class of this.
this
Returns a string representation of this.
This method is used to convert the values of string interpolation expressions to strings.
Returns this |> transform if this is non-null, and null otherwise.
this |> transform
null
This method is the complement of the ?? operator and the equivalent of an Option type's map and flatMap methods.
??
Option
map
flatMap
Tells if this object has a property with the given name.
name
Returns the value of the property with the given name.
Throws if a property with this name does not exist.
Returns null if a property with this name does not exist.
Converts this object to a Dynamic object.
Dynamic
Converts this object to a Map.
Map
write_relabel_configs
is relabeling applied to samples before sending them to the remote endpoint.