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

Uploaded Source

Built Distributions

talisker-0.10.1-py3-none-any.whl (63.9 kB view details)

Uploaded Python 3

talisker-0.10.1-py2-none-any.whl (62.9 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: talisker-0.10.1.tar.gz
  • Upload date:
  • Size: 42.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.2

File hashes

Hashes for talisker-0.10.1.tar.gz
Algorithm Hash digest
SHA256 58c06a95aea8200e5330bd324a29aa66170513a4a6b71449c60e56c0d5584ff8
MD5 2f71857570c5ec2d581ad48acb8905c2
BLAKE2b-256 7636d24cc8051b9b6d3b05a9eddfdb313b1dce54b1045669d49de8ec03708657

See more details on using hashes here.

File details

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

File metadata

  • Download URL: talisker-0.10.1-py3-none-any.whl
  • Upload date:
  • Size: 63.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.2

File hashes

Hashes for talisker-0.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7e9b36205cb104987fcdb923f9b163fe24974850ae11e63df30473e95201e1bc
MD5 2ccb3189e2312567fa51863849d96b0a
BLAKE2b-256 c76ffeba773b79d421ee0432d999088591c37c90ecd75624bfc3e06d1c005125

See more details on using hashes here.

File details

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

File metadata

  • Download URL: talisker-0.10.1-py2-none-any.whl
  • Upload date:
  • Size: 62.9 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.2

File hashes

Hashes for talisker-0.10.1-py2-none-any.whl
Algorithm Hash digest
SHA256 03ddf1b52fd2e55a9564f9bbe8486548e45df0a1a50dbf2a8b3e4fe6f11edff3
MD5 bcd2e3980f39cc3f53e55ff718bd7211
BLAKE2b-256 29deeb8773729ab7776ad27fd539b70231c69e6c83fb004a6136d9b790b004ce

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