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're a Rust user, py-spy can also be installed with: cargo install py-spy-for-datakit.

Usage

py-spy 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.

sudo py-spy-for-datakit datakit --host 127.0.0.1 --port 9295 --service py-spy-demo --env dev --version v0.1 --pid 95768
# OR
sudo py-spy-for-datakit datakit --host 127.0.0.1 --port 9295 --service py-spy-demo --env dev --version v0.1 -- python myprogram.py

For more usage help, use py-spy help and py-spy help datakit command or refer to py-spy project

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

py_spy_for_datakit-0.3.14.tar.gz (171.4 kB view details)

Uploaded Source

Built Distributions

py_spy_for_datakit-0.3.14-py3-none-macosx_11_0_arm64.whl (2.5 MB view details)

Uploaded Python 3 macOS 11.0+ ARM64

py_spy_for_datakit-0.3.14-py2.py3-none-win_amd64.whl (3.3 MB view details)

Uploaded Python 2 Python 3 Windows x86-64

py_spy_for_datakit-0.3.14-py2.py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (5.1 MB view details)

Uploaded Python 2 Python 3 manylinux: glibc 2.17+ ARMv7l

py_spy_for_datakit-0.3.14-py2.py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.0 MB view details)

Uploaded Python 2 Python 3 manylinux: glibc 2.17+ ARM64

py_spy_for_datakit-0.3.14-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl (5.6 MB view details)

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

py_spy_for_datakit-0.3.14-py2.py3-none-manylinux_2_5_i686.manylinux1_i686.whl (5.3 MB view details)

Uploaded Python 2 Python 3 manylinux: glibc 2.5+ i686

py_spy_for_datakit-0.3.14-py2.py3-none-macosx_10_9_x86_64.macosx_10_9_arm64.macosx_10_9_universal2.whl (7.0 MB view details)

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

py_spy_for_datakit-0.3.14-py2.py3-none-macosx_10_7_x86_64.whl (3.6 MB view details)

Uploaded Python 2 Python 3 macOS 10.7+ x86-64

File details

Details for the file py_spy_for_datakit-0.3.14.tar.gz.

File metadata

File hashes

Hashes for py_spy_for_datakit-0.3.14.tar.gz
Algorithm Hash digest
SHA256 f695fdb71515ca53654482da433f90d9a3190324c53a848641c7adef7aafb4bb
MD5 85fec0d6684040940508a69289c788ea
BLAKE2b-256 2e6f31a2a18eccdb0fd864de8ae8f36a8a2dc55c1e69a843aade58b8ea7051ab

See more details on using hashes here.

File details

Details for the file py_spy_for_datakit-0.3.14-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for py_spy_for_datakit-0.3.14-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0c5af0f0373ba4adfec0d3902966722be7edb746313c7c31657c4a616bf43e97
MD5 2b9ae66f10cc94057c2ba1d7ea250d04
BLAKE2b-256 2c5cf18a8582ffcb26a6e0a5a632de7353473f10d769935d933fb75ee9799b1c

See more details on using hashes here.

File details

Details for the file py_spy_for_datakit-0.3.14-py2.py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for py_spy_for_datakit-0.3.14-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 90189153b26d4a0cf986d1b480e399a7f67c74386e1eb5b016f5628bfa40a63f
MD5 4dbfab3ca355a54838c09bcb043cb322
BLAKE2b-256 db672ff05f8fddb8202a1a4470c015f2dbb6d33d001e3aada311faec2a981b95

See more details on using hashes here.

File details

Details for the file py_spy_for_datakit-0.3.14-py2.py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for py_spy_for_datakit-0.3.14-py2.py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 7bc5ac1a72f60218363262e6929f810b582d836f6c9329f34e13c445f72f3c8f
MD5 cde6e61a3c46805b4e08eee5b5e6b5bb
BLAKE2b-256 fcd344490598e7070b1d5470b528009423c15574c8561d0dda29917b4ae74096

See more details on using hashes here.

File details

Details for the file py_spy_for_datakit-0.3.14-py2.py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for py_spy_for_datakit-0.3.14-py2.py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 95d87950349588e5868c9419c24c5e4d5c21071a33af7eabee419a50863931a5
MD5 908ddf678b61d6d12d4d25879651c83e
BLAKE2b-256 3fb223dad81d907dd92976da4c853381be9f0d6b66d0e0bbcdebfdf863d4a690

See more details on using hashes here.

File details

Details for the file py_spy_for_datakit-0.3.14-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for py_spy_for_datakit-0.3.14-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7c4f4d19105f080236fbb64f8e43868b726bb5e8bd9f72bd619cec4eb2faec4e
MD5 572a289dd1ad2b7578c14815fddce311
BLAKE2b-256 9a52408f47309d8c490fee5969ca963b6dc99873dc74c4fdabe5ba9ddc64a131

See more details on using hashes here.

File details

Details for the file py_spy_for_datakit-0.3.14-py2.py3-none-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for py_spy_for_datakit-0.3.14-py2.py3-none-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 ebb89c23d507d8fa72934b310922c81e6e3c5277d17e2edacee3a39878d7bcc8
MD5 03e5f34f1d9c486dd0c9867406c2ac0a
BLAKE2b-256 473f888e00efdd457adbe6c8031cd90dcfd6371addc5219bd1bd678a4f037f65

See more details on using hashes here.

File details

Details for the file py_spy_for_datakit-0.3.14-py2.py3-none-macosx_10_9_x86_64.macosx_10_9_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for py_spy_for_datakit-0.3.14-py2.py3-none-macosx_10_9_x86_64.macosx_10_9_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 5d42ffe3043a7b0d6778ce0d8eb8497fb3b6d48c03a19cb75035d5d972a6ad79
MD5 c1411c1a4afff0e0c25b6a172a3fa804
BLAKE2b-256 bcfe6594e37f6105b7161a6fb852f89e6a9cc527d3519f173681c97b2744fbd5

See more details on using hashes here.

File details

Details for the file py_spy_for_datakit-0.3.14-py2.py3-none-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for py_spy_for_datakit-0.3.14-py2.py3-none-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 5947e0cbb7aefcefe557573cfa70e4b35d3c819cdd3debf2bdd8d3fcc6a3071e
MD5 75f338adb4521134624d79e24fcfd808
BLAKE2b-256 eab3b64d1f72b7105cedc4c03e3ed7fb681b5d66467cef34b3197da26ae2e414

See more details on using hashes here.

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