The repository or configuration that created this release differ from a previous release. View details.
errorbar-tracing
Standard OpenTelemetry, curated. One install, one line, and your LLM traffic streams to errorbar — where you grade it, calibrate a judge against your own standards, and find out with confidence intervals whether a cheaper model holds up on your production traffic.
This package contains no instrumentation code of its own. It pins and configures the ecosystem's standard OpenTelemetry instrumentations — which gives it a property no other tracing SDK offers: you can uninstall it without losing your instrumentation. The identical setup in vanilla OTel is documented below; your spans are byte-for-byte the same either way, and nothing proprietary ever goes on the wire.
Install
pip install errorbar-tracing
Use
Call once at startup, before constructing any LLM client:
from errorbar_tracing import setup
tracing = setup() # reads ERRORBAR_API_KEY and ERRORBAR_TAG
print(tracing.instrumented) # e.g. ['openai', 'anthropic'] — only what's installed
Short-lived scripts should call tracing.shutdown() before exit to flush pending spans; long-running servers can skip it.
What gets captured
OpenAI, Anthropic, Gemini, and LangChain calls — automatically, and only for libraries actually installed (the instrumented list tells you exactly which). Successful calls, streamed calls, and failed calls (stored as ERROR trace structure — the most valuable signal there is, and the one status-code dashboards can't see).
Your inference does not move: requests keep going to your current provider; only trace telemetry flows to errorbar.
Configuration
| Env var | Meaning | Default |
|---|---|---|
ERRORBAR_API_KEY |
errorbar API key — required; setup() raises rather than exporting nowhere silently |
— |
ERRORBAR_TAG |
Population tag: one tag = one evaluation population in errorbar | unset |
ERRORBAR_OTLP_ENDPOINT |
OTLP/HTTP traces endpoint | https://gateway.errorbar.ai/v1/traces |
OTEL_SERVICE_NAME |
Standard OTel service name | unset |
All options can also be passed to setup() directly; explicit options beat env vars.
The eject guarantee
Remove this package and wire the same standard pieces yourself — identical spans, same endpoint, nothing lost:
import os
from opentelemetry.sdk.resources import Resource
from opentelemetry.sdk.trace import TracerProvider
from opentelemetry.sdk.trace.export import BatchSpanProcessor
from opentelemetry.exporter.otlp.proto.http.trace_exporter import OTLPSpanExporter
from opentelemetry.instrumentation.anthropic import AnthropicInstrumentor
provider = TracerProvider(
resource=Resource.create({"service.name": "my-service", "errorbar.tag": "my-agent"})
)
provider.add_span_processor(
BatchSpanProcessor(
OTLPSpanExporter(
endpoint="https://gateway.errorbar.ai/v1/traces",
headers={"Authorization": f"Bearer {os.environ['ERRORBAR_API_KEY']}"},
)
)
)
AnthropicInstrumentor().instrument(tracer_provider=provider)
# ...and the other instrumentors for whichever libraries you use
Already emitting OpenTelemetry (Pydantic AI, an existing OTel setup)? You don't need this package at all — three env vars point your existing exporter at errorbar. See the OTLP ingest reference.
Privacy
Span structure is always stored. Model-call content (prompts/completions) is stored only if your errorbar workspace has request logging enabled, under your retention window, with the same scrubbing and size caps as gateway traffic.
Verify your setup — get a receipt, not a hope
ERRORBAR_API_KEY=sk_... sh -c "$(curl -fsSL https://www.errorbar.ai/setup.sh)"
Proves the key works, confirms traces are actually landing, and names your one next step. Instrumentation that fails silently is the industry default; this is the alternative.
Links
- Docs · Platform · Node package
Apache-2.0
Metadata
Release files for errorbar-tracing 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Change of provenance
The repository or configuration that created these release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| errorbar_tracing-0.3.1.tar.gz | 5.3 kB | With provenance | Details for errorbar_tracing-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| errorbar_tracing-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for errorbar_tracing-0.3.1-py3-none-any.whl |
Total release size: 10.6 kB
Release files / errorbar_tracing-0.3.1.tar.gz
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | errorbar_tracing-0.3.1.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d82187fa1f697c0f16af35700f2b19ee7281d3edca4c7c3b99f91ea8618a3054
|
|
BLAKE2b-256 checksum How to use checksums |
72e9d1b0644f60326148549699348421fc6dd85b18fa742ce32ed7618a43872a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 30, 2026.
Transparency logRelease files / errorbar_tracing-0.3.1-py3-none-any.whl
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | errorbar_tracing-0.3.1-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8fc7bdcfb0a006f8c11a876716ab335b566241c962fda74cbf07b3b6d24b8f92
|
|
BLAKE2b-256 checksum How to use checksums |
dec49c4cc0cfed5ea4d06969b41eb878fb3893a48e8887d42b7a998690eaebd7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 30, 2026.
Transparency logSecurity for errorbar-tracing 0.3.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.
Change of provenance
The repository and configuration that created this release differ from a previous release.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
Repository
- Removed 0.3.0 github.com/omnia-v/omnia-tracing
- Added 0.3.1 github.com/omnia-v/errorbar-tracing
Attestation for errorbar_tracing-0.3.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 30, 2026.
Transparency logA 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.