Repository navigation
docs(truefoundry): refresh Python client tracing setup - #1069
Merged
Merged
Conversation
Use released model coverage and error-redaction controls, exercise the actual recipe on floor and current OpenAI clients, and keep the client-only telemetry scope explicit. Co-Authored-By: Claude Code <[email protected]>
This was referenced Nov 2, 2026
Closed
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 free
to 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.
Summary
Refresh the TrueFoundry Python client guide to use published
traceai-openai0.1.11,fi-instrumentation-otel1.2.2 and OpenAI 3.42.0 instead of retaining limitations already fixed in released packages.TraceConfigbetween the full example's client and agent/tool spans, so environment controls are read when the example is initialized.Regression coverage
The old recipe fails the streamed-model, failed-model and error-redaction regressions. The updated suite covers real released OpenAI clients at 1.69.0 and 3.42.0, sync/async success and failure, streaming, the page snippet's real OTLP exporter, and the README's agent/tool hierarchy. Tests deny non-loopback connections and use synthetic credentials. The JSON wire fixture now uses OTLP-required numeric enum values.
A scoped CI workflow runs the client suite on both SDK versions. The exact requirements install, published source-distribution builds, docs build, integration checks, link audit and local docs rendering were also checked. No live gateway or Future AGI account is required by these tests.
Refs TH-8304. All installation pins are already published; no SDK release is required for this documentation update.
Generated with Claude Code