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.

Files for bottle-elastic-apm, version 0.0.13
Filename, size File type Python version Upload date Hashes
Filename, size bottle_elastic_apm-0.0.13-py3-none-any.whl (4.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size bottle-elastic-apm-0.0.13.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page