Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bottle-elastic-apm-0.0.7.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

bottle_elastic_apm-0.0.7-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page