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 query from.
Name of the remote read config, which if specified must be unique among remote read configs.
The name will be used in metrics and logging in place of a generated value to help users distinguish between remote read configs.
An optional list of equality matchers which have to be present in a selector to query the remote read endpoint.
Timeout for requests to the remote read endpoint.
Default if omitted: 1.min
1.min
Whether reads should be made for queries for time ranges that the local storage should have complete data for.
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
Optional proxy URL.