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

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.9.14.tar.gz (35.9 kB view details)

Uploaded Source

Built Distributions

talisker-0.9.14-py3-none-any.whl (55.9 kB view details)

Uploaded Python 3

talisker-0.9.14-py2-none-any.whl (55.9 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: talisker-0.9.14.tar.gz
  • Upload date:
  • Size: 35.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.5.2

File hashes

Hashes for talisker-0.9.14.tar.gz
Algorithm Hash digest
SHA256 54d7a18d7379321465f70b8b0271ab5f0a98f3aaf0b3becaf016e2a5cbdd0fda
MD5 17b2c7a266b4b1bd08be2ff850f13709
BLAKE2b-256 f97aa5a0579ba897e20977d2822e46e174caccfb2124bc40f51f57af3350341f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: talisker-0.9.14-py3-none-any.whl
  • Upload date:
  • Size: 55.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.5.2

File hashes

Hashes for talisker-0.9.14-py3-none-any.whl
Algorithm Hash digest
SHA256 678f4b458de86fbd419e4a2571f27b4487886df8cb31e753d02cfec120d20e9c
MD5 0348f767ca6872c112dc2c8503be7293
BLAKE2b-256 7c2b199c187941c129dc8f68c89267880573f73429822fbb51f6aad1df28cca3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: talisker-0.9.14-py2-none-any.whl
  • Upload date:
  • Size: 55.9 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.5.2

File hashes

Hashes for talisker-0.9.14-py2-none-any.whl
Algorithm Hash digest
SHA256 5ce61c93cff4a096bb90967c3de3b30969fc87442fb67810fc42b4077248adb1
MD5 bbf5f5f95534d66ac7c7ddc8c91f8427
BLAKE2b-256 415522ec2a936cce89ff866556bc9d47fb5a2d260a828cf8eab7cb0bc10423ff

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