Uh oh!
There was an error while loading. Please reload this page.
feat(telemetry): add OpenTelemetry tracing for workflow execution - #482
Draft
hertznsk wants to merge 20 commits into
Draft
feat(telemetry): add OpenTelemetry tracing for workflow execution#482hertznsk wants to merge 20 commits into
hertznsk wants to merge 20 commits into
Conversation
…orrelation when telemetry is active
hertznsk
marked this pull request as draft
August 24, 2026 07:46
hertznsk
commented
Aug 24, 2026
ContributorAuthor
I mark it with a draft to test it. |
…h a delegating global provider
…t for unified traces
…Tel instrumentation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes#481
This PR introduces opt-in OpenTelemetry tracing for Conductor.
What is added
runtime.telemetryYAML block withenabledandservice_namefields.conductor.telemetrypackage with lazy SDK imports, OTLP tracer provider setup, and aTelemetrySubscriberthat turns workflow events into detached OpenTelemetry spans.claudeandopenaiproviders, correlated with Conductor runs viagen_ai.conversation.id.conductor runandconductor resume, including the resume-with-dashboard path.conductor validatewarning when telemetry is enabled but the SDK extra is missing.Verification
make checkpasses (ruff + ty).make testpasses: 7653 passed, 58 skipped, 14 deselected.make test-frontendpasses: 151 passed.make validate-examplespasses, including the newexamples/telemetry.yaml.Commits
build(deps): add opentelemetry-api core dep and telemetry extrafeat(telemetry): add telemetry package skeleton with config model and SDK guardsfeat(telemetry): add event-to-span TelemetrySubscriber with detached-span lifecyclefeat(telemetry): wire TelemetrySubscriber into run and resume CLI pathsfeat(config): add runtime.telemetry block with validate-time SDK warningfeat(providers): enable native pydantic-ai instrumentation with run correlation when telemetry is activefeat(engine): include item index in for_each per-item event payloadstest(telemetry): add regression suite for failure paths, resume, and export degradationdocs(telemetry): document OpenTelemetry tracing, add example workflowdocs(agents): document telemetry package in architecture overview