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 details)

Uploaded Source

File details

Details for the file python-traceview-0.7.0.tar.gz.

File metadata

File hashes

Hashes for python-traceview-0.7.0.tar.gz
Algorithm Hash digest
SHA256 4366ce5c56e2a42cf3022dfda29edeb367c73ae3b023af13acaec2ee0b7ee776
MD5 5d3e369689d5e7405aae99937c4958f2
BLAKE2b-256 90899b5241b464bc250655d165570da4210e887ba2fad98ba644862111001537

See more details on using hashes here.

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