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.latency.server.summary(app='Default')
{u'count': 2746.0, u'average': 213911.87181354698, u'latest': 35209.87654320987}
>>> tv.latency.client.summary(app='Default', time_window='week')
{u'count': 70546.0, u'average': 10385458.60856746, u'latest': 138626.26463003372}
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.1.0.tar.gz
(5.7 kB
view hashes)