Skip to main content

prometheus integration into guillotina

Project description

This package aims to provide basic prometheus integration for guillotina.

Configuration

Just add a few lines to your config.yml:

{"applications": ["guillotina_prometheus"],
 "middlewares": ["guillotina_prometheus.middleware.middleware_factory"]}

Dependencies

Python >= 3.6

Installation

This example will use virtualenv:

virtualenv .
./bin/python setup.py develop

Running

Most simple way to get running:

./bin/guillotina

1.0.6 (2017-11-14)

  • Provide timing per endpoint instead of aggregating all endpoints into one metric [vangheem]

1.0.5 (2017-08-09)

  • Prefix stat keys so it won’t conflict with other stats [vangheem]

1.0.4 (2017-08-09)

  • Change publishing endpoint to /metrics – more standard [vangheem]

1.0.3 (2017-08-08)

  • Do not record user id [vangheem]

1.0.2 (2017-08-08)

  • Nothing changed yet.

1.0.1 (2017-08-08)

  • Nothing changed yet.

1.0.0 (2017-08-08)

  • Initial release [vangheem]

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

guillotina_prometheus-1.0.6.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

guillotina_prometheus-1.0.6-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file guillotina_prometheus-1.0.6.tar.gz.

File metadata

File hashes

Hashes for guillotina_prometheus-1.0.6.tar.gz
Algorithm Hash digest
SHA256 8036bb09100eac17479cd60365060650d72d7c94092afb592279558d80473b04
MD5 3d322489e974b54f076efe30714ed5ad
BLAKE2b-256 09c1f5a5ae499cf7e6b060a19f398bda0b85dadb0f14c7adb6c769f41e08d409

See more details on using hashes here.

File details

Details for the file guillotina_prometheus-1.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for guillotina_prometheus-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 de76d8f112971be0f25bdf79b7abde2090580173145af2ef0f3ef185fc460f28
MD5 b6abc04285051901affd53f0acb20a10
BLAKE2b-256 2fb3208b6ff36a7b3d1137ba755f5ef77d05d27f038b80698494cc756da83e63

See more details on using hashes here.

Supported by

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