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.15-py2.py3-none-win_amd64.whl
.
File metadata
- Download URL: py_spy_for_datakit-0.3.15-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.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7373cbb8287ec3209e54be569f98c85681dcc840cf15c514c1222563337d204 |
|
MD5 | 6e6aa9712ac46b0cd0eeffa6755555ec |
|
BLAKE2b-256 | 8a6a2a37811243ccdc14bff527014929d9c8dd36c48dbc652e84917c6e6f0281 |
File details
Details for the file py_spy_for_datakit-0.3.15-py2.py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
.
File metadata
- Download URL: py_spy_for_datakit-0.3.15-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.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d442db79baca3b5f731b7940af1430110486e5b258fde714f9a8ffecd25b3022 |
|
MD5 | f5b8331cef899d5130db48a25a7e5182 |
|
BLAKE2b-256 | 0a7b42bfd369b6080760fc3116d37b7206e4e6645013a1461531bcaee424fb35 |
File details
Details for the file py_spy_for_datakit-0.3.15-py2.py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: py_spy_for_datakit-0.3.15-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.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48e566cf63047927a80432c96277e8934cd3d2fabdfc27b477045c6ff42aeb86 |
|
MD5 | 7344ad0ab516e8a2cd0fddd66b2b67da |
|
BLAKE2b-256 | f9ecbab7e788b2f824a343b752d276ee03252e2a6c1e495ac30d805a020e24f4 |
File details
Details for the file py_spy_for_datakit-0.3.15-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
.
File metadata
- Download URL: py_spy_for_datakit-0.3.15-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 5.6 MB
- Tags: Python 2, Python 3, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14f08e3183c9cc4b49f780ba0dd30d1c939044441bf72b9178761cb3425de449 |
|
MD5 | 183b07755a7a8881ad8acb3c31b62a15 |
|
BLAKE2b-256 | 182a75a09241e5819d658526bf822b5b33f80724c29b16f8ce1d99ed807bdb3c |
File details
Details for the file py_spy_for_datakit-0.3.15-py2.py3-none-manylinux_2_5_i686.manylinux1_i686.whl
.
File metadata
- Download URL: py_spy_for_datakit-0.3.15-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.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95974ec492ebe0157e4669343a57c7544589b1d5777a1b88691b9a39444c515a |
|
MD5 | add4bb4850e90684ef2e23b7b0e9f86f |
|
BLAKE2b-256 | 612934f9183dedbf1605a3486c54edb68c18a618061831a54d7b5a303f6e9d6e |
File details
Details for the file py_spy_for_datakit-0.3.15-py2.py3-none-macosx_10_9_x86_64.macosx_10_9_arm64.macosx_10_9_universal2.whl
.
File metadata
- Download URL: py_spy_for_datakit-0.3.15-py2.py3-none-macosx_10_9_x86_64.macosx_10_9_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 7.0 MB
- Tags: Python 2, Python 3, macOS 10.9+ ARM64, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25286a569001280f60d186f34621106ac9ce45d15c394e802b9b7ce1e4b800c3 |
|
MD5 | 78030baddfe0c04e176702020e545466 |
|
BLAKE2b-256 | 8b5584ee022b586fd2b7f478301fb389408a34913fa40e7a7c668548232619f0 |
File details
Details for the file py_spy_for_datakit-0.3.15-py2.py3-none-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: py_spy_for_datakit-0.3.15-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.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4944c11ab5ccc9caed6976debc1db2b3ef2f9f38da171bab004f2b934193c5e4 |
|
MD5 | 47bcd14f9eb53b82f534f625092afa91 |
|
BLAKE2b-256 | ad13fdf766584be1a5ddf808fda46960a2768d85db55c802996bff77c1c0a842 |