Skip to content

docs(sdk): add Go OTel instrumentation guide#630

Merged
zeevdr merged 1 commit into
mainfrom
docs/go-otel-interceptor-guide
May 31, 2026
Merged

docs(sdk): add Go OTel instrumentation guide#630
zeevdr merged 1 commit into
mainfrom
docs/go-otel-interceptor-guide

Conversation

@zeevdr
Copy link
Copy Markdown
Member

@zeevdr zeevdr commented May 31, 2026

Summary

  • Documents the recommended pattern for wiring OpenTelemetry into Go SDK connections using otelgrpc.NewClientHandler(), the stats handler API that supersedes the now-deprecated unary/stream interceptor functions.
  • Updates the agent context brief (sdk-instrumentation.md) to reflect the correct modern approach so future agents don't generate deprecated code.

Test plan

Refs opendecree/decree-python#23

Documents how to wire OpenTelemetry into Go SDK connections using the
modern stats handler API (otelgrpc.NewClientHandler), which supersedes
the deprecated unary/stream interceptor functions. Updates the agent
context brief to reflect the correct approach.

Co-Authored-By: Claude <noreply@anthropic.com>
@zeevdr zeevdr merged commit 04895f0 into main May 31, 2026
19 checks passed
@zeevdr zeevdr deleted the docs/go-otel-interceptor-guide branch May 31, 2026 06:57
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.

1 participant