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

Uploaded Source

Built Distributions

talisker-0.18.0-py3-none-any.whl (75.1 kB view details)

Uploaded Python 3

talisker-0.18.0-py2-none-any.whl (75.1 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: talisker-0.18.0.tar.gz
  • Upload date:
  • Size: 64.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9

File hashes

Hashes for talisker-0.18.0.tar.gz
Algorithm Hash digest
SHA256 321c1019744225abb65ecba690fdef8997984a7a9977018424d0ff87f5951634
MD5 e7f0ecc0280ffb01a021d5092ab8bc04
BLAKE2b-256 e850ea40ea45bac7a4711013cd3f7a8d4d90b0b812119d7190990d0758ded6ae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: talisker-0.18.0-py3-none-any.whl
  • Upload date:
  • Size: 75.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9

File hashes

Hashes for talisker-0.18.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5b71dd963f7766da2db3cd252e18845a41ada10a220ef84bd144f8419142a0dc
MD5 253d2f9b9e3954afe7ab676bf77c5533
BLAKE2b-256 3828609fc6f2cc3a38c2fcf8db8f7c8a58a3214f01758e3b4967a7ed92ee5b06

See more details on using hashes here.

File details

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

File metadata

  • Download URL: talisker-0.18.0-py2-none-any.whl
  • Upload date:
  • Size: 75.1 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9

File hashes

Hashes for talisker-0.18.0-py2-none-any.whl
Algorithm Hash digest
SHA256 eaeb76ae66f0d99240511abf2550a1d98a4f3cfd78b67d931a24ea148f89ea54
MD5 def8586761ac7ad4b24e3ce33d73c512
BLAKE2b-256 af3bcb52ecf5ea350476eef7f8882e83b8183f1b3cf2473145be6c290ce53c11

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