Skip to content

Added example for otel integration#50

Open
JoshBragg-Cohere wants to merge 3 commits into
mainfrom
jbragg/otel-demo
Open

Added example for otel integration#50
JoshBragg-Cohere wants to merge 3 commits into
mainfrom
jbragg/otel-demo

Conversation

@JoshBragg-Cohere
Copy link
Copy Markdown
Contributor

@JoshBragg-Cohere JoshBragg-Cohere commented May 14, 2026

image

https://gofastmcp.com/servers/telemetry


Note

Low Risk
Low risk: changes are documentation and a new example project only, with no modifications to core SDK runtime behavior. Main risk is user confusion/misconfiguration around OTel provider initialization order and extra demo dependencies.

Overview
Adds an OpenTelemetry section to the README.md describing the SDK’s telemetry helpers (custom traced_spans, log trace/span ID correlation, and privacy-aware error recording) plus how to enable tracing and when to use the new verbose mode for sensitive span data.

Introduces a new runnable examples/telemetry-demo/ with a minimal OTLP gRPC exporter setup and a sample tool that creates nested custom spans, including an examples/telemetry-demo/pyproject.toml to pin the required OTel SDK/exporter dependencies.

Reviewed by Cursor Bugbot for commit d7c686f. Bugbot is set up for automated code reviews on this repo. Configure here.

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