HTTP metrics for a tornado application
Project description
HTTP metrics for a tornado application
# Installing
Usage
from tornado.web import Application, RequestHandler
from tornado.ioloop import IOLoop
from tornado_prometheus import PrometheusMixIn, MetricsHandler
class SampleApp(PrometheusMixIn, Application):
pass
if __name__ == '__main__':
app = SampleApp([
(r"/metrics", MetricsHandler),
])
app.listen(8888)
IOLoop.current().start()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tornado-prometheus-0.1.0.tar.gz
.
File metadata
- Download URL: tornado-prometheus-0.1.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bdd5cef53695e392213e64f4351408a93efce3dbfdecfede5b1bfc7cc818150 |
|
MD5 | d660954024aa764377d3de34c53121a5 |
|
BLAKE2b-256 | a6a23d86194d30ed20e06a7d7ccca799e4ffcb0c1c0cd16dd7f4572ca3470c6c |
Provenance
File details
Details for the file tornado_prometheus-0.1.0-py2-none-any.whl
.
File metadata
- Download URL: tornado_prometheus-0.1.0-py2-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84dc8ae5de6edf35e4e899a3e0e7be0fde1030bd0c587632840fa3ffae487a92 |
|
MD5 | 352f8014c020da9a24b9fb72bbf4ca44 |
|
BLAKE2b-256 | ef88d8c960ce52536a81f785bc2a56bfd09b140a0398adb19b1e01a6eac81e7f |