Skip to content

chore(aio): add Atomic Agents OpenTelemetry setup guide - #123042

Draft
Eigenwise wants to merge 1 commit into
PostHog:masterfrom
Eigenwise:docs/atomic-agents-2-15-20261024
Draft

Eigenwise wants to merge 1 commit into
PostHog:masterfrom
Eigenwise:docs/atomic-agents-2-15-20261024

Conversation

@Eigenwise

@Eigenwise Eigenwise commented Oct 24, 2026 •

Copy link
Copy Markdown

Problem

Atomic Agents users need a PostHog setup guide for the framework's built-in OpenTelemetry spans. Marco agreed to the guide in PostHog/posthog.com#21461.

Changes

  • Add shared installation steps for Atomic Agents 2.15.0 using the HTTP OTLP exporter.
  • Put the missing generation input/output messages callout in the tracing setup step.
  • Keep LLM attempt spans enabled and hide agent/tool payloads in the example.
  • Reuse the existing onboarding components. The website stub and setup-agent configuration will link to this source.

Verification

  • Formatted the new source with Prettier and compiled it with esbuild.
  • Executed the shared step function and checked its setup callout and step structure.
  • Ran the exact Python snippets through real Instructor/OpenAI clients with an HTTPX mock transport and a captured OTLP protobuf export.
  • Checked parent/child spans, model and usage attributes, hidden payloads, and absent generation message attributes.
  • No live OpenAI or PostHog calls were made.

Draft: full monorepo typechecking and rendered onboarding checks have not been run. The external Depot Django aggregate check is failing; its GitHub check record has no annotations or output, so its cause is unverified. Website: PostHog/posthog.com#21565. Setup agent: PostHog/context-mill#440. Merge this source first, then the website page, then the setup-agent variant.

🤖 Generated with Claude Code

Co-Authored-By: Claude Code <noreply@anthropic.com>
@trunk-io

trunk-io Bot commented Oct 24, 2026

Copy link
Copy Markdown

Merging to master in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

This branch has not been deployed

No deployments
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