Skip to content

feat(ai-observability): add Go weather fixture for the OTel bridge path - #3675

Open
marco-g-pm wants to merge 2 commits into
mainfrom
marco/aio-go-otel-fixture
Open

feat(ai-observability): add Go weather fixture for the OTel bridge path#3675
marco-g-pm wants to merge 2 commits into
mainfrom
marco/aio-go-otel-fixture

Conversation

@marco-g-pm

@marco-g-pm marco-g-pm commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Problem

The wizard has no fixture to prove the Go AI observability path. Every ai-observability app is Python or Node, and Go's only supported mechanism is the new posthog-go OTel bridge (PostHog/posthog-go#306).

for PostHog/posthog-go#306

Changes

  • Adds apps/ai-observability/opentelemetry/go-weather: the same two-turn get_weather round trip as the other weather apps, on the official openai-go SDK, so a diff against any of them isolates the language.
  • Its README grades the bridge path: posthogotel.NewSpanProcessor on a TracerProvider, hand-authored gen_ai.* spans, one trace per turn, one session across turns, flush before exit.
  • Mechanical: the apps README lists the fixture and adds it to the wrapper-first exceptions.

Testing

🤖 Agent context

Written by Claude Code from the Slack thread on posthog-go#306 (https://posthog.slack.com/archives/C087XQ7K9K7/p1788170266901319), with the user directing scope. Skills invoked: writing-pr-descriptions, writing-user-facing-copy.

Go has no PostHog wrapper SDK; PostHog/posthog-go#306 adds an OTel
bridge instead. This fixture makes the wizard prove that path: same
get_weather round trip as the other weather apps, official openai-go
SDK, graded on hand-authored gen_ai.* spans through the bridge.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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