runtime_otel_manage
Exports that push sandbox events (OTLP logs) and CPU and memory (OTLP metrics) to an OpenTelemetry endpoint over OTLP/HTTP JSON. create takes endpoint, the OTLP base URL, headers for its authentication and signals (both by default); flush pushes now. Header values are never shown back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| action | Yes | ||
| enabled | No | ||
| headers | No | Sent with every push, for the endpoint's authentication: Authorization, DD-API-KEY, x-honeycomb-team and so on. Stored where only the sender reads them; never shown again. | |
| signals | No | What to send: "logs" (events as log records) and "metrics" (CPU and memory gauges). Both when omitted. | |
| endpoint | No | The OTLP/HTTP base URL, as OTEL_EXPORTER_OTLP_ENDPOINT: logs go to <endpoint>/v1/logs and metrics to <endpoint>/v1/metrics. | |
| idempotencyKey | No | Optional: left out, one is made and returned as idempotencyKey. Send it back only to retry this exact call after a temporary error. |