Skip to main content

TraceView API Client

Project description

https://badge.fury.io/py/python-traceview.png https://travis-ci.org/danriti/python-traceview.png?branch=master

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.7.0 (2016-06-12)

  • Add support for formatting TraceView API results

  • Add support for total requests summary

  • Refactor internal design of library

  • Update requests library to version 2.10.0

  • Drop support for Python 3.2

0.6.0 (2016-01-16)

  • Add support for deleting apps (thanks Dan Kuebrich!)

0.5.0 (2015-10-16)

  • Add support for total requests (thanks Matt Coddington!)

  • Python 3.5 now supported

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.7.0.tar.gz (10.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page