Skip to main content

HTTP metrics for a tornado application

Project description

https://travis-ci.org/globocom/tornado-prometheus.svg?branch=master

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


Download files

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

Source Distribution

tornado-prometheus-0.1.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

tornado_prometheus-0.1.0-py2-none-any.whl (3.5 kB view details)

Uploaded Python 2

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

Hashes for tornado-prometheus-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4bdd5cef53695e392213e64f4351408a93efce3dbfdecfede5b1bfc7cc818150
MD5 d660954024aa764377d3de34c53121a5
BLAKE2b-256 a6a23d86194d30ed20e06a7d7ccca799e4ffcb0c1c0cd16dd7f4572ca3470c6c

See more details on using hashes here.

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

Hashes for tornado_prometheus-0.1.0-py2-none-any.whl
Algorithm Hash digest
SHA256 84dc8ae5de6edf35e4e899a3e0e7be0fde1030bd0c587632840fa3ffae487a92
MD5 352f8014c020da9a24b9fb72bbf4ca44
BLAKE2b-256 ef88d8c960ce52536a81f785bc2a56bfd09b140a0398adb19b1e01a6eac81e7f

See more details on using hashes here.

Provenance

Supported by

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