fn withChunkedReadLimit(value)fn withFilterExternalLabels(value=true)fn withHTTPClientConfig(value)fn withHTTPClientConfigMixin(value)fn withHeaders(value)fn withHeadersMixin(value)fn withName(value)fn withReadRecent(value=true)fn withRemoteTimeout(value)fn withRequiredMatchers(value)fn withRequiredMatchersMixin(value)fn withUrl(value)fn withUrlMixin(value)obj HTTPClientConfigfn withAuthorization(value)fn withAuthorizationMixin(value)fn withBasicAuth(value)fn withBasicAuthMixin(value)fn withBearerToken(value)fn withBearerTokenFile(value)fn withEnableHttp2(value=true)fn withFollowRedirects(value=true)fn withHttpHeaders(value)fn withHttpHeadersMixin(value)fn withNoProxy(value)fn withOauth2(value)fn withOauth2Mixin(value)fn withProxyConnectHeader(value)fn withProxyConnectHeaderMixin(value)fn withProxyFromEnvironment(value=true)fn withProxyUrl(value)fn withProxyUrlMixin(value)fn withTlsConfig(value)fn withTlsConfigMixin(value)obj authorizationobj basic_authobj http_headersobj oauth2fn withClientId(value)fn withClientSecret(value)fn withClientSecretFile(value)fn withClientSecretRef(value)fn withEndpointParams(value)fn withEndpointParamsMixin(value)fn withNoProxy(value)fn withProxyConnectHeader(value)fn withProxyConnectHeaderMixin(value)fn withProxyFromEnvironment(value=true)fn withProxyUrl(value)fn withProxyUrlMixin(value)fn withScopes(value)fn withScopesMixin(value)fn withTlsConfig(value)fn withTlsConfigMixin(value)fn withTokenUrl(value)obj proxy_urlobj tls_config
obj proxy_urlobj tls_config
obj url
withChunkedReadLimit(value)PARAMETERS:
- value (
integer)
withFilterExternalLabels(value=true)PARAMETERS:
- value (
boolean)- default value:
true
- default value:
Whether to use the external labels as selectors for the remote read endpoint.
withHTTPClientConfig(value)PARAMETERS:
- value (
object)
HTTPClientConfig configures an HTTP client.
withHTTPClientConfigMixin(value)PARAMETERS:
- value (
object)
HTTPClientConfig configures an HTTP client.
withHeaders(value)PARAMETERS:
- value (
object)
withHeadersMixin(value)PARAMETERS:
- value (
object)
withName(value)PARAMETERS:
- value (
string)
withReadRecent(value=true)PARAMETERS:
- value (
boolean)- default value:
true
- default value:
withRemoteTimeout(value)PARAMETERS:
- value (
integer)
withRequiredMatchers(value)PARAMETERS:
- value (
object)
A LabelSet is a collection of LabelName and LabelValue pairs.
withRequiredMatchersMixin(value)PARAMETERS:
- value (
object)
A LabelSet is a collection of LabelName and LabelValue pairs.
withUrl(value)PARAMETERS:
- value (
object)
URL is a custom URL type that allows validation at configuration load time.
withUrlMixin(value)PARAMETERS:
- value (
object)
URL is a custom URL type that allows validation at configuration load time.
HTTPClientConfig.withAuthorization(value)PARAMETERS:
- value (
object)
The HTTP authorization credentials for the targets.
HTTPClientConfig.withAuthorizationMixin(value)PARAMETERS:
- value (
object)
The HTTP authorization credentials for the targets.
HTTPClientConfig.withBasicAuth(value)PARAMETERS:
- value (
object)
BasicAuth contains basic HTTP authentication credentials.
HTTPClientConfig.withBasicAuthMixin(value)PARAMETERS:
- value (
object)
BasicAuth contains basic HTTP authentication credentials.
HTTPClientConfig.withBearerToken(value)PARAMETERS:
- value (
string)
The bearer token for the targets. Deprecated in favour of Authorization.Credentials.
HTTPClientConfig.withBearerTokenFile(value)PARAMETERS:
- value (
string)
The bearer token file for the targets. Deprecated in favour of Authorization.CredentialsFile.
HTTPClientConfig.withEnableHttp2(value=true)PARAMETERS:
- value (
boolean)- default value:
true
- default value:
EnableHTTP2 specifies whether the client should configure HTTP2. The omitempty flag is not set, because it would be hidden from the marshalled configuration when set to false.
HTTPClientConfig.withFollowRedirects(value=true)PARAMETERS:
- value (
boolean)- default value:
true
- default value:
FollowRedirects specifies whether the client should follow HTTP 3xx redirects. The omitempty flag is not set, because it would be hidden from the marshalled configuration when set to false.
HTTPClientConfig.withHttpHeaders(value)PARAMETERS:
- value (
object)
Headers represents the configuration for HTTP headers.
HTTPClientConfig.withHttpHeadersMixin(value)PARAMETERS:
- value (
object)
Headers represents the configuration for HTTP headers.
HTTPClientConfig.withNoProxy(value)PARAMETERS:
- value (
string)
NoProxy contains addresses that should not use a proxy.
HTTPClientConfig.withOauth2(value)PARAMETERS:
- value (
object)
OAuth2 is the oauth2 client configuration.
HTTPClientConfig.withOauth2Mixin(value)PARAMETERS:
- value (
object)
OAuth2 is the oauth2 client configuration.
HTTPClientConfig.withProxyConnectHeader(value)PARAMETERS:
- value (
object)
ProxyConnectHeader optionally specifies headers to send to proxies during CONNECT requests. Assume that at least some of these headers are going to contain secrets and use Secret as the value type instead of string.
HTTPClientConfig.withProxyConnectHeaderMixin(value)PARAMETERS:
- value (
object)
ProxyConnectHeader optionally specifies headers to send to proxies during CONNECT requests. Assume that at least some of these headers are going to contain secrets and use Secret as the value type instead of string.
HTTPClientConfig.withProxyFromEnvironment(value=true)PARAMETERS:
- value (
boolean)- default value:
true
- default value:
ProxyFromEnvironment makes use of net/http ProxyFromEnvironment function to determine proxies.
HTTPClientConfig.withProxyUrl(value)PARAMETERS:
- value (
object)
URL is a custom URL type that allows validation at configuration load time.
HTTPClientConfig.withProxyUrlMixin(value)PARAMETERS:
- value (
object)
URL is a custom URL type that allows validation at configuration load time.
HTTPClientConfig.withTlsConfig(value)PARAMETERS:
- value (
object)
TLSConfig configures the options for TLS connections.
HTTPClientConfig.withTlsConfigMixin(value)PARAMETERS:
- value (
object)
TLSConfig configures the options for TLS connections.
HTTPClientConfig.authorization.withCredentials(value)PARAMETERS:
- value (
string)
HTTPClientConfig.authorization.withCredentialsFile(value)PARAMETERS:
- value (
string)
HTTPClientConfig.authorization.withCredentialsRef(value)PARAMETERS:
- value (
string)
CredentialsRef is the name of the secret within the secret manager to use as credentials.
HTTPClientConfig.authorization.withType(value)PARAMETERS:
- value (
string)
HTTPClientConfig.basic_auth.withPassword(value)PARAMETERS:
- value (
string)
HTTPClientConfig.basic_auth.withPasswordFile(value)PARAMETERS:
- value (
string)
HTTPClientConfig.basic_auth.withPasswordRef(value)PARAMETERS:
- value (
string)
PasswordRef is the name of the secret within the secret manager to use as the password.
HTTPClientConfig.basic_auth.withUsername(value)PARAMETERS:
- value (
string)
HTTPClientConfig.basic_auth.withUsernameFile(value)PARAMETERS:
- value (
string)
HTTPClientConfig.basic_auth.withUsernameRef(value)PARAMETERS:
- value (
string)
UsernameRef is the name of the secret within the secret manager to use as the username.
HTTPClientConfig.http_headers.withHeaders(value)PARAMETERS:
- value (
object)
HTTPClientConfig.http_headers.withHeadersMixin(value)PARAMETERS:
- value (
object)
HTTPClientConfig.oauth2.withClientId(value)PARAMETERS:
- value (
string)
HTTPClientConfig.oauth2.withClientSecret(value)PARAMETERS:
- value (
string)
HTTPClientConfig.oauth2.withClientSecretFile(value)PARAMETERS:
- value (
string)
HTTPClientConfig.oauth2.withClientSecretRef(value)PARAMETERS:
- value (
string)
ClientSecretRef is the name of the secret within the secret manager to use as the client secret.
HTTPClientConfig.oauth2.withEndpointParams(value)PARAMETERS:
- value (
object)
HTTPClientConfig.oauth2.withEndpointParamsMixin(value)PARAMETERS:
- value (
object)
HTTPClientConfig.oauth2.withNoProxy(value)PARAMETERS:
- value (
string)
NoProxy contains addresses that should not use a proxy.
HTTPClientConfig.oauth2.withProxyConnectHeader(value)PARAMETERS:
- value (
object)
ProxyConnectHeader optionally specifies headers to send to proxies during CONNECT requests. Assume that at least some of these headers are going to contain secrets and use Secret as the value type instead of string.
HTTPClientConfig.oauth2.withProxyConnectHeaderMixin(value)PARAMETERS:
- value (
object)
ProxyConnectHeader optionally specifies headers to send to proxies during CONNECT requests. Assume that at least some of these headers are going to contain secrets and use Secret as the value type instead of string.
HTTPClientConfig.oauth2.withProxyFromEnvironment(value=true)PARAMETERS:
- value (
boolean)- default value:
true
- default value:
ProxyFromEnvironment makes use of net/http ProxyFromEnvironment function to determine proxies.
HTTPClientConfig.oauth2.withProxyUrl(value)PARAMETERS:
- value (
object)
URL is a custom URL type that allows validation at configuration load time.
HTTPClientConfig.oauth2.withProxyUrlMixin(value)PARAMETERS:
- value (
object)
URL is a custom URL type that allows validation at configuration load time.
HTTPClientConfig.oauth2.withScopes(value)PARAMETERS:
- value (
array)
HTTPClientConfig.oauth2.withScopesMixin(value)PARAMETERS:
- value (
array)
HTTPClientConfig.oauth2.withTlsConfig(value)PARAMETERS:
- value (
object)
TLSConfig configures the options for TLS connections.
HTTPClientConfig.oauth2.withTlsConfigMixin(value)PARAMETERS:
- value (
object)
TLSConfig configures the options for TLS connections.
HTTPClientConfig.oauth2.withTokenUrl(value)PARAMETERS:
- value (
string)
HTTPClientConfig.oauth2.proxy_url.withForceQuery(value=true)PARAMETERS:
- value (
boolean)- default value:
true
- default value:
HTTPClientConfig.oauth2.proxy_url.withFragment(value)PARAMETERS:
- value (
string)
HTTPClientConfig.oauth2.proxy_url.withHost(value)PARAMETERS:
- value (
string)
HTTPClientConfig.oauth2.proxy_url.withOmitHost(value=true)PARAMETERS:
- value (
boolean)- default value:
true
- default value:
HTTPClientConfig.oauth2.proxy_url.withOpaque(value)PARAMETERS:
- value (
string)
HTTPClientConfig.oauth2.proxy_url.withPath(value)PARAMETERS:
- value (
string)
HTTPClientConfig.oauth2.proxy_url.withRawFragment(value)PARAMETERS:
- value (
string)
HTTPClientConfig.oauth2.proxy_url.withRawPath(value)PARAMETERS:
- value (
string)
HTTPClientConfig.oauth2.proxy_url.withRawQuery(value)PARAMETERS:
- value (
string)
HTTPClientConfig.oauth2.proxy_url.withScheme(value)PARAMETERS:
- value (
string)
HTTPClientConfig.oauth2.proxy_url.withUser(value)PARAMETERS:
- value (
object)
HTTPClientConfig.oauth2.proxy_url.withUserMixin(value)PARAMETERS:
- value (
object)
HTTPClientConfig.oauth2.tls_config.withCa(value)PARAMETERS:
- value (
string)
Text of the CA cert to use for the targets.
HTTPClientConfig.oauth2.tls_config.withCaFile(value)PARAMETERS:
- value (
string)
The CA cert to use for the targets.
HTTPClientConfig.oauth2.tls_config.withCaRef(value)PARAMETERS:
- value (
string)
CARef is the name of the secret within the secret manager to use as the CA cert for the targets.
HTTPClientConfig.oauth2.tls_config.withCert(value)PARAMETERS:
- value (
string)
Text of the client cert file for the targets.
HTTPClientConfig.oauth2.tls_config.withCertFile(value)PARAMETERS:
- value (
string)
The client cert file for the targets.
HTTPClientConfig.oauth2.tls_config.withCertRef(value)PARAMETERS:
- value (
string)
CertRef is the name of the secret within the secret manager to use as the client cert for the targets.
HTTPClientConfig.oauth2.tls_config.withInsecureSkipVerify(value=true)PARAMETERS:
- value (
boolean)- default value:
true
- default value:
Disable target certificate validation.
HTTPClientConfig.oauth2.tls_config.withKey(value)PARAMETERS:
- value (
string)
Text of the client key file for the targets.
HTTPClientConfig.oauth2.tls_config.withKeyFile(value)PARAMETERS:
- value (
string)
The client key file for the targets.
HTTPClientConfig.oauth2.tls_config.withKeyRef(value)PARAMETERS:
- value (
string)
KeyRef is the name of the secret within the secret manager to use as the client key for the targets.
HTTPClientConfig.oauth2.tls_config.withMaxVersion(value)PARAMETERS:
- value (
integer)
Maximum TLS version.
HTTPClientConfig.oauth2.tls_config.withMinVersion(value)PARAMETERS:
- value (
integer)
Minimum TLS version.
HTTPClientConfig.oauth2.tls_config.withServerName(value)PARAMETERS:
- value (
string)
Used to verify the hostname for the targets.
HTTPClientConfig.proxy_url.withForceQuery(value=true)PARAMETERS:
- value (
boolean)- default value:
true
- default value:
HTTPClientConfig.proxy_url.withFragment(value)PARAMETERS:
- value (
string)
HTTPClientConfig.proxy_url.withHost(value)PARAMETERS:
- value (
string)
HTTPClientConfig.proxy_url.withOmitHost(value=true)PARAMETERS:
- value (
boolean)- default value:
true
- default value:
HTTPClientConfig.proxy_url.withOpaque(value)PARAMETERS:
- value (
string)
HTTPClientConfig.proxy_url.withPath(value)PARAMETERS:
- value (
string)
HTTPClientConfig.proxy_url.withRawFragment(value)PARAMETERS:
- value (
string)
HTTPClientConfig.proxy_url.withRawPath(value)PARAMETERS:
- value (
string)
HTTPClientConfig.proxy_url.withRawQuery(value)PARAMETERS:
- value (
string)
HTTPClientConfig.proxy_url.withScheme(value)PARAMETERS:
- value (
string)
HTTPClientConfig.proxy_url.withUser(value)PARAMETERS:
- value (
object)
HTTPClientConfig.proxy_url.withUserMixin(value)PARAMETERS:
- value (
object)
HTTPClientConfig.tls_config.withCa(value)PARAMETERS:
- value (
string)
Text of the CA cert to use for the targets.
HTTPClientConfig.tls_config.withCaFile(value)PARAMETERS:
- value (
string)
The CA cert to use for the targets.
HTTPClientConfig.tls_config.withCaRef(value)PARAMETERS:
- value (
string)
CARef is the name of the secret within the secret manager to use as the CA cert for the targets.
HTTPClientConfig.tls_config.withCert(value)PARAMETERS:
- value (
string)
Text of the client cert file for the targets.
HTTPClientConfig.tls_config.withCertFile(value)PARAMETERS:
- value (
string)
The client cert file for the targets.
HTTPClientConfig.tls_config.withCertRef(value)PARAMETERS:
- value (
string)
CertRef is the name of the secret within the secret manager to use as the client cert for the targets.
HTTPClientConfig.tls_config.withInsecureSkipVerify(value=true)PARAMETERS:
- value (
boolean)- default value:
true
- default value:
Disable target certificate validation.
HTTPClientConfig.tls_config.withKey(value)PARAMETERS:
- value (
string)
Text of the client key file for the targets.
HTTPClientConfig.tls_config.withKeyFile(value)PARAMETERS:
- value (
string)
The client key file for the targets.
HTTPClientConfig.tls_config.withKeyRef(value)PARAMETERS:
- value (
string)
KeyRef is the name of the secret within the secret manager to use as the client key for the targets.
HTTPClientConfig.tls_config.withMaxVersion(value)PARAMETERS:
- value (
integer)
Maximum TLS version.
HTTPClientConfig.tls_config.withMinVersion(value)PARAMETERS:
- value (
integer)
Minimum TLS version.
HTTPClientConfig.tls_config.withServerName(value)PARAMETERS:
- value (
string)
Used to verify the hostname for the targets.
url.withForceQuery(value=true)PARAMETERS:
- value (
boolean)- default value:
true
- default value:
url.withFragment(value)PARAMETERS:
- value (
string)
url.withHost(value)PARAMETERS:
- value (
string)
url.withOmitHost(value=true)PARAMETERS:
- value (
boolean)- default value:
true
- default value:
url.withOpaque(value)PARAMETERS:
- value (
string)
url.withPath(value)PARAMETERS:
- value (
string)
url.withRawFragment(value)PARAMETERS:
- value (
string)
url.withRawPath(value)PARAMETERS:
- value (
string)
url.withRawQuery(value)PARAMETERS:
- value (
string)
url.withScheme(value)PARAMETERS:
- value (
string)
url.withUser(value)PARAMETERS:
- value (
object)
url.withUserMixin(value)PARAMETERS:
- value (
object)