You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
gh-aw OTel + AWF api-proxy (Copilot BYOK): gen_ai.provider.name is github, and traceparent is not forwarded to Azure AI Gateway #80498
Where: two parts: the gh-aw run span attributes (provider name) and the AWF api-proxy (header forwarding).
What happens
For a Copilot BYOK run against an Azure endpoint (Azure AI Gateway → Azure OpenAI):
The gh-aw run span reports gen_ai.provider.name: github, the same as GitHub-hosted inference. Nothing in the
standard attributes shows that the run used a BYOK provider.
AWF doesn't forward the W3C traceparent header to the BYOK endpoint. The endpoint's own traces (Azure AI Gateway
exports OTLP) can't be joined to the run trace: 0 of 8 gateway requests joined. The only remaining join is by time
window and caller identity.
Why it matters
Cost and usage dashboards can't separate GitHub-billed from customer-billed inference.
End-to-end tracing stops at the proxy, so slow or failed gateway calls can't be tied to an agent turn.
Suggested fix
Set gen_ai.provider.name from the BYOK provider, following GenAI semantic conventions (for example azure.ai.openai, or openai for an OpenAI-compatible endpoint), and record the endpoint host (server.address).
Forward traceparent and tracestate to the configured BYOK endpoint only, never to other hosts.
Activity