Create Export Destination
Create a destination for the gateway’s request telemetry: Datadog,
Grafana Cloud, or any OTLP/HTTP collector (generic, which needs an
Enterprise plan). Each enabled destination gets all of the organization’s
traffic, so a second one copies rather than splits it.
Authentication
A management key (mgmt_...), sent as Authorization: Bearer <key>. Reading /v1/routing-policies also accepts the organization’s gateway API keys; writing there needs a management key.
Request
The API key or token the destination authenticates with. Never returned; responses show credential_hint instead.
grafana only: the Grafana Cloud instance ID. Not a secret, so it is returned.
Datadog only: the ml_app tag on exported spans.
generic only: the https URL of your OTLP collector.
Where spans go: datadog (LLM Observability), grafana (Grafana Cloud Tempo) or generic, any OTLP/HTTP collector, which needs an Enterprise plan. Can’t be changed after creation.
datadog: a Datadog site, like datadoghq.com. grafana: a Grafana Cloud zone, like prod-us-east-0. generic: not allowed; use otlp_endpoint.
Response
The last 4 characters of the stored secret, to tell secrets apart. null when the secret is under 12 characters (4 would give away too much of it).
grafana only: the Grafana Cloud instance ID. Not a secret, so it is returned.
Datadog only: the ml_app tag on exported spans.
generic only: the https URL of your OTLP collector.
Where spans go. Besides the presets create accepts, datadog-apm: those destinations are created in the dashboard only. Can’t be changed after creation.
datadog: a Datadog site, like datadoghq.com. grafana: a Grafana Cloud zone, like prod-us-east-0. generic: not allowed; use otlp_endpoint.