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.

Python version support

This release of talisker (0.20.0) will be the last to support python 2.7

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

Uploaded Source

Built Distribution

talisker-0.21.1-py3-none-any.whl (75.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: talisker-0.21.1.tar.gz
  • Upload date:
  • Size: 66.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for talisker-0.21.1.tar.gz
Algorithm Hash digest
SHA256 0f370ab7a5b064fea989ac0c6fb18faf77b7d9403edb01afb368fbd8d46f313e
MD5 08d253a90e1c7a94dc3ebc9b96b0a920
BLAKE2b-256 f6e46b69604f51aa815e5bad0f8e6ee4d39e8877ccde92feac4518d0c085ada7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: talisker-0.21.1-py3-none-any.whl
  • Upload date:
  • Size: 75.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for talisker-0.21.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f4e1c784d80157e158c9beecc789e35d72afd402ed719542120db9ebd0ee4faa
MD5 81a95df3b2db085e1c5b6a632572a3ac
BLAKE2b-256 f8d775c8de7b2a63cdf8ca3dd481bbe1b31bcf3faccff82633f1f05c76fdb3c6

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