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

Uploaded Source

Built Distributions

talisker-0.14.1-py3-none-any.whl (72.1 kB view details)

Uploaded Python 3

talisker-0.14.1-py2-none-any.whl (71.1 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: talisker-0.14.1.tar.gz
  • Upload date:
  • Size: 50.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.2

File hashes

Hashes for talisker-0.14.1.tar.gz
Algorithm Hash digest
SHA256 87388ceaf253c1e4d2895d07f955a18d9748e23874f02ec8cc70dbd3e185c070
MD5 12002f21e264d8217cf3b60416cf2e99
BLAKE2b-256 5ec3206698e3e2d9aa6dfc965c3232614e292b307c120e10e800bc2a08f7ecf2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: talisker-0.14.1-py3-none-any.whl
  • Upload date:
  • Size: 72.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.2

File hashes

Hashes for talisker-0.14.1-py3-none-any.whl
Algorithm Hash digest
SHA256 264b0526fad00451e7b395c8f3fefece9ed65606d41b6cb03b463088c396d7b9
MD5 aebaf5ebb8ab5f79b1fdf169016a15ae
BLAKE2b-256 a80328b4ffd1b336e0b8c393cfed246104c833379ce3e7d9c50ec075d68e93a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: talisker-0.14.1-py2-none-any.whl
  • Upload date:
  • Size: 71.1 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.2

File hashes

Hashes for talisker-0.14.1-py2-none-any.whl
Algorithm Hash digest
SHA256 e0cc91300fc12a126b110440a5177c065340a27830aa9b9b3cf362c177619551
MD5 f6715a028d0f6304ddbd2b36e54f52fa
BLAKE2b-256 ad5c77fff779093d7f42e47e482cf025ece65f99a7ed244f28843ec544e2061e

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