respan-instrumentation-semantic-kernel
Respan instrumentation plugin for Microsoft Semantic Kernel.
Semantic Kernel Python already emits OpenTelemetry spans for kernel functions and chat/text completions when its experimental diagnostics are enabled. This package activates those diagnostics, captures Semantic Kernel prompt/completion log records on the active completion span, and registers a Respan span processor that normalizes the resulting spans to the Respan/OpenTelemetry contract.
Installation
pip install respan-ai respan-instrumentation-semantic-kernel
Usage
from respan import Respan
from respan_instrumentation_semantic_kernel import SemanticKernelInstrumentor
respan = Respan(
instrumentations=[SemanticKernelInstrumentor()],
)
Any Semantic Kernel work started after initialization is traced through the
active Respan OpenTelemetry pipeline. By default the instrumentor enables
Semantic Kernel's sensitive diagnostics so prompt and completion content can be
attached to chat/text completion spans. Pass capture_content=False to emit
model and token metadata without prompt/completion content.
Metadata
Release files for respan-instrumentation-semantic-kernel 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_semantic_kernel-0.1.1.tar.gz | 10.2 kB | Without provenance | Details for respan_instrumentation_semantic_kernel-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| respan_instrumentation_semantic_kernel-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for respan_instrumentation_semantic_kernel-0.1.1-py3-none-any.whl |
Total release size: 22.7 kB
Release files / respan_instrumentation_semantic_kernel-0.1.1.tar.gz
| Download URL | respan_instrumentation_semantic_kernel-0.1.1.tar.gz |
|---|---|
| Size | 10.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dd01ef19e77d5fb512d9815d8f3fc0455eb07ec65e1b06afa1faf941f11e2670
|
|
BLAKE2b-256 checksum How to use checksums |
0df79d85d6bbfc822fb29b30631e19688d45acf865da5432ce49ecb362cf5d4b
|
| 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_semantic_kernel-0.1.1-py3-none-any.whl
| Download URL | respan_instrumentation_semantic_kernel-0.1.1-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
01797329426411d3ebffb93eacc349a84d4dfddb3cd1e3d78e69ee9ff8dcb18d
|
|
BLAKE2b-256 checksum How to use checksums |
9e2eb0f049d92c0ae278348b84039cebd622f5069abe0c913b8fdab2e4c8627c
|
| 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-semantic-kernel 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.