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.4.0 (2014-09-08)
Add support for licenses
Add support for annotations improvements
Add support for deleting old hosts
Add support for hosts by app
Add support for instrumentation versions
0.3.0 (2014-05-05)
Add python3 support
Update tests
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
python-traceview-0.4.0.tar.gz
(8.6 kB
view hashes)