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.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42359112cfb92bc21d004a4e73e31c3c8e355d691915e25b79a9cc9aa0a15c77 |
|
MD5 | afb7d9301999e5235b694e621042f1dc |
|
BLAKE2b-256 | 4bead49151cf592a4cbe8e44c65f0b1c102f51a1e6088f3aa697a70edad02073 |