Beacon Python
beacon-otel 是 Beacon Python 的主安装包。当前稳定版本为 0.1.0。
安装主包和所需框架的自动插桩插件。例如,FastAPI 应用可安装当前稳定版本:
pip install 'beacon-otel[fastapi]==0.1.0'
需要 Profiling 时安装:
pip install 'beacon-otel[fastapi,profiling]==0.1.0'
先激活安装 Beacon 的虚拟环境,再配置 OTLP 接收端并启动应用;也可以在 beacon 后传入该虚拟环境内可执行文件的完整路径:
export OTEL_SERVICE_NAME=my-service
export OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
beacon uvicorn myapp:app
beacon --version 显示 Beacon Python 产品版本。当前提供 requests、flask、fastapi 可选依赖;其他框架的自动插桩包可根据 OpenTelemetry 官方说明单独安装。安装包存在不代表所有框架和运行环境已获 Beacon 稳定版支持;支持范围以对应版本的发行说明和验收记录为准。
可选依赖仅安装对应的自动插桩插件;应用框架本身仍由应用自行安装。不要在同一 Python 环境中混装旧版 guance-sdk-extension-profiling,其自动插桩入口会与 beacon-profiling 冲突。
beacon 默认选择 Beacon 的 OpenTelemetry distro/configurator,并沿用标准 OTEL_* 环境变量。用户显式设置的 OTEL_PYTHON_DISTRO 或 OTEL_PYTHON_CONFIGURATOR 不会被覆盖。Profiling 默认关闭,启用方式见Profiling 文档。
Metadata
Release files for beacon-otel 0.1.0
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 | |
|---|---|---|---|---|
| beacon_otel-0.1.0.tar.gz | 8.4 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| beacon_otel-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.8 kB
Release files / beacon_otel-0.1.0.tar.gz
| Download URL | beacon_otel-0.1.0.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
746ea2946e9df5a1d2f886579aa853508ad9004f31257ae09fd84a5d7b667af0
|
|
BLAKE2b-256 checksum How to use checksums |
9ec8ae11b94abaeaee4f5a099f548cf378f73361d6160c9e6c0f98fa6e5f39d0
|
| 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 23, 2026.
Transparency logRelease files / beacon_otel-0.1.0-py3-none-any.whl
| Download URL | beacon_otel-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b8489e3404440669bb3341d5004d466b004c8005504b009c84f231fa4087cc28
|
|
BLAKE2b-256 checksum How to use checksums |
68343b40a217d111d979969083d33f32252bf2ab4de097590189d56646aefebd
|
| 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 23, 2026.
Transparency logSecurity for beacon-otel 0.1.0
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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for beacon_otel-0.1.0.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 23, 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.