Skip to main content

Application Performance Monitoring Made Easy

Project description

Build Status

codecov

Welcome to Knotty, the easiest way to tie down your application performance metrics!

NOTE: While all the basic functionality is here, Knotty is still in Alpha development. The project aims to have more libraries automatically tracked, as well as more export options. APIs and functionality are also apt to change with little to no warning.

Modern applications require close monitoring, and Knotty aims to provide everything you need out of the box. Importing the library will automatically register numerous metrics regarding the performance of the application and the system it is operating on, including hardware utilization, application logging rates, http request rates, and many more. Beyond the build in metrics, there is also an extremely powerful meters API that allows you to create whatever custom metrics you would like.

Once you have your meters defined, Knotty also provides a simple API for exporting your metrics to a number of commonly used metrics backends (Prometheus, InfluxDB, Graphite, etc).

Here's a simple example of how you can add a Prometheus endpoint to a Flask application:

from flask import Flask
from knotty.exporters import PrometheusExporter


app = Flask(__name__)
PrometheusExporter(flask_app=app)

@app.route('/hello', allowed_methods=['GET'])
def hello()
    return 'Hello World'


app.run()

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

knotty-0.4.0.tar.gz (14.0 kB view hashes)

Uploaded Source

Built Distributions

knotty-0.4.0-py3.8.egg (35.1 kB view hashes)

Uploaded Source

knotty-0.4.0-py3-none-any.whl (15.4 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