Description
Compiled workflows with observability.otlp currently use the same OTEL_SERVICE_NAME value. This makes workflow-level filtering and dashboards harder because traces from all workflows are merged into one logical service.
Reproduction
- Enable observability.otlp in multiple workflows.
- Compile and run workflows.
- Inspect telemetry backend and observe all traces grouped under a single service name.
Current Workaround
A local post-compile patch rewrites OTEL_SERVICE_NAME to gh-aw. per lock file.
Proposed Fix
Compiler should emit workflow-specific OTEL_SERVICE_NAME values by default, for example gh-aw., while preserving an opt-out override.
Environment
- gh-aw CLI: v0.72.1
- Affected output: lock-file env for OTLP-enabled workflows
- Impact: telemetry observability and per-workflow cost analysis
Description
Compiled workflows with observability.otlp currently use the same OTEL_SERVICE_NAME value. This makes workflow-level filtering and dashboards harder because traces from all workflows are merged into one logical service.
Reproduction
Current Workaround
A local post-compile patch rewrites OTEL_SERVICE_NAME to gh-aw. per lock file.
Proposed Fix
Compiler should emit workflow-specific OTEL_SERVICE_NAME values by default, for example gh-aw., while preserving an opt-out override.
Environment