Skip to main content
Pre-release

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

argus-semconv

Convenciones semánticas de Argus para librerías.

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.

Release files for argus-obs-semconv 1.0.0a4

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.0a4
File Size Uploaded
argus_obs_semconv-1.0.0a4.tar.gz 34.1 kB Details

Built distribution (wheel)

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

Total release size: 53.9 kB

Release files / argus_obs_semconv-1.0.0a4.tar.gz

Download URL argus_obs_semconv-1.0.0a4.tar.gz
Size 34.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1458e23b0eae9cca9adbd7c668a751e6d283f0ea1c1db36089c3828d9d767911
BLAKE2b-256 checksum
How to use checksums
d9ec9fd8cd3e3063face22ed5564f2d56e5f63b77f04d64052f2300edfadf473
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 20, 2026.

Transparency log

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

Download URL argus_obs_semconv-1.0.0a4-py3-none-any.whl
Size 19.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
42a66c565b946421bcc7304238fb7ba9b560a759b069eb0f361dfb2cb60574c1
BLAKE2b-256 checksum
How to use checksums
e016f0f24252687d187ccf72baca3b6d604dbec0c101396b26249ebed186b36a
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 20, 2026.

Transparency log
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