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.17
Filename, size File type Python version Upload date Hashes
Filename, size bottle_elastic_apm-0.0.17-py3-none-any.whl (4.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size bottle-elastic-apm-0.0.17.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page