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.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 439f36dbe73144041f415cd00cf9ae9287fd72382483e40a417443e2019756b1 |
|
MD5 | 776bf22a56d53ac2ecce77af880c6d33 |
|
BLAKE2b-256 | 5a06cb5db515daf0a99ad695dfdcfd7d16ebdb97f86f3f6ae4c54ea5f87c89c4 |