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

Uploaded Source

Built Distributions

talisker-0.19.0-py3-none-any.whl (75.9 kB view details)

Uploaded Python 3

talisker-0.19.0-py2-none-any.whl (75.9 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: talisker-0.19.0.tar.gz
  • Upload date:
  • Size: 66.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.5.2

File hashes

Hashes for talisker-0.19.0.tar.gz
Algorithm Hash digest
SHA256 7a651b82b01bdb4c5a19008976b9116b6b1f85401b6de2dc666bcd1d713da81f
MD5 bd20326c8b66d37153660ddfb903e31b
BLAKE2b-256 f69f3125dc0b374bcf5161fc09473dfa77d3fe6b2550faedd2c1a304de9cd5d9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: talisker-0.19.0-py3-none-any.whl
  • Upload date:
  • Size: 75.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.5.2

File hashes

Hashes for talisker-0.19.0-py3-none-any.whl
Algorithm Hash digest
SHA256 736d54a8afe08082f6a0642ab44981f08075f9bf7f64b8f6ece5ede8c859fe2b
MD5 cb697138c32c246db1ce54123d6cd0cf
BLAKE2b-256 07d9152728ce611f24cf93365e6c2635ed739d22c0e5697462c9e5ade3222aba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: talisker-0.19.0-py2-none-any.whl
  • Upload date:
  • Size: 75.9 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.5.2

File hashes

Hashes for talisker-0.19.0-py2-none-any.whl
Algorithm Hash digest
SHA256 b8b750feadd106753629c2fa0a91c7d3f2083bcff420fb65155d069a594c07fb
MD5 74448820a1cbda8dfb389a30b5f1aa97
BLAKE2b-256 16f993a115c8237fbf0b9d1927157e826fb63dd60c31e6b7a8d5ae7bd70c8854

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