OpenTelemetry
OpenTelemetry / OTLP Compatibility
Integrate OpenTelemetry Collector with Lazers OTLP/HTTP v0.1 JSON ingestion for logs and traces.
Important Safety & Auth Policy
Lazers v0.1 implements standard OTLP/HTTP over JSON for logs and traces. Direct gRPC, direct binary protobuf, and OTLP metrics are NOT currently supported.
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]