Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

argus-obs-semconv

Convenciones semánticas de Argus para librerías.

pip install argus-obs-semconv
import argus_semconv

El nombre de instalación y el de importación no coinciden, y conviene decirlo antes que nada. Se instala argus-obs-semconv y se importa argus_semconv.

El prefijo -obs- es deliberado: elegimos nombres que no existían en PyPI para que un fallo del índice no acabara instalando el paquete de un desconocido con el nombre que esperábamos. El módulo conservó el nombre corto porque es lo que se escribe cien veces.

Va arriba porque es lo primero con lo que tropieza quien lo adopta.

Cuándo usar este paquete y cuándo no

Escribes… Importa Por qué
Una librería (Axonium, synaptum, un SDK tuyo) argus-semconv Solo depende de opentelemetry-api. No impone SDK ni exportadores a quien te use
Una aplicación (servicio, worker, CLI) argus-sdk Es quien configura e inicializa la telemetría

La garantía

Si la aplicación que importa tu librería no ha inicializado un SDK de OpenTelemetry, toda la instrumentación de este paquete es no-op con coste cero. Si sí lo ha inicializado, se enciende sola usando su configuración, su endpoint y su muestreo.

Eso significa que puedes instrumentar tus librerías sin imponer nada a nadie.

from argus_semconv import genai

# En Axonium, dentro del cliente de inferencia:
with genai("chat", provider="ollama", request_model=model) as g:
    resp = await self._call_backend(...)
    g.usage(input_tokens=resp.prompt_tokens, output_tokens=resp.completion_tokens)
    g.backend(backend_id=backend.id, ttft_ms=resp.ttft_ms)

Las constantes están generadas

attributes.py se genera desde libs/semconv-model/argus.yaml. No lo edites a mano: ejecuta python tools/gen_semconv.py. Un test de CI verifica que no hay deriva entre el modelo y lo commiteado.

Metadata

Release files for argus-obs-semconv 1.0.0a10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for argus-obs-semconv 1.0.0a10
File Size Uploaded Provenance Actions
argus_obs_semconv-1.0.0a10.tar.gz 47.9 kB With provenance Details for argus_obs_semconv-1.0.0a10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for argus-obs-semconv 1.0.0a10
File Interpreter ABI Platform Actions
argus_obs_semconv-1.0.0a10-py3-none-any.whl Python 3 none any Details for argus_obs_semconv-1.0.0a10-py3-none-any.whl

Total release size: 75.7 kB

Release files / argus_obs_semconv-1.0.0a10.tar.gz

Download URL argus_obs_semconv-1.0.0a10.tar.gz
Size 47.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b386d0bdeb195e2f357b7b9c2c4273a1d8cae47852d68d12865efe2fadcb05e7
BLAKE2b-256 checksum
How to use checksums
4925f04b28494e65382c4562a3ddce0e1ba780eb44c1ecf0dc74c321b3622c9b
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 Sep 29, 2026.

Transparency log

Release files / argus_obs_semconv-1.0.0a10-py3-none-any.whl

Download URL argus_obs_semconv-1.0.0a10-py3-none-any.whl
Size 27.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e66b818b6959a246191fa3f5b1f51d1694cee044a19e2fb4e72580c86a0c8900
BLAKE2b-256 checksum
How to use checksums
de6daad0a8806dae15df298908830ed0a8805aba9f00e28f2029de9f9986b9bd
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 Sep 29, 2026.

Transparency log

Security for argus-obs-semconv 1.0.0a10

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for argus_obs_semconv-1.0.0a10.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 Sep 29, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page