Lazers/Documentation/OpenTelemetry / OTLP Compatibility
OpenTelemetry

OpenTelemetry / OTLP Compatibility

Integrate OpenTelemetry Collector with Lazers OTLP/HTTP v0.1 JSON ingestion for logs and traces.

Lazers is **OpenTelemetry / OTLP Compatible**. If your infrastructure already emits OpenTelemetry telemetry, you can point standard `otlphttp` exporters directly at Lazers without altering your code.

Supported Scope (v0.1) - **Protocols**: OTLP/HTTP (JSON payloads). - **Signals**: `/v1/logs` and `/v1/traces`. - **Authentication**: Sent via `x-lazers-api-key: laz_live_...` header.

OpenTelemetry Collector Configuration Add an `otlphttp/lazers` exporter to your `otel-collector-config.yaml`:

Integration Code Examples

otel-collector-config.yaml
receivers:
  otlp:
    protocols:
      http:
      grpc:

processors:
  batch:
    timeout: 5s
    send_batch_size: 256

exporters:
  otlphttp/lazers:
    endpoint: "https://api.lazers.app"
    headers:
      x-lazers-api-key: "${LAZERS_SERVER_API_KEY}"

service:
  pipelines:
    traces:
      receivers: [otlp]
      processors: [batch]
      exporters: [otlphttp/lazers]
    logs:
      receivers: [otlp]
      processors: [batch]
      exporters: [otlphttp/lazers]

Ready to test with your service?

Create a project, generate an API key or Client DSN, and send a signal in 2 minutes.