Opentelemetry CI
A python utility library (similar to otel-cli) for recording and generating spans in the CLI.
Similar to otel-cli; spans are propagated via environment variables.
Unlike otel-cli; spans can be exported to a directory and then replayed in bulk to an otel receiver. This is useful
when you do not want the overhead/delay of exporting spans live.
Usage
Generating spans via otel-cli
uv tool install otel-cli
# Record a single span
otel-ci exec ls
# Nested span recording
otel-ci exec otel-ci exec ls
# Exporting to disk and replaying results
export OTEL_EXPORTER_FILE_DIRECTORY="/tmp/out"
export OTEL_TRACES_EXPORTER="file"
otel-ci --service test exec ls
# or
otel-ci --service=test -d /tmp/out -e file exec ls
export OTEL_TRACES_EXPORTER="otlp"
export OTEL_EXPORTER_OTLP_PROTOCOL="grpc"
export OTEL_EXPORTER_OTLP_ENDPOINT="localhost:4317"
otel-ci replay -d "/tmp/out"
Metadata
Release files for otel-ci 0.4.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 | Provenance | Actions |
|---|---|---|---|---|
| otel_ci-0.4.1.tar.gz | 31.8 kB | Without provenance | Details for otel_ci-0.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| otel_ci-0.4.1-py3-none-any.whl | Python 3 | none | any | Details for otel_ci-0.4.1-py3-none-any.whl |
Total release size: 40.1 kB
Release files / otel_ci-0.4.1.tar.gz
| Download URL | otel_ci-0.4.1.tar.gz |
|---|---|
| Size | 31.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e7a1c51673b3a7dcd77ce2e7f7343e1d0e19f27675acf0ef57fa79e4a3d215f9
|
|
BLAKE2b-256 checksum How to use checksums |
5622487ee480331ce10d83df561c61a57fe8fa55c3cdd2d234776d7541b2f341
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.4 {"installer":{"name":"uv","version":"0.13.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / otel_ci-0.4.1-py3-none-any.whl
| Download URL | otel_ci-0.4.1-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4cf77cdc3363884a944f3ed7c9d149e976d58c16a93f5f040b5f06900efc68e3
|
|
BLAKE2b-256 checksum How to use checksums |
af13cd5169f1ae887a95f902a2d533b8d7da37870d8dd192752decb7dc81e71b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.4 {"installer":{"name":"uv","version":"0.13.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for otel-ci 0.4.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.
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.