Skip to main content

LoongSuite Distro

LoongSuite Python Agent 的 Distro 包,提供 LoongSuite 定制的 OpenTelemetry 配置与工具链。

Installation

pip install loongsuite-distro

可选依赖(OTLP exporter):

pip install loongsuite-distro[otlp]

Features

  1. LoongSuite Distro:提供 OTEL_PYTHON_DISTRO=loongsuite 对应的 OpenTelemetry 配置入口。
  2. LoongSuite Bootstrap:提供 loongsuite-bootstrap / loongsuite-instrument 命令行能力。

Recommended usage

与仓库根目录 README.md 保持一致,推荐流程如下:

  1. 安装 distro:
pip install loongsuite-distro
  1. 安装 instrumentations(任选其一):
# 方式 A:安装 release 对应的全部组件
loongsuite-bootstrap -a install --latest

# 方式 B:按当前环境自动探测,仅安装命中的埋点
loongsuite-bootstrap -a install --latest --auto-detect

# 指定版本示例
loongsuite-bootstrap -a install --version X.Y.Z
  1. 使用 loongsuite-instrument 启动应用:
loongsuite-instrument \
  --traces_exporter console \
  --metrics_exporter console \
  --service_name demo \
  python demo.py

Manual configuration

也可以通过环境变量显式指定 distro:

export OTEL_PYTHON_DISTRO=loongsuite
export OTEL_PYTHON_CONFIGURATOR=loongsuite

References

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

loongsuite_distro-0.8.0-py3-none-any.whl (91.0 kB view details)

Uploaded Python 3

File details

Details for the file loongsuite_distro-0.8.0-py3-none-any.whl.

File metadata

File hashes

Hashes for loongsuite_distro-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 992e11564f249d879b823fffa9e64d79db637e38fe1531f4ff291c4505fe71c8
MD5 72b0acda74eeb5f33b95c6a5b6fe4aea
BLAKE2b-256 8b1c153c3a848f7f5b03755050cbdc004035e88fad0058efaae9178995398ac8

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.8.0 This release

1 file

0.7.0

1 file

0.6.0

1 file

0.5.0

1 file

0.4.0

1 file

0.3.0

1 file

0.2.0

1 file

0.1.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page