Skip to content

Fix stale workflow.tracer() references in OpenTelemetry contrib#1662

Merged
tconley1428 merged 1 commit into
mainfrom
maplexu/otel-plugin-docstring-fix
Jul 20, 2026
Merged

Fix stale workflow.tracer() references in OpenTelemetry contrib#1662
tconley1428 merged 1 commit into
mainfrom
maplexu/otel-plugin-docstring-fix

Conversation

@xumaple

@xumaple xumaple commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

The OpenTelemetryPlugin docstring, the completed_span() docstring, and the README all pointed readers at temporalio.contrib.opentelemetry.workflow.tracer(), which does not exist (the module only defines completed_span()). This points them at the real opentelemetry.trace.get_tracer() instead.

workflow.tracer() does not exist; point the plugin and completed_span
docstrings and the README at opentelemetry.trace.get_tracer().
@xumaple
xumaple requested a review from a team as a code owner July 20, 2026 16:51
@tconley1428
tconley1428 merged commit 1d2cd94 into main Jul 20, 2026
43 of 45 checks passed
@tconley1428
tconley1428 deleted the maplexu/otel-plugin-docstring-fix branch July 20, 2026 18:27
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.

2 participants