Skip to main content

听云 Python Agent

该安装包为北京基调网络股份有限公司提供用于应用性能管理的采集客户端,旨在对Python Web应用的全栈性能监测以及采样提供支持。更多资讯请移步听云 官方网站

安装

使用python包常见安装方法:

pip install tingyun

使用

注:以下示例,为在linux shell终端下执行。 探针启动时需要的 配置文件 环境变量”TING_YUN_CONFIG_FILE”也可以直接设置到操作系统环境里,或者类似示例一样直接设置到当前应用启动的局部环境变量中。

1、使用听云为用户分发的licenseKey生成配置文件

tingyun-admin generate-config <ACCOUNT-LICENSE-KEY> $config-file-path.ini

例如:

tingyun-admin generate-config 111-111-111 /tmp/ty-agent-config.ini

2、使用探针启动web应用

TING_YUN_CONFIG_FILE=$config-file-path tingyun-admin run-program <APPLICATION-START-COMMAND>

例如(启动django应用):

TING_YUN_CONFIG_FILE=/tmp/ty-agent-config.ini tingyun-admin run-program python manage.py runserver 0.0.0.0:8800

Metadata

Release files for tingyun 1.3.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tingyun 1.3.6
File Size Uploaded
tingyun-1.3.6.tar.gz 555.1 kB Details

Release files / tingyun-1.3.6.tar.gz

Download URL tingyun-1.3.6.tar.gz
Size 555.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b861a0d4b93bff153e54f5e468283c6e0a149c03fe4da3f1cf9ff40fe1aa125a
BLAKE2b-256 checksum
How to use checksums
bb40684b05c96f48fca4f88c70ce158cebecb6b25efc8d5d5fb59196493fef16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.20.0 requests-toolbelt/0.9.1 urllib3/1.26.12 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.8

Release history Release notifications | RSS feed

This release

1.3.6 This release

1 release file

1.3.2

1 release file

1.3.1

1 release file

1.3.0

1 release file

1.2.0

1 release file

1.1.3

1 release file

1.1.1

1 release file

1.1.0

1 release file

1.0.6

1 release file

1.0.1

1 release file

0.9.2

1 release file

0.9.1

1 release file

0.9.0

1 release file

0.8.0

1 release file

0.7.7

1 release file

0.7.5

1 release file

0.7.0

1 release file

0.6.7

1 release file

0.6.6

1 release file

0.6.3

1 release file

0.5.4

1 release file

0.5.3

1 release file

0.4.4

1 release file

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