We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 105f489 commit a4de2d0Copy full SHA for a4de2d0
1 file changed
packages/cli-v3/src/entryPoints/managed/env.ts
@@ -236,6 +236,11 @@ export class RunnerEnv {
236
OTEL_EXPORTER_OTLP_ENDPOINT: this.OTEL_EXPORTER_OTLP_ENDPOINT,
237
TRIGGER_OTEL_EXPORTER_OTLP_ENDPOINT: this.OTEL_EXPORTER_OTLP_ENDPOINT,
238
UV_USE_IO_URING: this.UV_USE_IO_URING,
239
+ // Forward the worker instance name (spec.nodeName on k8s) into the run
240
+ // process so it can be attached as an OTEL host/node resource attribute.
241
+ // Without this, run spans/logs exported to an off-node OTLP collector
242
+ // have no host and Datadog tags them issue_type:empty_hostname.
243
+ TRIGGER_WORKER_INSTANCE_NAME: this.TRIGGER_WORKER_INSTANCE_NAME,
244
};
245
246
// Filter out undefined values
0 commit comments