Skip to main content

py-spy fork for sending data to datakit

Project description

py-spy-for-datakit: Send profiling data to datakit instead of writing to a file

Installation

Prebuilt binary wheels can be installed from PyPI with:

pip install py-spy-for-datakit

If you have rust and cargo installed, py-spy-for-datakit can also be installed with: cargo install py-spy-for-datakit.

In addition to above, you can also download prebuilt binaries for most platforms from the GitHub Releases Page directly.

Usage

py-spy-for-datakit works from the command line and takes either the PID of the program you want to sample from or the command line of the python program you want to run.

# Use process PID
sudo py-spy-for-datakit datakit --host 127.0.0.1 --port 9295 --service py-spy-demo --env dev --version v0.1 --pid 12345
# OR use your app starting command line
sudo py-spy-for-datakit datakit --host 127.0.0.1 --port 9295 --service py-spy-demo --env dev --version v0.1 -- python myapp.py

For more usage help, use py-spy-for-datakit help datakit command or refer to py-spy manual

Project details


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 Distributions

py_spy_for_datakit-0.3.16-py2.py3-none-win_amd64.whl (3.3 MB view hashes)

Uploaded Python 2 Python 3 Windows x86-64

py_spy_for_datakit-0.3.16-py2.py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (5.1 MB view hashes)

Uploaded Python 2 Python 3 manylinux: glibc 2.17+ ARMv7l

py_spy_for_datakit-0.3.16-py2.py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.0 MB view hashes)

Uploaded Python 2 Python 3 manylinux: glibc 2.17+ ARM64

py_spy_for_datakit-0.3.16-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl (5.5 MB view hashes)

Uploaded Python 2 Python 3 manylinux: glibc 2.5+ x86-64

py_spy_for_datakit-0.3.16-py2.py3-none-manylinux_2_5_i686.manylinux1_i686.whl (5.3 MB view hashes)

Uploaded Python 2 Python 3 manylinux: glibc 2.5+ i686

py_spy_for_datakit-0.3.16-py2.py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (7.1 MB view hashes)

Uploaded Python 2 Python 3 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

py_spy_for_datakit-0.3.16-py2.py3-none-macosx_10_7_x86_64.whl (3.6 MB view hashes)

Uploaded Python 2 Python 3 macOS 10.7+ x86-64

Supported by

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