Class RawOpentelemetryClient

java.lang.Object
com.langfuse.client.resources.opentelemetry.RawOpentelemetryClient

public class RawOpentelemetryClient extends Object
  • Field Details

  • Constructor Details

    • RawOpentelemetryClient

      public RawOpentelemetryClient(ClientOptions clientOptions)
  • Method Details

    • exportTraces

      OpenTelemetry Traces Ingestion Endpoint

      This 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: gzip header

      Specification Compliance:

      Documentation:

      • Integration guide: https://langfuse.com/integrations/native/opentelemetry
      • Data model: https://langfuse.com/docs/observability/data-model
    • exportTraces

      public LangfuseClientHttpResponse<OtelTraceResponse> exportTraces(OtelTraceRequest request, RequestOptions requestOptions)
      OpenTelemetry Traces Ingestion Endpoint

      This 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: gzip header

      Specification Compliance:

      Documentation:

      • Integration guide: https://langfuse.com/integrations/native/opentelemetry
      • Data model: https://langfuse.com/docs/observability/data-model