pico-otel
OpenTelemetry auto-instrumentation for the Pico ecosystem. Install it and your pico-boot app gets distributed tracing, log correlation and Prometheus metrics — wired by entry points, zero integration code.
Install
pip install pico-otel[all] # or pick: [otlp] [prometheus] [fastapi] [sqlalchemy] [celery] [logging]
What you get
- Tracing: FastAPI requests, SQLAlchemy queries and Celery tasks become spans — whichever libraries are present get instrumented, the rest are skipped silently.
- Metrics: the OTel meter provider exports to
prometheus_client's default registry — the same one pico-actuator serves at/actuator/metrics. Installing both = probes + metrics + tracing with zero config. - Log correlation: trace/span ids injected into log records.
# application.yaml (optional — sensible defaults without it)
otel:
service_name: my-service
endpoint: http://otel-collector:4317 # switches export to OTLP
traces_sample_ratio: 1.0
traces_exporter: auto (OTLP if endpoint is set, console otherwise), otlp, console or none. Setup is idempotent per process.
Documentation
Full docs at dperezcabrera.github.io/pico-otel.
Built for AI-assisted development
pico-otel is part of an ecosystem designed for humans and coding agents building software together. Every package ships AGENTS.md working conventions, an llms.txt machine-readable docs index and documented behaviour pinned by regression tests; pico-testing gives agents a verification loop for their own changes, and releases are gated by the whole ecosystem booting together against real infrastructure. The full story: Built for AI-assisted development.
Install the agent skills for Claude Code or OpenAI Codex:
curl -sL https://raw.githubusercontent.com/dperezcabrera/pico-skills/main/install.sh | bash
The pico-conventions skill teaches the assistant this module's API surface and invariants; /add-component and /add-tests scaffold components and tests that use it.
License
MIT
Metadata
Release files for pico-otel 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 | |
|---|---|---|---|
| pico_otel-0.1.1.tar.gz | 25.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pico_otel-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.5 kB
Release files / pico_otel-0.1.1.tar.gz
| Download URL | pico_otel-0.1.1.tar.gz |
|---|---|
| Size | 25.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dbee5678394330f911b9e4c584736812465fff0dd8125aaf3521af9b7b2b5322
|
|
BLAKE2b-256 checksum How to use checksums |
930a21cf1f2312cbaf07f66b3acf2bde5b43bb0f472d5c821cea916aae393f4b
|
| 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 logRelease files / pico_otel-0.1.1-py3-none-any.whl
| Download URL | pico_otel-0.1.1-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d8be0b15e7116eb445aeb5e37b2b75f427052a2a4191f4909a9057e249583598
|
|
BLAKE2b-256 checksum How to use checksums |
a9b3a89b6165d7175d2919ad26896126b3f6871b0e3ec1e00e26d8950d4937dd
|
| 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