This release is a pre-release and may not be stable for production use.
OpenTelemetry vLLM Instrumentation
This library allows tracing and metrics collection for vLLM LLM serving framework.
Installation
pip install opentelemetry-instrumentation-vllm
Features
Works with vLLM 0.7.x–0.10.x (set VLLM_USE_V1=1 to opt into the v1 engine when running 0.8.x–0.10.x).
Captures spans for non-streaming and streaming create_completion and create_chat_completion calls, including prompt/response bodies, token usage and finish reasons.
Hooks the internal LLM engine to emit spans with TTFT, queueing time, per-stage latency and sampling parameters.
Hijacks vLLM’s Prometheus loggers so that all engine metrics are pushed through OpenTelemetry meters instead of relying on pull-based scraping.
Usage
from opentelemetry.instrumentation.vllm import VLLMInstrumentor
VLLMInstrumentor().instrument()
References
Metadata
Release files for tapm-instrumentation-vllm 0.1b3
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 |
|---|---|---|---|---|
| tapm_instrumentation_vllm-0.1b3.tar.gz | 25.5 kB | Without provenance | Details for tapm_instrumentation_vllm-0.1b3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tapm_instrumentation_vllm-0.1b3-py3-none-any.whl | Python 3 | none | any | Details for tapm_instrumentation_vllm-0.1b3-py3-none-any.whl |
Total release size: 54.7 kB
Release files / tapm_instrumentation_vllm-0.1b3.tar.gz
| Download URL | tapm_instrumentation_vllm-0.1b3.tar.gz |
|---|---|
| Size | 25.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71ebd9db44f180a842851ec142aa7c0a642c3ca0c6bf6e81591c9aa83350cb7d
|
|
BLAKE2b-256 checksum How to use checksums |
10b2d50ece767017f7b952bd5a0e5da44519205fb234e3929e6caa55b4430e67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.2
|
Release files / tapm_instrumentation_vllm-0.1b3-py3-none-any.whl
| Download URL | tapm_instrumentation_vllm-0.1b3-py3-none-any.whl |
|---|---|
| Size | 29.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8ef076f08f9fb2376c247dc7d026bddf88ad0914802cf7d02e3b625fc7395fe0
|
|
BLAKE2b-256 checksum How to use checksums |
9a46c575cfb78b503f3bee3d70cb4e7d176ca73463baeba9c8eb021dab455c62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.2
|
Security for tapm-instrumentation-vllm 0.1b3
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.