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 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 with Gunicorn via pip:

pip install talisker[gunicorn]

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.

Note: right now, Talisker has extensive support for running with Gunicorn, with more WSGI server support planned.

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

Uploaded Source

Built Distributions

talisker-0.16.1-py3-none-any.whl (75.9 kB view details)

Uploaded Python 3

talisker-0.16.1-py2-none-any.whl (74.8 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: talisker-0.16.1.tar.gz
  • Upload date:
  • Size: 54.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.5.2

File hashes

Hashes for talisker-0.16.1.tar.gz
Algorithm Hash digest
SHA256 d03420cbb7b3e202e16003966fce2200d987fde5d17eab193a1371b074bd325d
MD5 b0ff4ae9f960c1de930df149ed5700ff
BLAKE2b-256 1065cb1fd5d6ef96161fbe2a858038ae230027aa75cdcd4cceb56a3252382bfc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: talisker-0.16.1-py3-none-any.whl
  • Upload date:
  • Size: 75.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.5.2

File hashes

Hashes for talisker-0.16.1-py3-none-any.whl
Algorithm Hash digest
SHA256 39e6ff17d444787bd3472ced10da262363099dc0f43a8424f0da0b0f34e041f0
MD5 a4c78b4c5198c0c69509589a75aaa2c1
BLAKE2b-256 826f3554a234cd08638388919d2a40a90942943830a6b7783b17a537c15da541

See more details on using hashes here.

File details

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

File metadata

  • Download URL: talisker-0.16.1-py2-none-any.whl
  • Upload date:
  • Size: 74.8 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.5.2

File hashes

Hashes for talisker-0.16.1-py2-none-any.whl
Algorithm Hash digest
SHA256 2c4714bb710829293d3300e74836a8c318e8a9c40d200a2280b23eee7d0427b6
MD5 f8f4dcdc3da80421c25ecfef8f7019d2
BLAKE2b-256 61dd81c89ca41299e343b07eee3564c039a7f83d3365772e72679d32e14c0070

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