Skip to main content

OTLP over HTTP and gRPC logs, traces and metrics

Your OpenTelemetry data, in your own bucket

Tracing backends keep spans for their retention window. We write yours to your S3, GCS, Azure or R2 bucket as JSON lines within 60 seconds, ready for the SQL engine you already run.

duckdb · everything one trace recorded
SELECT signal,
       make_timestamp_ns(coalesce(data->>'$.startTimeUnixNano', data->>'$.timeUnixNano')::BIGINT) AS ts,
       coalesce(data->>'$.name', data->>'$.body.stringValue') AS what,
       data->>'$.severityText' AS severity
FROM otel
WHERE data->>'$.traceId' = '5b8efff798038103d269b633813fc60c'
ORDER BY ts;

┌─────────┬───────────────────────────────┬────────────────┬──────────┐
│ signal  │              ts               │      what      │ severity │
├─────────┼───────────────────────────────┼────────────────┼──────────┤
│ span    │ 2026-11-21 16:22:58.34860872  │ POST /orders   │ NULL     │
│ log     │ 2026-11-21 16:22:58.348628736 │ order received │ INFO     │
│ span    │ 2026-11-21 16:22:58.348708223 │ charge card    │ NULL     │
│ log     │ 2026-11-21 16:22:58.448853504 │ card declined  │ ERROR    │
└─────────┴───────────────────────────────┴────────────────┴──────────┘

four variables or one exporter

SDKs read the standard exporter variables, so a service that already exports OTLP needs no code change. A Collector you run for sampling adds one exporter, and your tracing backend keeps its live view.

your service's environment
export OTEL_SERVICE_NAME=checkout
export OTEL_EXPORTER_OTLP_ENDPOINT=https://api.send2bucket.com
export OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
export OTEL_EXPORTER_OTLP_HEADERS="authorization=Bearer%20$S2B_API_KEY"
collector config, one more exporter
exporters:
  otlphttp/s2b:
    endpoint: https://api.send2bucket.com
    headers:
      authorization: Bearer ${env:S2B_API_KEY}
    compression: gzip

read it with the engine you have

Objects are gzip NDJSON under date and hour folders, so any engine that reads JSON from object storage reads them. Each one below has a guide in Querying.

  • DuckDB
  • Athena
  • BigQuery
  • Trino
  • ClickHouse
  • Spark
  • Snowflake
  • Databricks
  • PostgreSQL
  • Redshift
  • StarRocks
  • Dremio

Query OpenTelemetry in S3 with SQL has more queries: slowest spans, log search by attribute and metric series.

ten places it can land

One destination per ingestion stream, in your own account. Each guide sets one up end to end, and Send2Bucket vs the OpenTelemetry Collector S3 exporter compares the two ways into S3.

destinationlands as
Amazon S3gzip NDJSON objects
Google Cloud Storagegzip NDJSON objects
Azure Blob Storagegzip NDJSON objects
Cloudflare R2gzip NDJSON objects
S3-compatible storagegzip NDJSON objects
Apache Iceberg, any REST catalogan Iceberg table
Amazon S3 Tablesan Iceberg table
Cloudflare R2 Data Catalogan Iceberg table
Supabase Analytics Bucketsan Iceberg table
DuckLakea DuckLake table

frequently asked questions

Do I need an OpenTelemetry Collector?

No. OpenTelemetry SDKs export OTLP straight to Send2Bucket with an API key in the authorization header. A Collector you already run for sampling or enrichment can forward to it with the otlphttp exporter.

Which OTLP protocols and signals does Send2Bucket accept?

Logs, traces and metrics over OTLP/HTTP, as binary protobuf (http/protobuf) or the OTLP JSON encoding (http/json), and over OTLP/gRPC at api.send2bucket.com:443. A JSON request is stored and billed exactly as its protobuf form would be.

What lands in my bucket?

One NDJSON line per log record, span and metric, with its resource and scope copied onto the line, in gzip objects under date and hour folders. Iceberg, S3 Tables and DuckLake destinations append the records to a table instead.

How is this different from the Collector’s S3 exporter?

The awss3exporter writes OTLP files to S3 from a Collector you run, scale and monitor. Send2Bucket is a hosted OTLP endpoint that buffers, retries and delivers for you, and also writes to Google Cloud Storage, Azure Blob Storage, Iceberg, S3 Tables and DuckLake.

What does a 200 response mean?

The batch is stored durably and will be delivered at least once. Standard OTLP exporters retry the 429 and 503 responses Send2Bucket returns when an organization is over its quota or Send2Bucket is at capacity.

Can I view the traces in Jaeger or Grafana Tempo?

No. Send2Bucket stores the records in your bucket or table, and you query them with SQL in DuckDB, Athena, BigQuery, Trino or another engine. For live trace views, keep a tracing backend and export to both from the Collector.

keep every span you send

Free covers 100 MB a month. Create a stream, copy its key and set the four variables.