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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file py_spy_for_datakit-0.3.16-py2.py3-none-win_amd64.whl
.
File metadata
- Download URL: py_spy_for_datakit-0.3.16-py2.py3-none-win_amd64.whl
- Upload date:
- Size: 3.3 MB
- Tags: Python 2, Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cd24e08fa89da0183a042e58f5e7b8255d6320814b5db8e1673a93c40fff773 |
|
MD5 | 910145c992a3252c64e6fb7aa6c9f3d2 |
|
BLAKE2b-256 | e5e66292a04855ceb32ab60866beb18c62484c8c7e29ab89d0031390b20e0865 |
File details
Details for the file py_spy_for_datakit-0.3.16-py2.py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
.
File metadata
- Download URL: py_spy_for_datakit-0.3.16-py2.py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
- Upload date:
- Size: 5.1 MB
- Tags: Python 2, Python 3, manylinux: glibc 2.17+ ARMv7l
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbb6192d361011241fc5caea61e997e32225034cad95d3457689b227ccfedf35 |
|
MD5 | ccb0b0cdc6cfb06b95ca9c3e179d8555 |
|
BLAKE2b-256 | fc0dcbbad9b6d3b2a117691ce7beaf8ee00b74044b561eb400cd5dd7104b9504 |
File details
Details for the file py_spy_for_datakit-0.3.16-py2.py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: py_spy_for_datakit-0.3.16-py2.py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 5.0 MB
- Tags: Python 2, Python 3, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aba307d46b32500aeea14ff0105a8188eacb0d07a9746b36f49205b4a180b459 |
|
MD5 | ae1880e21c2180e913b2c71949c2e517 |
|
BLAKE2b-256 | d652a5eead66f773579f340d4c7299d83d8327278d242e32b08e0b24384cc7cd |
File details
Details for the file py_spy_for_datakit-0.3.16-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
.
File metadata
- Download URL: py_spy_for_datakit-0.3.16-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 5.5 MB
- Tags: Python 2, Python 3, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4c47808c98aac0fdc4c1ae3381c82022a93d399601d63f3a8289d8be0b35f19 |
|
MD5 | 847dc05e37054c3e9fb29cf0f9033ee9 |
|
BLAKE2b-256 | 0446a2193f445ac986bc345290c021a69a742e2779cb3b60e555abbbef2a059c |
File details
Details for the file py_spy_for_datakit-0.3.16-py2.py3-none-manylinux_2_5_i686.manylinux1_i686.whl
.
File metadata
- Download URL: py_spy_for_datakit-0.3.16-py2.py3-none-manylinux_2_5_i686.manylinux1_i686.whl
- Upload date:
- Size: 5.3 MB
- Tags: Python 2, Python 3, manylinux: glibc 2.5+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46230435ebaf9d71a240d2bb349a7f3acb6d174a51f81e9585c2e7d238ffd1cb |
|
MD5 | 0c403e56685de3d4fcd987e101d96ed3 |
|
BLAKE2b-256 | eee3d6a599c5579357e6c85a091778272852d80ca7b7877533123f4762314841 |
File details
Details for the file py_spy_for_datakit-0.3.16-py2.py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
.
File metadata
- Download URL: py_spy_for_datakit-0.3.16-py2.py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 7.1 MB
- Tags: Python 2, Python 3, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89019772b23660985ab340352e13b9b8eb59f31071de7076158e08b01d14d393 |
|
MD5 | c7d76b8684391213b85c72603d9bae15 |
|
BLAKE2b-256 | 402cf60a726bab00d6091cdeaa509375c2f12f621db8fdd525a97ba9fc76c1ed |
File details
Details for the file py_spy_for_datakit-0.3.16-py2.py3-none-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: py_spy_for_datakit-0.3.16-py2.py3-none-macosx_10_7_x86_64.whl
- Upload date:
- Size: 3.6 MB
- Tags: Python 2, Python 3, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97fc9ea958dbdf91f82106d08bcb89af1dc6ca96f29cf87b07c411855c6efbfe |
|
MD5 | 9e44adcaef212f7a182cc43ffe20c407 |
|
BLAKE2b-256 | 741791789725d4d28c48b2bb8eb5dfd69e1098e0eada7640ab92de3474084faa |