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
Commit f1ca27c
Browse filesBrowse the repository at this point in the historyBrowse files
**Summary**
Added a new provider-agnostic telemetry package to the AgentControl
Python SDK for external trace context resolution and merged control
event emission.
Updated tracing to consult a registered external trace context provider
before falling back to OTEL context.
Exported the new telemetry APIs from the top-level agent_control
package.
Added focused tests to ensure provider/sink failures do not affect
existing behavior.
**Scope**
- User-facing/API changes:
- New SDK APIs:
1. set_trace_context_provider(...)
2. get_trace_context_from_provider()
3. clear_trace_context_provider()
4. set_control_event_sink(...)
5. emit_control_events(...)
6. clear_control_event_sink()
- Internal changes:
- Added:
1. agent_control/telemetry/trace_context.py
2. agent_control/telemetry/event_sink.py
3. agent_control/telemetry/__init__.py
4. Updated tracing.py to use external provider before OTEL fallback.
5. Added tests for provider behavior, sink behavior, and tracing
precedence.
**Risk and Rollout**
**Risk level:** low
**Rollback plan:**
Revert the new telemetry package and the small tracing/export changes in
the SDK.
Since the change is additive and inactive unless a provider or sink is
explicitly registered, rollback is straightforward.
**Testing**
- Added or updated automated tests
- Ran make check (or explained why not)
- Ran targeted SDK tests only; did not run the full project check suite.
- Manually verified behavior
**Checklist**
- Linked issue/spec (if applicable)
- Updated docs/examples for user-facing changes
- Included any required follow-up tasks
0 commit comments