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.17.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73e91a08ae582be213a9e893fac54f9c3ee0d5bc3af5ab83cf2e260fe08df835 |
|
MD5 | 005459b2217baf57a4c0195279418081 |
|
BLAKE2b-256 | 708428335e8280bd90876eeedcd4be632d2090a0f7fe38866788a896c56df14d |
Close
Hashes for bottle_elastic_apm-0.0.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e37e26f16b34f74baa5ee1631c66359055c50ed0f3f17f96c6e924d3ed6b1512 |
|
MD5 | 39283640ab3e72d61c0cf9a1375eafd8 |
|
BLAKE2b-256 | 0e06f5472d2c2734bc645cd13bb22bb36d999d7c40849062f0f9bbdf171666e3 |