Skip to main content

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

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

pyramid_datadog-0.1.0.tar.gz (5.8 kB view details)

Uploaded Source

File details

Details for the file pyramid_datadog-0.1.0.tar.gz.

File metadata

File hashes

Hashes for pyramid_datadog-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3a58063285b5b8495f7853f6f877dfdfe3d0fd66eae094f7b9c4734d8b9458d1
MD5 957d87644fedfacc9879e05ba8c768c8
BLAKE2b-256 3cc6459188a17357925e7e864f762758c9c59a003b5279793881343112a56dbd

See more details on using hashes here.

Supported by

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