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()
Metadata
Release files for knotty 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| knotty-0.4.0.tar.gz | 14.0 kB | Without provenance | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| knotty-0.4.0-py3.8.egg | Legacy Egg format | - | - | Details |
| knotty-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 64.5 kB
Release files / knotty-0.4.0.tar.gz
| Download URL | knotty-0.4.0.tar.gz |
|---|---|
| Size | 14.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d151a15c983bf3a54a0f26cb5ccda604f168cfbc59de1c6bf286a31fbd4da1a
|
|
BLAKE2b-256 checksum How to use checksums |
1a82cd0d72bb923005f053ab0fac690d73ab42eb6d10c72d5b080b45e0c0d105
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / knotty-0.4.0-py3.8.egg
| Download URL | knotty-0.4.0-py3.8.egg |
|---|---|
| Size | 35.1 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
7b00b5f8343862194e9660c84ad6dd4489cb0e63db6a3db7d463d3b717016edd
|
|
BLAKE2b-256 checksum How to use checksums |
50ea5c62af9f97f8e6a97b3d9b78d642d14dbea43e7b38a03ef2f507e54ec6da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / knotty-0.4.0-py3-none-any.whl
| Download URL | knotty-0.4.0-py3-none-any.whl |
|---|---|
| Size | 15.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a5adf9f80a6995e5ea3cade7129c9c7bff018ab3a5d7dc810ddafa711ea060fd
|
|
BLAKE2b-256 checksum How to use checksums |
32826fe5306f0f1b18cc2b3f491ac51c92e93313da200efa5b6143b25a73880f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for knotty 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.