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

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

Talisker 0.20.0 was the last to support Python 2.7. Talisker version >=0.21.0 only supports Python 3.x, as they come with Ubuntu LTS releases.

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

Uploaded Source

Built Distribution

talisker-0.21.5-py3-none-any.whl (74.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: talisker-0.21.5.tar.gz
  • Upload date:
  • Size: 66.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for talisker-0.21.5.tar.gz
Algorithm Hash digest
SHA256 6e240970ed9064862d32663a32bd80437e936af34f6c08e63ca0dbc13a21589f
MD5 001f731fd1a5b1d07ae10b409224d95a
BLAKE2b-256 2f2c9d20dc73cf7f6101dc684e82e9fd14efa6fa2138a8f1d0460ea758a1136f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: talisker-0.21.5-py3-none-any.whl
  • Upload date:
  • Size: 74.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for talisker-0.21.5-py3-none-any.whl
Algorithm Hash digest
SHA256 aa4d832fa556631bd0d5f9178c1db5326dec764ce11136dda2f197644a691059
MD5 5c5ad3b9a686a1487fa3d6c20693c71f
BLAKE2b-256 483978385f9aacc8db17f67813b11d3456b0a6a7ed0dd21bc3f2f94e41f0ca4f

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