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.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 188e72e5598696588f6e6418c72bae62830120fc1be0e4b2d59127db345740ff |
|
MD5 | 383d196d6339f69c7c87893b202d513d |
|
BLAKE2b-256 | 6cadc548cf1f5545b025ae1cef271447a07d7e7c6a1cb5ab93e9c2373f0ddebd |
Close
Hashes for bottle_elastic_apm-0.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50b515c9e53314cb2f20226e1f1e71edc34d67529d26bcea8af1d2f83ddfe93a |
|
MD5 | 40012b9216bd456613e42fa525a2c2df |
|
BLAKE2b-256 | 0fb83617aad3a63e79e0107cd87b524547e96e60ba30e940125460be1a48025f |