Respan instrumentation for Mirascope
This package traces Mirascope 2.x model calls, context-aware calls, sync and async streams, and toolkit execution. Model calls become canonical Respan chat spans; toolkit executions become canonical tool spans. Streaming spans finish when the underlying stream is consumed and preserve iterator errors.
from respan_instrumentation_mirascope import MirascopeInstrumentor
instrumentor = MirascopeInstrumentor(capture_content=True)
instrumentor.activate()
capture_content=False omits messages, tool definitions, arguments, and model
outputs while retaining models, providers, usage, status, and errors. Activation
is reference-counted and safe to repeat.
Do not combine this adapter with mirascope.ops.instrument_llm() unless you
intentionally want two independent telemetry pipelines for each operation.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file respan_instrumentation_mirascope-0.1.0.tar.gz.
File metadata
- Download URL: respan_instrumentation_mirascope-0.1.0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.3.2 CPython/3.13.12 Linux/6.17.0-35-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5f0bb80f6fed668c3b000f4118eba0137864ef1aa1153669231ed398c2ae516
|
|
| MD5 |
495f7e4b8dd294b15070ac029d16faac
|
|
| BLAKE2b-256 |
cae7defe365c180b81855148b88918eb90d5d8511a2ce5201f0905c9164e5aac
|
File details
Details for the file respan_instrumentation_mirascope-0.1.0-py3-none-any.whl.
File metadata
- Download URL: respan_instrumentation_mirascope-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.3.2 CPython/3.13.12 Linux/6.17.0-35-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b4cf99436026eeeddcb3ccbc0675c18dc50f578114bc2082d35ef98fd7fe611
|
|
| MD5 |
e399b35c83412a830eb7f7a4a5d0c578
|
|
| BLAKE2b-256 |
392610b580f22a93e30782f2031874d87e6e5ae8f6cf40b0bda7a284e2040e60
|