Skip to main content

A common WSGI stack

Project description

https://img.shields.io/pypi/v/talisker.svg https://img.shields.io/travis/canonical-ols/talisker.svg Documentation Status Requirements Status Python code quality (LGTM) LGTM alerts

Talisker is an enhanced runtime for your WSGI application that aims to provide a common operational platform for your python microservices.

It integrates with many standard python libraries to give you out-of-the-box logging, metrics, error reporting, status urls and more.

Quick Start

Simply install Talisker via pip:

pip install talisker

And then run your WSGI app with Talisker (as if it was regular gunicorn).:

talisker.gunicorn app:wsgi -c config.py ...

This gives you 80% of the benefits of Talisker: structured logging, metrics, sentry error handling, standardised status endpoints and more.

Elevator Pitch

Talisker integrates and configures standard python libraries into a single tool, useful in both development and production. It provides:

  • structured logging for stdlib logging module (with grok filter)

  • gunicorn as a wsgi runner

  • request id tracing

  • standard status endpoints

  • statsd/prometheus metrics for incoming/outgoing http requests and more.

  • deep sentry integration

It also optionally supports the same level of logging/metrics/sentry integration for:

  • celery workers

  • general python scripts, like cron jobs or management tasks.

Talisker is opinionated, and designed to be simple to use. As such, it is not currently very configurable. However, PR’s are very welcome!

For more information, see The Documentation, which should be found at:

https://talisker.readthedocs.io

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

talisker-0.11.1.tar.gz (44.8 kB view details)

Uploaded Source

Built Distributions

talisker-0.11.1-py3-none-any.whl (67.8 kB view details)

Uploaded Python 3

talisker-0.11.1-py2-none-any.whl (66.8 kB view details)

Uploaded Python 2

File details

Details for the file talisker-0.11.1.tar.gz.

File metadata

  • Download URL: talisker-0.11.1.tar.gz
  • Upload date:
  • Size: 44.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.5.2

File hashes

Hashes for talisker-0.11.1.tar.gz
Algorithm Hash digest
SHA256 b153c9a1044cfb5f19467895c76998dd85c74acd19e8fd4577fddcd99d2d1c91
MD5 9c122a3dd27fb5e29382ef32e8f0b51f
BLAKE2b-256 ca303fbb3e48b00374069bdf52938e3ddd3f9fdb828c71e88422d1527341199b

See more details on using hashes here.

File details

Details for the file talisker-0.11.1-py3-none-any.whl.

File metadata

  • Download URL: talisker-0.11.1-py3-none-any.whl
  • Upload date:
  • Size: 67.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.5.2

File hashes

Hashes for talisker-0.11.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b09b8cb95d818527dc7ba91bebf725cbb412d87e19f5867814ce8f55f39a8cf0
MD5 8fab4eb184347097b3ce122dad772dd6
BLAKE2b-256 463a556a3be04d2c71689f4ae801dc5f29431c6ae6d87b10ed7d451165d5c9e7

See more details on using hashes here.

File details

Details for the file talisker-0.11.1-py2-none-any.whl.

File metadata

  • Download URL: talisker-0.11.1-py2-none-any.whl
  • Upload date:
  • Size: 66.8 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.5.2

File hashes

Hashes for talisker-0.11.1-py2-none-any.whl
Algorithm Hash digest
SHA256 b312f7714c3db75410cf9d0334432958c7efb3a4f7057c31818388e786ca8467
MD5 6e19580bac56720267857d67cf91c59d
BLAKE2b-256 95f13be7def607c380d6b67998327fd235e776f2d27bd88161b15bf929a8ccb1

See more details on using hashes here.

Supported by

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