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.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
Built Distribution
File details
Details for the file pyramid-elasticapm-1.1.0.tar.gz
.
File metadata
- Download URL: pyramid-elasticapm-1.1.0.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 463ea55a1a7cdc1dab05b32f54fa7d50ee170d6b89547b7a7262d6c91d05e73f |
|
MD5 | d0f4c756b675add87f2efd86e4fbc5cb |
|
BLAKE2b-256 | 51e8c3bc451e8230426dab1bdac2f77fb9a3e3af63f6f6541f0f32abcb938eb8 |
File details
Details for the file pyramid_elasticapm-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: pyramid_elasticapm-1.1.0-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | deef4f6ccf92b91dfc498222bc92a5e23a334550f8a82e81ea6d7b8bd94f3891 |
|
MD5 | a7086a105de581cc86c36e3c8bd49dac |
|
BLAKE2b-256 | 75d43c25007c60392f853e1f24ae9dd2e631d9247fab3c658272f364917cdc26 |