fastmcp/examples
claude[bot] 2e6e8256d9 Document OpenTelemetry integration
Add comprehensive documentation for integrating OpenTelemetry with FastMCP:
- New integration guide at docs/integrations/opentelemetry.mdx
- Covers logging integration with LoggingHandler
- Demonstrates span creation via custom middleware
- Includes production OTLP export configuration
- Provides complete working example

Also update related docs:
- Add OpenTelemetry reference in middleware.mdx
- Add tip about OpenTelemetry in logging.mdx
- Register doc in docs.json under new Observability section

Example code:
- examples/opentelemetry_example.py with working weather server

Closes #1998

Co-authored-by: William Easton <strawgate@users.noreply.github.com>
2025-10-04 02:23:43 +00:00
..
atproto_mcp Implement typed source system for FastMCP configuration (#1607) 2025-08-24 16:32:37 -04:00
auth Remove redirect path for authkit example (#1938) 2025-09-27 12:01:41 -04:00
fastmcp_config Implement typed source system for FastMCP configuration (#1607) 2025-08-24 16:32:37 -04:00
fastmcp_config_demo Internal refactor: fastmcp config to mcp server config (#1672) 2025-08-29 21:37:39 -04:00
smart_home remove lockfile smart_home example (#1892) 2025-09-22 20:07:19 -04:00
complex_inputs.py Remove empty parens 2025-06-04 15:37:55 -04:00
config_server.py Remove empty parens 2025-06-04 15:37:55 -04:00
desktop.py Remove empty parens 2025-06-04 15:37:55 -04:00
echo.py Remove empty parens 2025-06-04 15:37:55 -04:00
get_file.py Run pre-commit and fix typing issues 2025-06-16 07:12:41 +02:00
in_memory_proxy_example.py Add as_proxy improvements and tests 2025-05-17 12:23:48 -04:00
memory.fastmcp.json Update schema path (#1595) 2025-08-23 09:47:58 -04:00
memory.py Update environment note (#1075) 2025-07-07 13:44:19 -04:00
mount_example.fastmcp.json Update schema path (#1595) 2025-08-23 09:47:58 -04:00
mount_example.py feat: introduce fastmcp.json configuration system (#1517) 2025-08-19 16:06:04 -04:00
opentelemetry_example.py Document OpenTelemetry integration 2025-10-04 02:23:43 +00:00
sampling.py Remove empty parens 2025-06-04 15:37:55 -04:00
sampling_fallback.py Make openai depedency optional (#1701) 2025-09-02 15:13:37 -04:00
screenshot.fastmcp.json Update schema path (#1595) 2025-08-23 09:47:58 -04:00
screenshot.py Deprecate top-level import 2025-06-14 09:12:21 -04:00
serializer.py Remove empty parens 2025-06-04 15:41:28 -04:00
simple_echo.py Remove empty parens 2025-06-04 15:37:55 -04:00
tags_example.py Add support for RouteMap tags, update docs 2025-05-22 21:59:16 -04:00
text_me.py Basic cleanup 2025-04-05 17:39:51 -04:00