Skip to content

Fix Azure OpenAI trace attribution and expose content-filter rejections - #542

Merged
Szer merged 2 commits into
mainfrom
fix/llm-trace-rejection
Sep 30, 2026
Merged

Szer merged 2 commits into
mainfrom
fix/llm-trace-rejection

Conversation

@Szer

@Szer Szer commented Sep 30, 2026

Copy link
Copy Markdown
Owner

Foundry chat-completion calls were labeled azure-ocr, and Tempo showed only HTTP 400 without the rejection reason. Recognize Azure OpenAI paths on Cognitive Services hosts and label these calls azure-openai.

Message and reaction triage spans now display Azure content-filter rejection and the category/severity in their names and status descriptions, with searchable reason attributes. The reason is attached to the enclosing triage span because the HTTP child has already finished when the SDK exposes the response body.

Validation: all 133 Vahter container-free tests passed; mandatory comment-ratio hook and diff checks passed. Applies to new traces after deployment.

@Szer
Szer enabled auto-merge (squash) September 30, 2026 17:27
@Szer
Szer merged commit 8587c8a into main Sep 30, 2026
8 checks passed
@Szer
Szer deleted the fix/llm-trace-rejection branch September 30, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant