Package com.datadog.api.client.v2.model
Class ObservabilityPipelineOpentelemetrySource
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineOpentelemetrySource
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineOpentelemetrySource
extends Object
The
opentelemetry source receives telemetry data using the OpenTelemetry Protocol
(OTLP) over gRPC and HTTP.
Supported pipeline types: logs, metrics
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineOpentelemetrySource(String id, ObservabilityPipelineOpentelemetrySourceType type) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ObservabilityPipelineOpentelemetrySource object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Environment variable name containing the gRPC server address for receiving OTLP data.Environment variable name containing the HTTP server address for receiving OTLP data.getId()The unique identifier for this component.getTls()Configuration for enabling TLS encryption between the pipeline component and external connecting clients.getType()The source type.grpcAddressKey(String grpcAddressKey) inthashCode()httpAddressKey(String httpAddressKey) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetGrpcAddressKey(String grpcAddressKey) voidsetHttpAddressKey(String httpAddressKey) voidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_GRPC_ADDRESS_KEY
- See Also:
-
JSON_PROPERTY_HTTP_ADDRESS_KEY
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_TLS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineOpentelemetrySource
public ObservabilityPipelineOpentelemetrySource() -
ObservabilityPipelineOpentelemetrySource
public ObservabilityPipelineOpentelemetrySource(String id, ObservabilityPipelineOpentelemetrySourceType type)
-
-
Method Details
-
grpcAddressKey
-
getGrpcAddressKey
Environment variable name containing the gRPC server address for receiving OTLP data. Must be a valid environment variable name (alphanumeric characters and underscores only).- Returns:
- grpcAddressKey
-
setGrpcAddressKey
-
httpAddressKey
-
getHttpAddressKey
Environment variable name containing the HTTP server address for receiving OTLP data. Must be a valid environment variable name (alphanumeric characters and underscores only).- Returns:
- httpAddressKey
-
setHttpAddressKey
-
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
-
tls
-
getTls
Configuration for enabling TLS encryption between the pipeline component and external connecting clients.- Returns:
- tls
-
setTls
-
type
-
getType
The source type. The value should always beopentelemetry.- Returns:
- type
-
setType
-
putAdditionalProperty
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:
- ObservabilityPipelineOpentelemetrySource
-
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 ObservabilityPipelineOpentelemetrySource object is equal to o. -
hashCode
public int hashCode() -
toString
-