Package com.datadog.api.client.v2.model
Class ObservabilityPipelineOpentelemetryMetricsDestination
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineOpentelemetryMetricsDestination
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineOpentelemetryMetricsDestination
extends Object
The
opentelemetry destination forwards metrics using the OpenTelemetry Protocol
(OTLP) over HTTP.
Supported pipeline types: metrics
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineOpentelemetryMetricsDestination(String id, List<String> inputs, ObservabilityPipelineOpentelemetryMetricsDestinationType type) -
Method Summary
Modifier and TypeMethodDescriptionaddInputsItem(String inputsItem) booleanReturn true if this ObservabilityPipelineOpentelemetryMetricsDestination object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Configuration for buffer settings on destination components.Environment variable name containing the URI of the OTLP HTTP endpoint to send metrics to.getId()The unique identifier for this component.A list of component IDs whose output is used as theinputfor this component.getTls()Configuration for enabling TLS encryption between the pipeline component and external services.getType()The destination type.inthashCode()httpClientUriKey(String httpClientUriKey) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetHttpClientUriKey(String httpClientUriKey) voidvoidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_BUFFER
- See Also:
-
JSON_PROPERTY_HTTP_CLIENT_URI_KEY
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_INPUTS
- See Also:
-
JSON_PROPERTY_TLS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineOpentelemetryMetricsDestination
public ObservabilityPipelineOpentelemetryMetricsDestination() -
ObservabilityPipelineOpentelemetryMetricsDestination
public ObservabilityPipelineOpentelemetryMetricsDestination(String id, List<String> inputs, ObservabilityPipelineOpentelemetryMetricsDestinationType type)
-
-
Method Details
-
buffer
public ObservabilityPipelineOpentelemetryMetricsDestination buffer(ObservabilityPipelineBufferOptions buffer) -
getBuffer
Configuration for buffer settings on destination components.- Returns:
- buffer
-
setBuffer
-
httpClientUriKey
public ObservabilityPipelineOpentelemetryMetricsDestination httpClientUriKey(String httpClientUriKey) -
getHttpClientUriKey
Environment variable name containing the URI of the OTLP HTTP endpoint to send metrics to.- Returns:
- httpClientUriKey
-
setHttpClientUriKey
-
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
-
tls
-
getTls
Configuration for enabling TLS encryption between the pipeline component and external services.- Returns:
- tls
-
setTls
-
type
-
getType
The destination type. Alwaysopentelemetry.- Returns:
- type
-
setType
-
putAdditionalProperty
public ObservabilityPipelineOpentelemetryMetricsDestination 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:
- ObservabilityPipelineOpentelemetryMetricsDestination
-
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 ObservabilityPipelineOpentelemetryMetricsDestination object is equal to o. -
hashCode
public int hashCode() -
toString
-