Library to collect runtime metrics for Python applications using spectator-py.
Project description
spectator-py-runtime-metrics
Library to collect runtime metrics for Python applications using spectator-py.
See the Atlas Documentation site for more details on spectator-py
.
Instrumenting Code
from spectator.registry import Registry
from runmetrics.stats_collector import StatsCollector
if __name__ == "__main__":
registry = Registry()
StatsCollector(registry).start()
References
- Python
- Linux
Local Development
Install pyenv, possibly with Homebrew, and install a recent Python version.
make setup-venv
make test
make coverage
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
Built Distribution
Close
Hashes for netflix_spectator_py_runtime_metrics-1.0.0rc1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8a4074261cfd1884738960bb2d20c7221d599f196d9e9f55f4bb05db56ca8c0 |
|
MD5 | 77a4eaf0ffd8152725078cb36dc9d62a |
|
BLAKE2b-256 | 2e29dff9ce3c619c391bf51dc05089ab9c8f7467c699bfb2b537f9d69ec1723d |
Close
Hashes for netflix_spectator_py_runtime_metrics-1.0.0rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f00e91664100310b641a990116a59ec3bd518b7df6dcd75fa6131066786f1275 |
|
MD5 | d2f31344e4153fde59bfa04e1f4961ca |
|
BLAKE2b-256 | c13ee5e2c06a8f79bf53a04f5bdbcca09c455ced6b4d657abc24683f314f215e |