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

Uploaded Source

Built Distributions

talisker-0.9.9-py3-none-any.whl (51.4 kB view details)

Uploaded Python 3

talisker-0.9.9-py2-none-any.whl (53.6 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for talisker-0.9.9.tar.gz
Algorithm Hash digest
SHA256 7401be7a798c025f70980a0df51adc9cce77179979584b1ee65504780c28f44b
MD5 0be2cb2c92a0b1ca3a538105da498190
BLAKE2b-256 f2833382e0e112516efbdf8293bcba52f07a2644e6bd54e5a45fe08d227e59d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for talisker-0.9.9-py3-none-any.whl
Algorithm Hash digest
SHA256 5562770de4df5c7fceb5091d81a2e3303ecf87c6e9c09c0a6dfdd634d066745b
MD5 b24cface63622dbb4413b5c1d1010024
BLAKE2b-256 7e02d565a3c6de5b3b8f99bee8545aafc2c2bcb1b0ecc75f6da376aeb609d845

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for talisker-0.9.9-py2-none-any.whl
Algorithm Hash digest
SHA256 8e2d5696c9a7677a3eae69a44e7c78be151960742f365c82d10aa247891850e6
MD5 589521ff1161200d3e3855d90f7c7759
BLAKE2b-256 dcf2c436735ee6a054f0f9febc8592b13295bc8f9568c77bbe5402eef039127a

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