Skip to main content
Send existing traces, logs and metrics through an OTLP HTTP exporter.
Your agent chooses the startup changes and verifies the signals your application emits. Give it the application repository and access to its secret configuration.
Start with ingest key setup. Keep credentials in your deployment secret store.

Configure instrumentation

Set up your language’s OpenTelemetry SDK with an OTLP HTTP exporter first. These standard environment variables configure exporters that read them; they do not switch an exporter chosen in code from gRPC to HTTP (Go, for example, needs otlptracehttp, not otlptracegrpc). Then point it at Struct:
The SDK adds /v1/traces, /v1/logs, and /v1/metrics to the endpoint itself. Use http/protobuf or http/json: Struct does not accept OTLP over gRPC.

Your own OpenTelemetry Collector

Add an otlphttp exporter for Struct and list it in each pipeline you want to send:
Keep your existing receivers and exporters: Struct can be one destination among several. This example uses compression: none; keep each uncompressed request below 2 MiB. Use otlphttp, not the gRPC otlp exporter.

Limits

The SDKs batch by record count, not size, so very large logs or captured message content can still go over 2 MiB. Reduce those if an SDK gets 413. A collector that gets 413 can lower send_batch_size and send_batch_max_size.A 429 means your workspace is at its own limit, and the response says which in the x-struct-ingest-limit header. With usage-cap, the workspace has sent its Free plan allowance and its telemetry is paused until the allowance resets or the plan changes; Retry-After gives the seconds to wait, at most 600, so exporters drop the batch instead of retrying it, unless the allowance resets within their retry budget.

Verify the result

Exercise a real operation and follow signal verification. Report which signals arrived and which were not configured.