a tool that collects and visualizes TiFlash runtime infomation
Project description
Usage
# install from pypi
pip3 install flashprof
# collect tiflash logs from tiup cluster to current directory, which will also be parsed to json
flashprof collect --cluster $CLUSTER_NAME
# draw dag using parsed json file, support task/input_stream DAG
flashprof draw --json_file $JSON_FILE --out_dir $OUT_DIR --type $DAG_TYPE
Development
# install a local dev version of python package, then we can call flashprof
# rerun this when code is changed
# it internally creates a symbolic link to the current source code
pip3 install -e .
# remove if you want
pip3 uninstall flashprof
Packaging
TL;DR
pip3 install build
python3 -m build
twine upload --repository testpypi dist/*
Instructions
Please refer to https://packaging.python.org/guides/distributing-packages-using-setuptools/ for detaild instructions.
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 Distribution
flashprof-0.0.5.tar.gz
(6.9 kB
view hashes)
Built Distribution
Close
Hashes for flashprof-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29a742671aa4221bcf5c023ee93a5de082d89ecc338434f001fa7113f750682b |
|
MD5 | 2a5193e67228867f11be32a30ed41da0 |
|
BLAKE2b-256 | f89aa8084d9c6c4bb2b6ed5e5d2bf8782e3ec0c11faf60703665822f80f80405 |