Skip to main content

elastic-apm integration for the Pyramid framework

Project description

pyramid-elasticapm

elastic-apm integration for the Pyramid framework

This package is inspired by https://www.elastic.co/de/blog/creating-custom-framework-integrations-with-the-elastic-apm-python-agent.

Installation

Install with pip:

$ pip install pyramid_elasticapm

Then include it in your pyramid application via config:

[app:main]
...
pyramid.includes = pyramid_elasticapm

or programmatically in your application:

config.include('pyramid_elasticapm')

Settings

Settings for the elasticapm client can be specified via the elasticapm namespace:

  • elasticapm.server_url: Specify the apm server url.

  • elasticapm.secret_token: Your secret authentication token for the server.

  • elasticapm.service_name: The service name

  • elasticapm.environment: The environment (e.g. testing, production, …)

  • elasticapm.service_distribution: The name of the package your are deploying. pyramid_elasticapm will retrieve the version number of this package and put it into the metadata of every transaction.

  • elasticapm.transactions_ignore_patterns: Whitespace separated list of ignore patterns.

Change log for pyramid-elasticapm

1.0.0 (2021-04-21)

  • Initial release.

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-elasticapm-1.0.0.tar.gz (6.6 kB view hashes)

Uploaded Source

Built Distribution

pyramid_elasticapm-1.0.0-py3-none-any.whl (5.9 kB view hashes)

Uploaded Python 3

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