Skip to main content

Python application performance monitor client,It's main usage is working with python web application.

Project description

该安装包为北京基调网络股份有限公司提供用于应用性能管理的采集客户端,旨在对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

Project details


Download files

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

Source Distribution

tingyun-1.3.6.tar.gz (555.1 kB view details)

Uploaded Source

File details

Details for the file tingyun-1.3.6.tar.gz.

File metadata

  • Download URL: tingyun-1.3.6.tar.gz
  • Upload date:
  • Size: 555.1 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for tingyun-1.3.6.tar.gz
Algorithm Hash digest
SHA256 b861a0d4b93bff153e54f5e468283c6e0a149c03fe4da3f1cf9ff40fe1aa125a
MD5 52611d1f912743c59bbaa091bd0198fb
BLAKE2b-256 bb40684b05c96f48fca4f88c70ce158cebecb6b25efc8d5d5fb59196493fef16

See more details on using hashes here.

Supported by

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