destination — where your telemetry is sent, and which OpenTelemetry
signals to include. Configure it once on the construct; every workload that construct instruments uses the
same settings.
Read Odigos AWS CDK first for install and when to use the package.
This page covers only the shared
destination options.Choosing a destination
You give the construct an endpoint in one of two formats, depending on which protocol your destination speaks:string
OTLP over gRPC, written as a bare
host:port with no https:// prefix — for example
otlp.example.com:4317. Port 4317 is the convention.string
OTLP over HTTP, written as a full URL including the scheme — for example
https://otlp.example.com:4318. Port 4318 is the convention.endpoint, or a missing one in httpEndpoint, stops the build immediately
rather than deploying something that starts up fine and then quietly delivers nothing. Using a port that
belongs to the other protocol (4318 with gRPC, or 4317 with HTTP) produces a warning.
How many endpoints to set differs between the two constructs. Lambda takes
exactly one. Fargate accepts either or both, and often should get both —
see Fargate → Transport for why.
boolean
default:"false"
Skip TLS verification. Applies to the gRPC
endpoint only — the HTTP exporter takes its transport from
the URL scheme.object
Headers sent with every request, which in practice means your destination’s credential (an API key or
token).
Choosing which signals to send
OpenTelemetry produces three kinds of data, and you choose which ones to send:boolean
default:"true"
Traces — the request-by-request timelines. On by default.
boolean
default:"false"
Metrics — numeric measurements over time. Off unless you turn it on.
boolean
default:"false"
Logs. Off unless you turn it on.
Turning all three off stops the build — a workload with instrumentation but
nowhere to send anything would be silent, which is never what you meant.
Next steps
Lambda construct
Layer sources, web-server mode, Java handler interfaces.
Fargate construct
Languages, service naming, the agents image.