听云 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)
| 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
|