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.15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40ba372989fe5577ec13eef7a4636b2a740818e20f01fe55e20a7cec78462244 |
|
MD5 | ee761b9a982035a554f5fd548a946923 |
|
BLAKE2b-256 | 088c1d32e2a3c453a4c784df4e607d123276b9c9fa6cb0aa59e4fa9a9f6df383 |
Close
Hashes for bottle_elastic_apm-0.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 236be08f0944e68e2765e93921cbf25f8fc72adb5151040169a726a3bec0ec5b |
|
MD5 | bd162eddd3dd8c1de2de10afffcc3a0c |
|
BLAKE2b-256 | 04d15b724a51e16831062120c10aa32d4bf9f9b853420c8af0b3180a49d851f8 |