Class AsyncOpentelemetryClient
java.lang.Object
com.langfuse.client.resources.opentelemetry.AsyncOpentelemetryClient
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexportTraces(OtelTraceRequest request) OpenTelemetry Traces Ingestion EndpointexportTraces(OtelTraceRequest request, RequestOptions requestOptions) OpenTelemetry Traces Ingestion EndpointGet responses with HTTP metadata like headers
-
Field Details
-
clientOptions
-
-
Constructor Details
-
AsyncOpentelemetryClient
-
-
Method Details
-
withRawResponse
Get responses with HTTP metadata like headers -
exportTraces
OpenTelemetry Traces Ingestion EndpointThis endpoint implements the OTLP/HTTP specification for trace ingestion, providing native OpenTelemetry integration for Langfuse Observability.
Supported Formats:
- Binary Protobuf:
Content-Type: application/x-protobuf - JSON Protobuf:
Content-Type: application/json - Supports gzip compression via
Content-Encoding: gzipheader
Specification Compliance:
- Conforms to OTLP/HTTP Trace Export
- Implements
ExportTraceServiceRequestmessage format
Documentation:
- Integration guide: https://langfuse.com/integrations/native/opentelemetry
- Data model: https://langfuse.com/docs/observability/data-model
- Binary Protobuf:
-
exportTraces
public CompletableFuture<OtelTraceResponse> exportTraces(OtelTraceRequest request, RequestOptions requestOptions) OpenTelemetry Traces Ingestion EndpointThis endpoint implements the OTLP/HTTP specification for trace ingestion, providing native OpenTelemetry integration for Langfuse Observability.
Supported Formats:
- Binary Protobuf:
Content-Type: application/x-protobuf - JSON Protobuf:
Content-Type: application/json - Supports gzip compression via
Content-Encoding: gzipheader
Specification Compliance:
- Conforms to OTLP/HTTP Trace Export
- Implements
ExportTraceServiceRequestmessage format
Documentation:
- Integration guide: https://langfuse.com/integrations/native/opentelemetry
- Data model: https://langfuse.com/docs/observability/data-model
- Binary Protobuf:
-