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.14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b42f0aad96cd9aa77be4e2fee30132c5cf92abb4f933058bae1d2e9a59b6cb6 |
|
MD5 | 81b1ee6c02b635d8b620882a52c72efa |
|
BLAKE2b-256 | 779c93f06308dd49a7728abf4f4747e066fd69c39382f788e2887b56a9458614 |
Close
Hashes for bottle_elastic_apm-0.0.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 905ee87dc3924b2eb0350786d55dec4eba3c0f162e5543dd5f4e37777cc86793 |
|
MD5 | 6392f1b74f0cf2d659452a54095756fe |
|
BLAKE2b-256 | d183fa06c9958d5ffa3db8753f5d3446bee23efe4b0a4439a117c0d8b7e28eb8 |