Package com.datadog.api.client.v2.model
Class ObservabilityPipelinePrometheusRemoteWriteDestination
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelinePrometheusRemoteWriteDestination
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelinePrometheusRemoteWriteDestination
extends Object
The
prometheus_remote_write destination forwards metrics to an endpoint that
supports the Prometheus Remote Write protocol.
Supported pipeline types: metrics
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelinePrometheusRemoteWriteDestination(String id, List<String> inputs, ObservabilityPipelinePrometheusRemoteWriteDestinationType type) -
Method Summary
Modifier and TypeMethodDescriptionaddInputsItem(String inputsItem) defaultNamespace(String defaultNamespace) endpointUrlKey(String endpointUrlKey) booleanReturn true if this ObservabilityPipelinePrometheusRemoteWriteDestination object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The authentication strategy to use for outgoing Prometheus Remote Write requests.Configuration for buffer settings on destination components.The default namespace to add as a prefix to metric names that do not already have one.Name of the environment variable or secret that holds the Prometheus Remote Write endpoint URL.getId()The unique identifier for this component.A list of component IDs whose output is used as theinputfor this component.Name of the environment variable or secret that holds the password (used whenauth_strategyisbasic).The tenant ID to include with outgoing requests.getTls()Configuration for enabling TLS encryption between the pipeline component and external services.Name of the environment variable or secret that holds the bearer token (used whenauth_strategyisbearer).getType()The destination type.Name of the environment variable or secret that holds the username (used whenauth_strategyisbasic).inthashCode()passwordKey(String passwordKey) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidsetDefaultNamespace(String defaultNamespace) voidsetEndpointUrlKey(String endpointUrlKey) voidvoidvoidsetPasswordKey(String passwordKey) voidsetTenantId(String tenantId) voidvoidsetTokenKey(String tokenKey) voidvoidsetUsernameKey(String usernameKey) toString()usernameKey(String usernameKey)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AUTH_STRATEGY
- See Also:
-
JSON_PROPERTY_BUFFER
- See Also:
-
JSON_PROPERTY_DEFAULT_NAMESPACE
- See Also:
-
JSON_PROPERTY_ENDPOINT_URL_KEY
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_INPUTS
- See Also:
-
JSON_PROPERTY_PASSWORD_KEY
- See Also:
-
JSON_PROPERTY_TENANT_ID
- See Also:
-
JSON_PROPERTY_TLS
- See Also:
-
JSON_PROPERTY_TOKEN_KEY
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_USERNAME_KEY
- See Also:
-
-
Constructor Details
-
ObservabilityPipelinePrometheusRemoteWriteDestination
public ObservabilityPipelinePrometheusRemoteWriteDestination() -
ObservabilityPipelinePrometheusRemoteWriteDestination
public ObservabilityPipelinePrometheusRemoteWriteDestination(String id, List<String> inputs, ObservabilityPipelinePrometheusRemoteWriteDestinationType type)
-
-
Method Details
-
authStrategy
public ObservabilityPipelinePrometheusRemoteWriteDestination authStrategy(ObservabilityPipelinePrometheusRemoteWriteDestinationAuthStrategy authStrategy) -
getAuthStrategy
@Nullable public ObservabilityPipelinePrometheusRemoteWriteDestinationAuthStrategy getAuthStrategy()The authentication strategy to use for outgoing Prometheus Remote Write requests.- Returns:
- authStrategy
-
setAuthStrategy
public void setAuthStrategy(ObservabilityPipelinePrometheusRemoteWriteDestinationAuthStrategy authStrategy) -
buffer
public ObservabilityPipelinePrometheusRemoteWriteDestination buffer(ObservabilityPipelineBufferOptions buffer) -
getBuffer
Configuration for buffer settings on destination components.- Returns:
- buffer
-
setBuffer
-
defaultNamespace
public ObservabilityPipelinePrometheusRemoteWriteDestination defaultNamespace(String defaultNamespace) -
getDefaultNamespace
The default namespace to add as a prefix to metric names that do not already have one.- Returns:
- defaultNamespace
-
setDefaultNamespace
-
endpointUrlKey
-
getEndpointUrlKey
Name of the environment variable or secret that holds the Prometheus Remote Write endpoint URL. Defaults toDESTINATION_PROMETHEUS_REMOTE_WRITE_ENDPOINT_URL(prefixed withDD_OP_at runtime).- Returns:
- endpointUrlKey
-
setEndpointUrlKey
-
id
-
getId
The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as theinputto downstream components).- Returns:
- id
-
setId
-
inputs
-
addInputsItem
-
getInputs
A list of component IDs whose output is used as theinputfor this component.- Returns:
- inputs
-
setInputs
-
passwordKey
-
getPasswordKey
Name of the environment variable or secret that holds the password (used whenauth_strategyisbasic).- Returns:
- passwordKey
-
setPasswordKey
-
tenantId
-
getTenantId
The tenant ID to include with outgoing requests. Used by multi-tenant Prometheus Remote Write receivers.- Returns:
- tenantId
-
setTenantId
-
tls
-
getTls
Configuration for enabling TLS encryption between the pipeline component and external services.- Returns:
- tls
-
setTls
-
tokenKey
-
getTokenKey
Name of the environment variable or secret that holds the bearer token (used whenauth_strategyisbearer).- Returns:
- tokenKey
-
setTokenKey
-
type
-
getType
The destination type. The value should always beprometheus_remote_write.- Returns:
- type
-
setType
-
usernameKey
-
getUsernameKey
Name of the environment variable or secret that holds the username (used whenauth_strategyisbasic).- Returns:
- usernameKey
-
setUsernameKey
-
putAdditionalProperty
public ObservabilityPipelinePrometheusRemoteWriteDestination putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- ObservabilityPipelinePrometheusRemoteWriteDestination
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this ObservabilityPipelinePrometheusRemoteWriteDestination object is equal to o. -
hashCode
public int hashCode() -
toString
-