Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Datadog integration for Pyramid

Project Description

pyramid_datadog

Datadog integration for Pyramid. This library allows you to create graphs in datadog to keep track of number of requests and requests durations.

Installation

pip install pyramid_datadog

Usage

from datadog import statsd

def main(global_config, **settings):

    # pyramid initialization

    config.include("pyramid_datadog")
    config.configure_metrics(statsd)

    return config.make_wsgi_app()

What pyramid_datadog will measure for you

Using pyramid.events pyramid_datadog will log the following metrics in datadog:

Metric tags
pyramid.request.duration.route_match  
pyramid.request.duration.traversal  
pyramid.request.duration.view route
pyramid.request.duration.template_render route
pyramid.request.duration.total route, status_code, status_type

Please refer to the following link for information on the chronological order of events during a pyramid request http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/router.html

Release Notes

0.1.0 (2016-08-04)

  • First release of pyramid_datadog with 100% coverage in tests
Release History

Release History

This version
History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyramid_datadog-0.1.0.tar.gz (5.8 kB) Copy SHA256 Checksum SHA256 Source Aug 4, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting