A Python Package to unify time series data sources and third party monitoring services.
Project description
PyuMetric
A Python Package to unify time series data sources.
Installation
To install PyuMetric run this command:
pip3 install pyumetric
Usage
After installing the library, Read the following usage criteria:
from pyumetric import NewRelic_Provider
new_relic = NewRelic_Provider("api_key_here")
# Get apps list
new_relic.get_apps()
# Get app info (12345 is the app id)
new_relic.get_app(12345)
# Get all metric list
new_relic.get_metrics(12345)
# Get Metrics list with a filter (Apdex)
new_relic.get_metrics(12345, "Apdex")
# Get Metric Values from 2019-02-01T01:00:00+00:00 to 2019-02-14T11:03:20+00:00
new_relic.get_metric(244202213, ["WebTransaction"], ["average_response_time"], "2019-02-01T01:00:00+00:00", "2019-02-14T11:03:20+00:00", False)
Misc
Changelog
Version 0.0.2:
Initial Release.
Acknowledgements
© 2019, Silverback. Released under MIT License.
PyuMetric is authored and maintained by @silverbackhq.
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
pyumetric-0.0.2.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for pyumetric-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bd1e588f2fb35a768cddf2ed6db0d6b9eafc1780712c8949ede2cab855b0cea |
|
MD5 | 49929a6542e107b068104f4755645ac7 |
|
BLAKE2b-256 | eb96fc5225ac4cd5585b21e2451ee70da5144070c86b8434c9438e022e28e4d2 |