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.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26fb843c7d7ddae53112ba968a48b0dd7f5ae8724d5e29b0e5d72790779f7e24 |
|
MD5 | 52ed6709dfa38a9d26005264b774b184 |
|
BLAKE2b-256 | 41b8ae08d94afaf6e30e3150e9cfdf663d8b97d870a5e3c2b5b0b25d5b0c0eb9 |
Close
Hashes for bottle_elastic_apm-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dffb4c7088c6977b45b79fd425ff6a82b04ae71069331832bceaee8e85dcd209 |
|
MD5 | f7e170d2f1e4c839882c9c8692b9f64f |
|
BLAKE2b-256 | 81247e21b70def958fbc722d7a480b72b4cdee3c57c1ad32d88cac276f482b25 |