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
Close
Hashes for tornado_prometheus-0.1.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84dc8ae5de6edf35e4e899a3e0e7be0fde1030bd0c587632840fa3ffae487a92 |
|
MD5 | 352f8014c020da9a24b9fb72bbf4ca44 |
|
BLAKE2b-256 | ef88d8c960ce52536a81f785bc2a56bfd09b140a0398adb19b1e01a6eac81e7f |