Skip to content

Latest commit

 

History

History
1695 lines (1100 loc) · 37 KB

File metadata and controls

1695 lines (1100 loc) · 37 KB

scrape_configs

Subpackages

Index

Fields

fn withAlwaysScrapeClassicHistograms

withAlwaysScrapeClassicHistograms(value=true)

PARAMETERS:

  • value (boolean)
    • default value: true

Whether to scrape a classic histogram, even if it is also exposed as a native histogram.

fn withBodySizeLimit

withBodySizeLimit(value)

PARAMETERS:

  • value (integer)

An uncompressed response body larger than this many bytes will cause the scrape to fail. 0 means no limit.

fn withConvertClassicHistogramsToNhcb

withConvertClassicHistogramsToNhcb(value=true)

PARAMETERS:

  • value (boolean)
    • default value: true

Whether to convert all scraped classic histograms into a native histogram with custom buckets.

fn withEnableCompression

withEnableCompression(value=true)

PARAMETERS:

  • value (boolean)
    • default value: true

Indicator whether to request compressed response from the target.

fn withFallbackScrapeProtocol

withFallbackScrapeProtocol(value)

PARAMETERS:

  • value (string)

The fallback protocol to use if the Content-Type provided by the target is not provided, blank, or not one of the expected values. Supported values (case sensitive): PrometheusProto, OpenMetricsText0.0.1, OpenMetricsText1.0.0, PrometheusText1.0.0, PrometheusText0.0.4.

fn withHTTPClientConfig

withHTTPClientConfig(value)

PARAMETERS:

  • value (object)

HTTPClientConfig configures an HTTP client.

fn withHTTPClientConfigMixin

withHTTPClientConfigMixin(value)

PARAMETERS:

  • value (object)

HTTPClientConfig configures an HTTP client.

fn withHonorLabels

withHonorLabels(value=true)

PARAMETERS:

  • value (boolean)
    • default value: true

Indicator whether the scraped metrics should remain unmodified.

fn withHonorTimestamps

withHonorTimestamps(value=true)

PARAMETERS:

  • value (boolean)
    • default value: true

Indicator whether the scraped timestamps should be respected.

fn withJobName

withJobName(value)

PARAMETERS:

  • value (string)

The job name to which the job label is set by default.

fn withKeepDroppedTargets

withKeepDroppedTargets(value)

PARAMETERS:

  • value (integer)

Keep no more than this many dropped targets per job. 0 means no limit.

fn withLabelLimit

withLabelLimit(value)

PARAMETERS:

  • value (integer)

More than this many labels post metric-relabeling will cause the scrape to fail. 0 means no limit.

fn withLabelNameLengthLimit

withLabelNameLengthLimit(value)

PARAMETERS:

  • value (integer)

More than this label name length post metric-relabeling will cause the scrape to fail. 0 means no limit.

fn withLabelValueLengthLimit

withLabelValueLengthLimit(value)

PARAMETERS:

  • value (integer)

More than this label value length post metric-relabeling will cause the scrape to fail. 0 means no limit.

fn withMetricNameValidationScheme

withMetricNameValidationScheme(value)

PARAMETERS:

  • value (string)

Allow UTF8 Metric and Label Names.

fn withMetricRelabelConfigs

withMetricRelabelConfigs(value)

PARAMETERS:

  • value (array)

List of metric relabel configurations.

fn withMetricRelabelConfigsMixin

withMetricRelabelConfigsMixin(value)

PARAMETERS:

  • value (array)

List of metric relabel configurations.

fn withMetricsPath

withMetricsPath(value)

PARAMETERS:

  • value (string)

The HTTP resource path on which to fetch metrics from targets.

fn withNativeHistogramBucketLimit

withNativeHistogramBucketLimit(value)

PARAMETERS:

  • value (integer)

If there are more than this many buckets in a native histogram, buckets will be merged to stay within the limit.

fn withNativeHistogramMinBucketFactor

withNativeHistogramMinBucketFactor(value)

PARAMETERS:

  • value (number)

If the growth factor of one bucket to the next is smaller than this, buckets will be merged to increase the factor sufficiently.

fn withParams

withParams(value)

PARAMETERS:

  • value (object)

A set of query parameters with which the target is scraped.

fn withParamsMixin

withParamsMixin(value)

PARAMETERS:

  • value (object)

A set of query parameters with which the target is scraped.

fn withRelabelConfigs

withRelabelConfigs(value)

PARAMETERS:

  • value (array)

List of target relabel configurations.

fn withRelabelConfigsMixin

withRelabelConfigsMixin(value)

PARAMETERS:

  • value (array)

List of target relabel configurations.

fn withSampleLimit

withSampleLimit(value)

PARAMETERS:

  • value (integer)

More than this many samples post metric-relabeling will cause the scrape to fail. 0 means no limit.

fn withScheme

withScheme(value)

PARAMETERS:

  • value (string)

The URL scheme with which to fetch metrics from targets.

fn withScrapeFailureLogFile

withScrapeFailureLogFile(value)

PARAMETERS:

  • value (string)

File to which scrape failures are logged.

fn withScrapeInterval

withScrapeInterval(value)

PARAMETERS:

  • value (integer)

How frequently to scrape the targets of this scrape config.

fn withScrapeProtocols

withScrapeProtocols(value)

PARAMETERS:

  • value (array)

The protocols to negotiate during a scrape. It tells clients what protocol are accepted by Prometheus and with what preference (most wanted is first). Supported values (case sensitive): PrometheusProto, OpenMetricsText0.0.1, OpenMetricsText1.0.0, PrometheusText1.0.0, PrometheusText0.0.4.

fn withScrapeProtocolsMixin

withScrapeProtocolsMixin(value)

PARAMETERS:

  • value (array)

The protocols to negotiate during a scrape. It tells clients what protocol are accepted by Prometheus and with what preference (most wanted is first). Supported values (case sensitive): PrometheusProto, OpenMetricsText0.0.1, OpenMetricsText1.0.0, PrometheusText1.0.0, PrometheusText0.0.4.

fn withScrapeTimeout

withScrapeTimeout(value)

PARAMETERS:

  • value (integer)

The timeout for scraping targets of this config.

fn withTargetLimit

withTargetLimit(value)

PARAMETERS:

  • value (integer)

More than this many targets after the target relabeling will cause the scrapes to fail. 0 means no limit.

fn withTrackTimestampsStaleness

withTrackTimestampsStaleness(value=true)

PARAMETERS:

  • value (boolean)
    • default value: true

Indicator whether to track the staleness of the scraped timestamps.

obj HTTPClientConfig

fn HTTPClientConfig.withAuthorization

HTTPClientConfig.withAuthorization(value)

PARAMETERS:

  • value (object)

The HTTP authorization credentials for the targets.

fn HTTPClientConfig.withAuthorizationMixin

HTTPClientConfig.withAuthorizationMixin(value)

PARAMETERS:

  • value (object)

The HTTP authorization credentials for the targets.

fn HTTPClientConfig.withBasicAuth

HTTPClientConfig.withBasicAuth(value)

PARAMETERS:

  • value (object)

BasicAuth contains basic HTTP authentication credentials.

fn HTTPClientConfig.withBasicAuthMixin

HTTPClientConfig.withBasicAuthMixin(value)

PARAMETERS:

  • value (object)

BasicAuth contains basic HTTP authentication credentials.

fn HTTPClientConfig.withBearerToken

HTTPClientConfig.withBearerToken(value)

PARAMETERS:

  • value (string)

The bearer token for the targets. Deprecated in favour of Authorization.Credentials.

fn HTTPClientConfig.withBearerTokenFile

HTTPClientConfig.withBearerTokenFile(value)

PARAMETERS:

  • value (string)

The bearer token file for the targets. Deprecated in favour of Authorization.CredentialsFile.

fn HTTPClientConfig.withEnableHttp2

HTTPClientConfig.withEnableHttp2(value=true)

PARAMETERS:

  • value (boolean)
    • default value: true

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.

fn HTTPClientConfig.withFollowRedirects

HTTPClientConfig.withFollowRedirects(value=true)

PARAMETERS:

  • value (boolean)
    • default value: true

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.

fn HTTPClientConfig.withHttpHeaders

HTTPClientConfig.withHttpHeaders(value)

PARAMETERS:

  • value (object)

Headers represents the configuration for HTTP headers.

fn HTTPClientConfig.withHttpHeadersMixin

HTTPClientConfig.withHttpHeadersMixin(value)

PARAMETERS:

  • value (object)

Headers represents the configuration for HTTP headers.

fn HTTPClientConfig.withNoProxy

HTTPClientConfig.withNoProxy(value)

PARAMETERS:

  • value (string)

NoProxy contains addresses that should not use a proxy.

fn HTTPClientConfig.withOauth2

HTTPClientConfig.withOauth2(value)

PARAMETERS:

  • value (object)

OAuth2 is the oauth2 client configuration.

fn HTTPClientConfig.withOauth2Mixin

HTTPClientConfig.withOauth2Mixin(value)

PARAMETERS:

  • value (object)

OAuth2 is the oauth2 client configuration.

fn HTTPClientConfig.withProxyConnectHeader

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.

fn HTTPClientConfig.withProxyConnectHeaderMixin

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.

fn HTTPClientConfig.withProxyFromEnvironment

HTTPClientConfig.withProxyFromEnvironment(value=true)

PARAMETERS:

  • value (boolean)
    • default value: true

ProxyFromEnvironment makes use of net/http ProxyFromEnvironment function to determine proxies.

fn HTTPClientConfig.withProxyUrl

HTTPClientConfig.withProxyUrl(value)

PARAMETERS:

  • value (object)

URL is a custom URL type that allows validation at configuration load time.

fn HTTPClientConfig.withProxyUrlMixin

HTTPClientConfig.withProxyUrlMixin(value)

PARAMETERS:

  • value (object)

URL is a custom URL type that allows validation at configuration load time.

fn HTTPClientConfig.withTlsConfig

HTTPClientConfig.withTlsConfig(value)

PARAMETERS:

  • value (object)

TLSConfig configures the options for TLS connections.

fn HTTPClientConfig.withTlsConfigMixin

HTTPClientConfig.withTlsConfigMixin(value)

PARAMETERS:

  • value (object)

TLSConfig configures the options for TLS connections.

obj HTTPClientConfig.authorization

fn HTTPClientConfig.authorization.withCredentials
HTTPClientConfig.authorization.withCredentials(value)

PARAMETERS:

  • value (string)
fn HTTPClientConfig.authorization.withCredentialsFile
HTTPClientConfig.authorization.withCredentialsFile(value)

PARAMETERS:

  • value (string)
fn HTTPClientConfig.authorization.withCredentialsRef
HTTPClientConfig.authorization.withCredentialsRef(value)

PARAMETERS:

  • value (string)

CredentialsRef is the name of the secret within the secret manager to use as credentials.

fn HTTPClientConfig.authorization.withType
HTTPClientConfig.authorization.withType(value)

PARAMETERS:

  • value (string)

obj HTTPClientConfig.basic_auth

fn HTTPClientConfig.basic_auth.withPassword
HTTPClientConfig.basic_auth.withPassword(value)

PARAMETERS:

  • value (string)
fn HTTPClientConfig.basic_auth.withPasswordFile
HTTPClientConfig.basic_auth.withPasswordFile(value)

PARAMETERS:

  • value (string)
fn HTTPClientConfig.basic_auth.withPasswordRef
HTTPClientConfig.basic_auth.withPasswordRef(value)

PARAMETERS:

  • value (string)

PasswordRef is the name of the secret within the secret manager to use as the password.

fn HTTPClientConfig.basic_auth.withUsername
HTTPClientConfig.basic_auth.withUsername(value)

PARAMETERS:

  • value (string)
fn HTTPClientConfig.basic_auth.withUsernameFile
HTTPClientConfig.basic_auth.withUsernameFile(value)

PARAMETERS:

  • value (string)
fn HTTPClientConfig.basic_auth.withUsernameRef
HTTPClientConfig.basic_auth.withUsernameRef(value)

PARAMETERS:

  • value (string)

UsernameRef is the name of the secret within the secret manager to use as the username.

obj HTTPClientConfig.http_headers

fn HTTPClientConfig.http_headers.withHeaders
HTTPClientConfig.http_headers.withHeaders(value)

PARAMETERS:

  • value (object)
fn HTTPClientConfig.http_headers.withHeadersMixin
HTTPClientConfig.http_headers.withHeadersMixin(value)

PARAMETERS:

  • value (object)

obj HTTPClientConfig.oauth2

fn HTTPClientConfig.oauth2.withClientId
HTTPClientConfig.oauth2.withClientId(value)

PARAMETERS:

  • value (string)
fn HTTPClientConfig.oauth2.withClientSecret
HTTPClientConfig.oauth2.withClientSecret(value)

PARAMETERS:

  • value (string)
fn HTTPClientConfig.oauth2.withClientSecretFile
HTTPClientConfig.oauth2.withClientSecretFile(value)

PARAMETERS:

  • value (string)
fn HTTPClientConfig.oauth2.withClientSecretRef
HTTPClientConfig.oauth2.withClientSecretRef(value)

PARAMETERS:

  • value (string)

ClientSecretRef is the name of the secret within the secret manager to use as the client secret.

fn HTTPClientConfig.oauth2.withEndpointParams
HTTPClientConfig.oauth2.withEndpointParams(value)

PARAMETERS:

  • value (object)
fn HTTPClientConfig.oauth2.withEndpointParamsMixin
HTTPClientConfig.oauth2.withEndpointParamsMixin(value)

PARAMETERS:

  • value (object)
fn HTTPClientConfig.oauth2.withNoProxy
HTTPClientConfig.oauth2.withNoProxy(value)

PARAMETERS:

  • value (string)

NoProxy contains addresses that should not use a proxy.

fn HTTPClientConfig.oauth2.withProxyConnectHeader
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.

fn HTTPClientConfig.oauth2.withProxyConnectHeaderMixin
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.

fn HTTPClientConfig.oauth2.withProxyFromEnvironment
HTTPClientConfig.oauth2.withProxyFromEnvironment(value=true)

PARAMETERS:

  • value (boolean)
    • default value: true

ProxyFromEnvironment makes use of net/http ProxyFromEnvironment function to determine proxies.

fn HTTPClientConfig.oauth2.withProxyUrl
HTTPClientConfig.oauth2.withProxyUrl(value)

PARAMETERS:

  • value (object)

URL is a custom URL type that allows validation at configuration load time.

fn HTTPClientConfig.oauth2.withProxyUrlMixin
HTTPClientConfig.oauth2.withProxyUrlMixin(value)

PARAMETERS:

  • value (object)

URL is a custom URL type that allows validation at configuration load time.

fn HTTPClientConfig.oauth2.withScopes
HTTPClientConfig.oauth2.withScopes(value)

PARAMETERS:

  • value (array)
fn HTTPClientConfig.oauth2.withScopesMixin
HTTPClientConfig.oauth2.withScopesMixin(value)

PARAMETERS:

  • value (array)
fn HTTPClientConfig.oauth2.withTlsConfig
HTTPClientConfig.oauth2.withTlsConfig(value)

PARAMETERS:

  • value (object)

TLSConfig configures the options for TLS connections.

fn HTTPClientConfig.oauth2.withTlsConfigMixin
HTTPClientConfig.oauth2.withTlsConfigMixin(value)

PARAMETERS:

  • value (object)

TLSConfig configures the options for TLS connections.

fn HTTPClientConfig.oauth2.withTokenUrl
HTTPClientConfig.oauth2.withTokenUrl(value)

PARAMETERS:

  • value (string)
obj HTTPClientConfig.oauth2.proxy_url
fn HTTPClientConfig.oauth2.proxy_url.withForceQuery
HTTPClientConfig.oauth2.proxy_url.withForceQuery(value=true)

PARAMETERS:

  • value (boolean)
    • default value: true
fn HTTPClientConfig.oauth2.proxy_url.withFragment
HTTPClientConfig.oauth2.proxy_url.withFragment(value)

PARAMETERS:

  • value (string)
fn HTTPClientConfig.oauth2.proxy_url.withHost
HTTPClientConfig.oauth2.proxy_url.withHost(value)

PARAMETERS:

  • value (string)
fn HTTPClientConfig.oauth2.proxy_url.withOmitHost
HTTPClientConfig.oauth2.proxy_url.withOmitHost(value=true)

PARAMETERS:

  • value (boolean)
    • default value: true
fn HTTPClientConfig.oauth2.proxy_url.withOpaque
HTTPClientConfig.oauth2.proxy_url.withOpaque(value)

PARAMETERS:

  • value (string)
fn HTTPClientConfig.oauth2.proxy_url.withPath
HTTPClientConfig.oauth2.proxy_url.withPath(value)

PARAMETERS:

  • value (string)
fn HTTPClientConfig.oauth2.proxy_url.withRawFragment
HTTPClientConfig.oauth2.proxy_url.withRawFragment(value)

PARAMETERS:

  • value (string)
fn HTTPClientConfig.oauth2.proxy_url.withRawPath
HTTPClientConfig.oauth2.proxy_url.withRawPath(value)

PARAMETERS:

  • value (string)
fn HTTPClientConfig.oauth2.proxy_url.withRawQuery
HTTPClientConfig.oauth2.proxy_url.withRawQuery(value)

PARAMETERS:

  • value (string)
fn HTTPClientConfig.oauth2.proxy_url.withScheme
HTTPClientConfig.oauth2.proxy_url.withScheme(value)

PARAMETERS:

  • value (string)
fn HTTPClientConfig.oauth2.proxy_url.withUser
HTTPClientConfig.oauth2.proxy_url.withUser(value)

PARAMETERS:

  • value (object)
fn HTTPClientConfig.oauth2.proxy_url.withUserMixin
HTTPClientConfig.oauth2.proxy_url.withUserMixin(value)

PARAMETERS:

  • value (object)
obj HTTPClientConfig.oauth2.tls_config
fn HTTPClientConfig.oauth2.tls_config.withCa
HTTPClientConfig.oauth2.tls_config.withCa(value)

PARAMETERS:

  • value (string)

Text of the CA cert to use for the targets.

fn HTTPClientConfig.oauth2.tls_config.withCaFile
HTTPClientConfig.oauth2.tls_config.withCaFile(value)

PARAMETERS:

  • value (string)

The CA cert to use for the targets.

fn HTTPClientConfig.oauth2.tls_config.withCaRef
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.

fn HTTPClientConfig.oauth2.tls_config.withCert
HTTPClientConfig.oauth2.tls_config.withCert(value)

PARAMETERS:

  • value (string)

Text of the client cert file for the targets.

fn HTTPClientConfig.oauth2.tls_config.withCertFile
HTTPClientConfig.oauth2.tls_config.withCertFile(value)

PARAMETERS:

  • value (string)

The client cert file for the targets.

fn HTTPClientConfig.oauth2.tls_config.withCertRef
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.

fn HTTPClientConfig.oauth2.tls_config.withInsecureSkipVerify
HTTPClientConfig.oauth2.tls_config.withInsecureSkipVerify(value=true)

PARAMETERS:

  • value (boolean)
    • default value: true

Disable target certificate validation.

fn HTTPClientConfig.oauth2.tls_config.withKey
HTTPClientConfig.oauth2.tls_config.withKey(value)

PARAMETERS:

  • value (string)

Text of the client key file for the targets.

fn HTTPClientConfig.oauth2.tls_config.withKeyFile
HTTPClientConfig.oauth2.tls_config.withKeyFile(value)

PARAMETERS:

  • value (string)

The client key file for the targets.

fn HTTPClientConfig.oauth2.tls_config.withKeyRef
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.

fn HTTPClientConfig.oauth2.tls_config.withMaxVersion
HTTPClientConfig.oauth2.tls_config.withMaxVersion(value)

PARAMETERS:

  • value (integer)

Maximum TLS version.

fn HTTPClientConfig.oauth2.tls_config.withMinVersion
HTTPClientConfig.oauth2.tls_config.withMinVersion(value)

PARAMETERS:

  • value (integer)

Minimum TLS version.

fn HTTPClientConfig.oauth2.tls_config.withServerName
HTTPClientConfig.oauth2.tls_config.withServerName(value)

PARAMETERS:

  • value (string)

Used to verify the hostname for the targets.

obj HTTPClientConfig.proxy_url

fn HTTPClientConfig.proxy_url.withForceQuery
HTTPClientConfig.proxy_url.withForceQuery(value=true)

PARAMETERS:

  • value (boolean)
    • default value: true
fn HTTPClientConfig.proxy_url.withFragment
HTTPClientConfig.proxy_url.withFragment(value)

PARAMETERS:

  • value (string)
fn HTTPClientConfig.proxy_url.withHost
HTTPClientConfig.proxy_url.withHost(value)

PARAMETERS:

  • value (string)
fn HTTPClientConfig.proxy_url.withOmitHost
HTTPClientConfig.proxy_url.withOmitHost(value=true)

PARAMETERS:

  • value (boolean)
    • default value: true
fn HTTPClientConfig.proxy_url.withOpaque
HTTPClientConfig.proxy_url.withOpaque(value)

PARAMETERS:

  • value (string)
fn HTTPClientConfig.proxy_url.withPath
HTTPClientConfig.proxy_url.withPath(value)

PARAMETERS:

  • value (string)
fn HTTPClientConfig.proxy_url.withRawFragment
HTTPClientConfig.proxy_url.withRawFragment(value)

PARAMETERS:

  • value (string)
fn HTTPClientConfig.proxy_url.withRawPath
HTTPClientConfig.proxy_url.withRawPath(value)

PARAMETERS:

  • value (string)
fn HTTPClientConfig.proxy_url.withRawQuery
HTTPClientConfig.proxy_url.withRawQuery(value)

PARAMETERS:

  • value (string)
fn HTTPClientConfig.proxy_url.withScheme
HTTPClientConfig.proxy_url.withScheme(value)

PARAMETERS:

  • value (string)
fn HTTPClientConfig.proxy_url.withUser
HTTPClientConfig.proxy_url.withUser(value)

PARAMETERS:

  • value (object)
fn HTTPClientConfig.proxy_url.withUserMixin
HTTPClientConfig.proxy_url.withUserMixin(value)

PARAMETERS:

  • value (object)

obj HTTPClientConfig.tls_config

fn HTTPClientConfig.tls_config.withCa
HTTPClientConfig.tls_config.withCa(value)

PARAMETERS:

  • value (string)

Text of the CA cert to use for the targets.

fn HTTPClientConfig.tls_config.withCaFile
HTTPClientConfig.tls_config.withCaFile(value)

PARAMETERS:

  • value (string)

The CA cert to use for the targets.

fn HTTPClientConfig.tls_config.withCaRef
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.

fn HTTPClientConfig.tls_config.withCert
HTTPClientConfig.tls_config.withCert(value)

PARAMETERS:

  • value (string)

Text of the client cert file for the targets.

fn HTTPClientConfig.tls_config.withCertFile
HTTPClientConfig.tls_config.withCertFile(value)

PARAMETERS:

  • value (string)

The client cert file for the targets.

fn HTTPClientConfig.tls_config.withCertRef
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.

fn HTTPClientConfig.tls_config.withInsecureSkipVerify
HTTPClientConfig.tls_config.withInsecureSkipVerify(value=true)

PARAMETERS:

  • value (boolean)
    • default value: true

Disable target certificate validation.

fn HTTPClientConfig.tls_config.withKey
HTTPClientConfig.tls_config.withKey(value)

PARAMETERS:

  • value (string)

Text of the client key file for the targets.

fn HTTPClientConfig.tls_config.withKeyFile
HTTPClientConfig.tls_config.withKeyFile(value)

PARAMETERS:

  • value (string)

The client key file for the targets.

fn HTTPClientConfig.tls_config.withKeyRef
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.

fn HTTPClientConfig.tls_config.withMaxVersion
HTTPClientConfig.tls_config.withMaxVersion(value)

PARAMETERS:

  • value (integer)

Maximum TLS version.

fn HTTPClientConfig.tls_config.withMinVersion
HTTPClientConfig.tls_config.withMinVersion(value)

PARAMETERS:

  • value (integer)

Minimum TLS version.

fn HTTPClientConfig.tls_config.withServerName
HTTPClientConfig.tls_config.withServerName(value)

PARAMETERS:

  • value (string)

Used to verify the hostname for the targets.