TraceView API Client
Project description
Library for providing access to the TraceView API v2.
Please see the TraceView API Reference for more information.
Installation
To install python-traceview, simply:
$ pip install python-traceview
Usage
>>> import traceview
>>> tv = traceview.TraceView("API KEY HERE")
>>> tv.apps()
[u'Default', u'pyramid_web_app']
>>> tv.server.latency_summary(app='Default')
{u'count': 2746.0, u'average': 213911.87181354698, u'latest': 35209.87654320987}
>>> tv.error_rates('Default')
{u'fields': u'timestamp,error_rate', u'items': [[1399082880.0, 0], [1399082910.0, 0], ...]}
Documentation
Documentation available at http://python-traceview.readthedocs.org/.
Release History
0.2.0 (2014-05-04)
Add documentation
Add support for application assignment
Add support for annotations
0.1.0 (2014-04-21)
Inception!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file python-traceview-0.2.0.tar.gz
.
File metadata
- Download URL: python-traceview-0.2.0.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
e1a7f439665b778795af98707f90f4286a302bf67038ace96e611f6fc5612283
|
|
MD5 |
fe326f78289eb6f822be526c2cc075eb
|
|
BLAKE2b-256 |
95e2dd65160f3184b4c6f1410c432bd78a2c9e5be0412d3664f5e4dac8c19279
|