Repository navigation
Conversation
2e7a8b9 to
c64035c
Compare
|
/run-e2e |
E2E HyperShift Tests FailedCommit: To re-run tests after fixing issues, comment |
E2E HyperShift Tests PassedCommit: The If you push new commits, the label will be removed and you'll need to comment |
c64035c to
1d10b0c
Compare
New Commits DetectedThe New HEAD: For maintainers: Please review the new changes and comment Security checklistBefore running E2E tests, verify the PR does NOT contain:
This is an automated security measure to prevent TOCTOU attacks |
761b423 to
b31d995
Compare
|
/run-e2e |
E2E HyperShift Tests FailedCommit: To re-run tests after fixing issues, comment |
New Commits DetectedThe New HEAD: For maintainers: Please review the new changes and comment Security checklistBefore running E2E tests, verify the PR does NOT contain:
This is an automated security measure to prevent TOCTOU attacks |
|
/run-e2e |
E2E HyperShift Tests FailedCommit: To re-run tests after fixing issues, comment |
|
/run-e2e |
When the resubscribe SSE stream returns no events (EventQueue already closed), fall back to a single tasks/get call after 3s. The shielded agent execution saves the completed task to the InMemoryTaskStore, so tasks/get can retrieve the artifact with the output. Removes the 5s Playwright wait — no longer needed. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> Signed-off-by: Ladislav Smola <[email protected]>
- Set gen_ai.conversation.id from SSE response contextId (server-assigned) - Fall back to tasks/get when resubscribe returns no events on disconnect - Remove 5s Playwright wait — tasks/get recovers output from task store Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> Signed-off-by: Ladislav Smola <[email protected]>
Per https://opentelemetry.io/docs/specs/semconv/gen-ai/gen-ai-spans/: - Chat spans: "chat {model}" (was "gen_ai.chat") - Tool spans: "execute_tool {name}" (was "gen_ai.tool.{name}") - Root span: "invoke_agent {name}" (unchanged) Also adds gen_ai.request.model attribute on LLM spans. Phoenix/OpenInference attributes added to collector transform: - openinference.span.kind (AGENT/LLM/TOOL) from span name patterns - input.value / output.value from gen_ai.prompt / gen_ai.completion MLflow transform updated to match new span name patterns. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> Signed-off-by: Ladislav Smola <[email protected]>
The span names changed per OTel GenAI spec:
- "invoke_agent {name}" (root)
- "chat {model}" (LLM)
- "execute_tool {name}" (tool)
Add these to GENAI_SPAN_PATTERNS so has_genai_spans() detects them.
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Signed-off-by: Ladislav Smola <[email protected]>
Rewrite otel-authbridge-root-span.md to reflect the current state: - Zero OTEL agent (no deps, no auto-instrumentation) - JSON event serialization from LangGraph - Nested child spans from SSE stream parsing - GenAI spec span naming (chat/execute_tool/invoke_agent) - OTEL Collector transforms for MLflow and Phoenix - Client disconnect recovery via tasks/get fallback Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> Signed-off-by: Ladislav Smola <[email protected]>
The else-if branch for content-only AI messages was unconditionally
setting spanName = "chat", overriding the "chat {model}" name that
was already set from response_metadata. Only set fallback name when
spanName is empty.
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Signed-off-by: Ladislav Smola <[email protected]>
MLflow's chat-sessions UI requires mlflow.trace.session to be set by the span producer, not by collector transforms. Set it alongside gen_ai.conversation.id in the ext_proc. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> Signed-off-by: Ladislav Smola <[email protected]>
MLflow's OTLP handler extracts session.id from span attributes to populate trace_request_metadata (per mlflow/mlflow#20803). The ext_proc sets only gen_ai.conversation.id; the collector transforms derive session.id from it for both MLflow and Phoenix pipelines. Removes mlflow.trace.session from ext_proc — it was a span attribute that MLflow's OTLP handler doesn't promote to trace metadata. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> Signed-off-by: Ladislav Smola <[email protected]>
Replace on-cluster OpenShift Build with pre-built image from quay.io/lsmola/otel-ext-proc:latest. The source code lives in kagenti-extensions repo (PR rossoctl#119). Remove the oc start-build logic from the deploy script — no longer needed since the image is pulled from a registry. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> Signed-off-by: Ladislav Smola <[email protected]>
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> Signed-off-by: Ladislav Smola <[email protected]>
The OTEL ext_proc source code has been integrated into kagenti-extensions/AuthBridge/AuthProxy/go-processor/ as targeted additions to the existing ext_proc (PR rossoctl#119). Remove the standalone copy from this repo. The pre-built image at quay.io/ladas/otel-ext-proc:latest is built from the extensions repo. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> Signed-off-by: Ladislav Smola <[email protected]>
Add OTEL_INSTRUMENT=none env var to weather-service base deployment. Add weather_service_variants_ocp.yaml with two additional deployments: - weather-service-oi: OTEL_INSTRUMENT=openinference (LangChainInstrumentor) - weather-service-oai: OTEL_INSTRUMENT=openai (OpenAIInstrumentor) Each variant shares the same agent image but with different auto- instrumentation config. All include envoy + otel-ext-proc sidecars. Enables side-by-side comparison of trace output across modes. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> Signed-off-by: Ladislav Smola <[email protected]>
3be772e to
293bbbf
Compare
|
/run-e2e |
E2E HyperShift Tests FailedCommit: To re-run tests after fixing issues, comment |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. If this PR is still relevant, please comment or remove the stale label. |
|
This pull request was closed because it has been stale for 14 days with no activity. Feel free to reopen if this is still relevant. |
Summary
Approach A for issue #667: Extend the existing AuthBridge ext_proc gRPC server (Go) to create OTEL root spans for agent requests, enabling MLflow/Phoenix GenAI observability with zero agent code changes.
See design doc for full architecture.
Related
Test plan
pytest -m observability)🤖 Generated with Claude Code