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.2.0 (2025-02-25)

  • fix: Compatability to newest elastic-apm package.

1.1.0 (2024-10-09)

  • feat: Update to Python 3.10.

1.0.5 (2024-01-16)

  • fix: response variable was used before assignment in error handler.

1.0.4 (2022-08-31)

  • Request body was not added due to a bug, that is fixed now.

1.0.3 (2022-08-31)

  • Improve adding request body for requests and responses.

1.0.2 (2022-08-30)

  • Add request body for POST requests.

1.0.1 (2021-04-22)

  • Be more compatible with retrieving user data from request.

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.2.0.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyramid_elasticapm-1.2.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file pyramid-elasticapm-1.2.0.tar.gz.

File metadata

  • Download URL: pyramid-elasticapm-1.2.0.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.18

File hashes

Hashes for pyramid-elasticapm-1.2.0.tar.gz
Algorithm Hash digest
SHA256 0ecf54266ab57996adabf58d7f90109a4f18c018ec30c125503fa56e0966ca5c
MD5 b304200a335039fddcb5a154fc63357a
BLAKE2b-256 362d854cfaa2e60fc2fa3bed45b210a9c944c910c581673f7b273629d2198614

See more details on using hashes here.

File details

Details for the file pyramid_elasticapm-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pyramid_elasticapm-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 da3b5c5b490cb4968909a3c3c872ede2d1927273ead9efbcb9e6d0b1556a4936
MD5 2ae25575da41275cf55de3a8cf0e0a61
BLAKE2b-256 c32d0d61dfb16b1b07310ad4774d07d78fd7dee43b7041e333705096a5e2fbba

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