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 details)

Uploaded Source

Built Distributions

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

Uploaded Egg

knotty-0.4.0-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file knotty-0.4.0.tar.gz.

File metadata

  • Download URL: knotty-0.4.0.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.6

File hashes

Hashes for knotty-0.4.0.tar.gz
Algorithm Hash digest
SHA256 1d151a15c983bf3a54a0f26cb5ccda604f168cfbc59de1c6bf286a31fbd4da1a
MD5 f8382b150a66ecf31baf254c7b956f9a
BLAKE2b-256 1a82cd0d72bb923005f053ab0fac690d73ab42eb6d10c72d5b080b45e0c0d105

See more details on using hashes here.

File details

Details for the file knotty-0.4.0-py3.8.egg.

File metadata

  • Download URL: knotty-0.4.0-py3.8.egg
  • Upload date:
  • Size: 35.1 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.6

File hashes

Hashes for knotty-0.4.0-py3.8.egg
Algorithm Hash digest
SHA256 7b00b5f8343862194e9660c84ad6dd4489cb0e63db6a3db7d463d3b717016edd
MD5 d4fcbe73618604560ddf48e616ce5ff2
BLAKE2b-256 50ea5c62af9f97f8e6a97b3d9b78d642d14dbea43e7b38a03ef2f507e54ec6da

See more details on using hashes here.

File details

Details for the file knotty-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: knotty-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.6

File hashes

Hashes for knotty-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a5adf9f80a6995e5ea3cade7129c9c7bff018ab3a5d7dc810ddafa711ea060fd
MD5 e1703700bb3f6f0163212e1c27bb5b92
BLAKE2b-256 32826fe5306f0f1b18cc2b3f491ac51c92e93313da200efa5b6143b25a73880f

See more details on using hashes here.

Supported by

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