mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-28 02:10:38 +02:00
chore: Update SDK documentation (#2834)
Co-authored-by: marvin-context-protocol[bot] <225465937+marvin-context-protocol[bot]@users.noreply.github.com>
This commit is contained in:
parent
a6cd764b5f
commit
1700bc360b
59 changed files with 3023 additions and 1406 deletions
23
docs/python-sdk/fastmcp-client-telemetry.mdx
Normal file
23
docs/python-sdk/fastmcp-client-telemetry.mdx
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
title: telemetry
|
||||
sidebarTitle: telemetry
|
||||
---
|
||||
|
||||
# `fastmcp.client.telemetry`
|
||||
|
||||
|
||||
Client-side telemetry helpers.
|
||||
|
||||
## Functions
|
||||
|
||||
### `client_span` <sup><a href="https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/telemetry.py#L12" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>
|
||||
|
||||
```python
|
||||
client_span(name: str, method: str, component_key: str, session_id: str | None = None, resource_uri: str | None = None) -> Generator[Span, None, None]
|
||||
```
|
||||
|
||||
|
||||
Create a CLIENT span with standard MCP attributes.
|
||||
|
||||
Automatically records any exception on the span and sets error status.
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue