elastic-apm-falcon
Middleware for tracking Falcon requests/responses with Elastic APM.
This package provides a middleware for monitoring Falcon applications with Elastic APM. The middleware hooks into Falcon's request and response processing and maintains an Elastic APM client to track transactions and metadata.
Installation
You can install the latest stable version from PyPI:
$ pip install elastic-apm-falcon
Usage
You can add elastic_apm_falcon like any other middleware to your Falcon application. However,
you should make sure to import and instrument elasticapm as early as possible.
# import and instrument elasticapm as early as possible
import elasticapm
elasticapm.instrument()
# import remaining modules
import falcon
from elastic_apm_falcon import ElasticApmMiddleware
# initialize Elastic APM middleware
elastic_apm_middleware = ElasticApmMiddleware(service_name="your_service")
# initialize Falcon application
application = falcon.App(middleware=elastic_apm_middleware)
# add routes and resources to your application below
...
License
This package is licensed under the terms of the MIT license.
Made with ♥ at snapADDY.
Metadata
Release files for elastic-apm-falcon 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| elastic-apm-falcon-1.0.1.tar.gz | 3.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| elastic_apm_falcon-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.5 kB
Release files / elastic-apm-falcon-1.0.1.tar.gz
| Download URL | elastic-apm-falcon-1.0.1.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0aa44d87569ecaf226b1364a54e520dc1b75ada01d4fb24f894882f9ec1ceee9
|
|
BLAKE2b-256 checksum How to use checksums |
eed95545056698d4ea054fcd9a0be88c3d669415fc53ba512776279bacc90291
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.0b2 CPython/3.9.13 Linux/5.13.0-1031-azure
|
Release files / elastic_apm_falcon-1.0.1-py3-none-any.whl
| Download URL | elastic_apm_falcon-1.0.1-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b2768cee95a9792506ae8522ff0de912bd8f930280a2e35705549cf86362ac74
|
|
BLAKE2b-256 checksum How to use checksums |
b6deb86fcd6d160daa3ec02d238579bd74a5285d3ca7f123cf6e9fb7188da7f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.0b2 CPython/3.9.13 Linux/5.13.0-1031-azure
|
Security for elastic-apm-falcon 1.0.1
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.