Plugin to implement instrumentation of elastic apm on a bottle server.
Project description
Bottle Elastic APM
Simple plugin to use ELK with APM server for your bottle application
# Keep this first
import elasticapm
elasticapm.instrument()
from bottle import default_app, run
from bottle_elastic_apm import ELKApmPLugin
ELK_CONFIG = {
'SERVICE_NAME': 'my-app',
}
app = default_app()
app.install(ELKApmPLugin(ELK_CONFIG))
@app.get('/')
def index():
return 'Hello world!'
run(app)
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for bottle-elastic-apm-0.0.16.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71a236981878757c401a074e6f8951824994acf1401fdd02e8106832754860d0 |
|
MD5 | f4510de7a61de9c38e558fde53426d78 |
|
BLAKE2b-256 | f85ad8caa1f508fef1f7685e2036848259be355324ef722ce71188f3a7429094 |
Close
Hashes for bottle_elastic_apm-0.0.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54fc3884c114fe0a1c3567755b0d3cc8c18b41639ef7f89d768274a1cfbfd8f3 |
|
MD5 | beeb3744682477d9062c3b593e08fb9c |
|
BLAKE2b-256 | 467691a0fc2e9a567ca4151dde4b7910d2ca9e33f1978f4cd33d3d7ab8ca0864 |