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, emit llm.is_streaming=true, and
preserve real iterator errors without treating normal iterator completion as a
failure.
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.
Mirascope ToolCall.args JSON text is decoded for tool-span input as
{"name": ..., "arguments": ...}. Chat spans retain canonical request tool
definitions and current-turn calls, while tool outputs store the executed
function result rather than Mirascope's transport envelope.
Do not combine this adapter with mirascope.ops.instrument_llm() unless you
intentionally want two independent telemetry pipelines for each operation.
Metadata
Release files for respan-instrumentation-mirascope 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| respan_instrumentation_mirascope-0.1.1.tar.gz | 9.3 kB | Without provenance | Details for respan_instrumentation_mirascope-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| respan_instrumentation_mirascope-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for respan_instrumentation_mirascope-0.1.1-py3-none-any.whl |
Total release size: 19.7 kB
Release files / respan_instrumentation_mirascope-0.1.1.tar.gz
| Download URL | respan_instrumentation_mirascope-0.1.1.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5729faf9974aee3e238494a8c0d7eab3da35c0dc89ab066454ed82acb0489270
|
|
BLAKE2b-256 checksum How to use checksums |
3e9f4ee33107f0d1ca450627c5cf79046df20523aab50e35821c559b21b741db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / respan_instrumentation_mirascope-0.1.1-py3-none-any.whl
| Download URL | respan_instrumentation_mirascope-0.1.1-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
532f138c35af58cfe4a1b356e463a7dc02ac4dbf9f194c14af14b9b30c1edf67
|
|
BLAKE2b-256 checksum How to use checksums |
4a101cd166295a777d211e9ce00835a35eda988eba843612996f41f37804393b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Security for respan-instrumentation-mirascope 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.