Skip to content

Conversation

@pawbana
Copy link
Contributor

@pawbana pawbana commented Dec 4, 2025

Adds tracing for AIBridge.
Updates github.com/coder/aibridge version from v0.2.2 to v0.3.0

Depends on: coder/aibridge#63
Fixes: coder/aibridge#26

@bpmct bpmct added doc-check Assign this label to PRs to check for any doc changes. and removed doc-check Assign this label to PRs to check for any doc changes. labels Dec 4, 2025
@github-actions
Copy link

github-actions bot commented Dec 4, 2025

Copy link
Member

bpmct commented Dec 4, 2025

📚 Documentation Check

✅ Updates Needed

  • docs/ai-coder/ai-bridge/monitoring.md - Add a section mentioning that AI Bridge now supports OpenTelemetry tracing for observability. Should reference the existing tracing configuration flags (--trace, --trace-logs) and link to the OpenTelemetry spec for backend configuration.

📝 New Docs Needed

None - the existing monitoring documentation structure is sufficient.

Context

This PR adds OpenTelemetry tracing support to AI Bridge by threading a trace.Tracer through the request handling pipeline. The feature integrates with Coder's existing tracing infrastructure (enabled via --trace flag), but users may not know that AI Bridge operations are now traceable.

The AI Bridge monitoring documentation already covers metrics and logging but doesn't mention tracing. A brief addition would help users understand they can now get distributed traces for AI Bridge requests when tracing is enabled on the Coder deployment.


This comment was generated by an AI Agent through Coder Tasks

@pawbana pawbana requested a review from dannykopping December 5, 2025 14:01
Copy link
Contributor

@dannykopping dannykopping left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@pawbana pawbana merged commit e24cc5e into main Dec 5, 2025
32 checks passed
@pawbana pawbana deleted the pb/aibridge-otel-trace branch December 5, 2025 14:59
@github-actions github-actions bot locked and limited conversation to collaborators Dec 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

doc-check Assign this label to PRs to check for any doc changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Basic tracing with OTel

4 participants