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

Uploaded Source

Built Distributions

talisker-0.15.0-py3-none-any.whl (73.7 kB view details)

Uploaded Python 3

talisker-0.15.0-py2-none-any.whl (72.7 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: talisker-0.15.0.tar.gz
  • Upload date:
  • Size: 52.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.5.2

File hashes

Hashes for talisker-0.15.0.tar.gz
Algorithm Hash digest
SHA256 d7f186deac4a0f5de44add7f5debebb7cc3daa322b3a830e22ca0b555eb8fb40
MD5 02baa54ed47439b938086ae926e6734d
BLAKE2b-256 2406b7e368683f1e27c97187aeace8fe1b26bfd2ddfc887da644a2636e1493b1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: talisker-0.15.0-py3-none-any.whl
  • Upload date:
  • Size: 73.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.5.2

File hashes

Hashes for talisker-0.15.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ddbdc92730ce276c7a458aec1b806a9087f86816b584e13665387029cee19ba4
MD5 53b20ab899cdcfdf692c7ff2728e03af
BLAKE2b-256 4cf95206f6611845203c68aed68eb10bebae6ed202ee9d4f7a57d67d9610ab70

See more details on using hashes here.

File details

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

File metadata

  • Download URL: talisker-0.15.0-py2-none-any.whl
  • Upload date:
  • Size: 72.7 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.5.2

File hashes

Hashes for talisker-0.15.0-py2-none-any.whl
Algorithm Hash digest
SHA256 fd65481f6dfcebfcde201a8f3800e421926547d1ba65e05f0df41e2c43e5d6d3
MD5 ec459ecb843ddddbb9148505444c3ff9
BLAKE2b-256 0c6fe6393e1c81a0bfcab92e0be685ea332d8a60bf23552da10e0f8af4ee512b

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