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.
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.