Skip to main content

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.

Metadata

Release files for pyramid-elasticapm 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyramid-elasticapm 1.2.0
File Size Uploaded Provenance Actions
pyramid-elasticapm-1.2.0.tar.gz 7.2 kB Without provenance Details for pyramid-elasticapm-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyramid-elasticapm 1.2.0
File Interpreter ABI Platform Actions
pyramid_elasticapm-1.2.0-py3-none-any.whl Python 3 none any Details for pyramid_elasticapm-1.2.0-py3-none-any.whl

Total release size: 13.4 kB

Release files / pyramid-elasticapm-1.2.0.tar.gz

Download URL pyramid-elasticapm-1.2.0.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0ecf54266ab57996adabf58d7f90109a4f18c018ec30c125503fa56e0966ca5c
BLAKE2b-256 checksum
How to use checksums
362d854cfaa2e60fc2fa3bed45b210a9c944c910c581673f7b273629d2198614
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.18

Release files / pyramid_elasticapm-1.2.0-py3-none-any.whl

Download URL pyramid_elasticapm-1.2.0-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
da3b5c5b490cb4968909a3c3c872ede2d1927273ead9efbcb9e6d0b1556a4936
BLAKE2b-256 checksum
How to use checksums
c32d0d61dfb16b1b07310ad4774d07d78fd7dee43b7041e333705096a5e2fbba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.18

Security for pyramid-elasticapm 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page