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.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53fe7efdf41e98cfbac69f3c393e471eb082d4d42122855d9cba880868a2d4f7 |
|
MD5 | 912c095ff1888665b535513419fe0068 |
|
BLAKE2b-256 | d482f4bffe46334213c90f218a01ea2cc4e37bfb4230eb4ab4e12b17eb1c6698 |
Close
Hashes for bottle_elastic_apm-0.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c9006d20d036ce6129e2e3f6739a63a339c7d66e2b0e2f3e2d0f5765a144eb1 |
|
MD5 | f4fe1f7491849eb33c966890a7a1fe14 |
|
BLAKE2b-256 | 639d0f332668ffd21854e19a44270fc859678dd9bf4b9e69f5d9f778ec23cbf3 |