OpenTelemetry · OTLP/HTTP
A managed OpenTelemetry logs backend that knows your customers.
Point any standard OTLP/HTTP `/v1/logs` and `/v1/traces` exporter at Libra Logs with zero proprietary SDK lock-in and zero ClickHouse, Loki, or Elasticsearch clusters to babysit. Plans start at $20/month (25 GB included) with read-only MCP tools for Claude Code and Cursor.
Standard OTLP wire format, zero lock-in
Keep your application instrumented with upstream `@opentelemetry/*`, Python `opentelemetry-sdk`, Go `otlploghttp`, or an OpenTelemetry Collector. Switching backends is a single URL and header change.
- Endpoints: `POST /v1/logs` and `POST /v1/traces` over HTTPS (`application/x-protobuf` or `application/json`, optional `gzip`).
- Customer correlation: Reads `tenant.id`, `organization.id`, `customer.id`, `user.id`, and `user.email` attributes to group failures by account.
- Honest boundary: Self-hosted Grafana Loki or SigNoz is better when you run multi-terabyte internal clusters inside a private VPC. Libra Logs is built for SaaS product teams wanting zero ops, $20/$150 flat tiers, and coding-agent MCP debugging.
exporters:
otlphttp/libra:
endpoint: https://logs-api.libra.exla.ai
headers:
Authorization: "Bearer ${env:LIBRA_LOGS_API_KEY}"
service:
pipelines:
logs:
receivers: [otlp]
processors: [batch]
exporters: [otlphttp/libra]Framework & collector guides
Next.js & TypeScript
App Router instrumentation.ts setup for Node runtime routes, Pino/Winston bridges, and trace-linked request logs.
Python & FastAPI
Structlog and stdlib LoggingHandler export so multi-line tracebacks arrive as single customer-tagged events.
Go, Rust & OTel Collector
Dual-ship from otelcol-contrib or export directly over OTLP/HTTP Protobuf with gzip compression.
CloudWatch, Heroku & Supabase
Combine application OTLP streams with managed cloud and Postgres log drains in one timeline.
Automated setup
Or let your coding agent wire OTLP for you.
Paste one prompt into Claude Code, Cursor, or Codex to add OpenTelemetry logging on a clean branch and verify your first event.
Set up Libra Logs (https://libra.exla.ai) in this repo. 1. First ask whether I want to connect Libra Logs to my coding tools so they can search my logs and read change pages. Explain that this writes an MCP connection to my own global Claude Code or Cursor configuration. Only if I explicitly agree, use `npx -y libra-logs@latest --yes --mcp`; otherwise use `npx -y libra-logs@latest --yes`. 2. Run the selected command from the repo root. It waits for browser approval, so run it in the background or with a timeout of at least 10 minutes. Show me its sign-in link and code right away, then wait while I approve the selected workspace. After approval, the installer automatically obtains workspace-scoped API keys. Do not ask me to create or paste an API key manually. 3. If it says it skipped the AI step, ask whether Libra Logs may send this repo's source files to a model. Only if I say yes, rerun the selected command with `--ai-consent` added. Keep `--mcp` only if I approved that connection separately. 4. When it finishes, tell me the branch it created, what it changed, whether my first log was confirmed, and whether the requested coding-tool connection succeeded. Do not push or open a PR unless I ask.
npx libra-logsFAQ
OpenTelemetry log ingestion questions
Which OpenTelemetry endpoints and encodings does Libra Logs accept?
Libra Logs accepts standard OTLP over HTTP at /v1/logs and /v1/traces in both Protobuf (application/x-protobuf) and JSON (application/json), with optional gzip compression, authenticated with a Bearer write key.
Which resource or log attributes map a log record to a customer?
Include standard tenant or user attributes such as tenant.id, organization.id, customer.id, company.name, user.id, or user.email on your OpenTelemetry log records or active spans. Libra resolves those identifiers automatically to group failures by customer account.
Can I dual-ship from an existing OpenTelemetry Collector to Libra Logs?
Yes. Add an otlphttp exporter in your OpenTelemetry Collector YAML pointing at your Libra ingest endpoint with an Authorization Bearer header, and add it to your logs and traces pipelines alongside Datadog, Grafana Loki, or S3.
Ship OTLP logs in five minutes.
Standard OpenTelemetry in, customer-grouped failures and MCP out, starting at $20/month.
Paying Datadog or Sentry? Send us your bill and we'll beat it.