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


Release history Release notifications

This version

0.0.1

Download files

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

Files for knotty, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size knotty-0.0.1-py3-none-any.whl (14.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size knotty-0.0.1.tar.gz (13.1 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 DigiCert DigiCert EV certificate StatusPage StatusPage Status page