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

Uploaded Source

Built Distributions

talisker-0.9.7-py3-none-any.whl (48.6 kB view details)

Uploaded Python 3

talisker-0.9.7-py2-none-any.whl (48.6 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: talisker-0.9.7.tar.gz
  • Upload date:
  • Size: 29.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for talisker-0.9.7.tar.gz
Algorithm Hash digest
SHA256 a7368d8afac0eaa8e7e7ca08fe03716b8c916a89d71c44fb5217be25d2e4732b
MD5 a37180efe43441fd05cc9ad06334926b
BLAKE2b-256 fd1c20835c7d111677e9ac23819c2ae07ccc8e619ae37228e5f5368ca9044868

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for talisker-0.9.7-py3-none-any.whl
Algorithm Hash digest
SHA256 cd90450b21fb1da7ccb6549bf00a6b460dc53944932a992f9a71c81578895e02
MD5 4ffa10559ae606b243889e5c38ed09c4
BLAKE2b-256 d7b19ad2afb0dc731b336de5de5adb774366ed5007155f3fd8e5e906e7228d57

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for talisker-0.9.7-py2-none-any.whl
Algorithm Hash digest
SHA256 fc29c4e7285efc8c1a0d95d25d1d02599b00553bd24edf719e972c32c7bbaa78
MD5 6f8d9bc4b7b7cf02fb7315ba634ad510
BLAKE2b-256 13a5d3047e24dd4f1c6ed2ea2e8348a3ba33285b31da49d50e06dbaf1f6ec402

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page