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

Uploaded Source

Built Distributions

talisker-0.10.0-py3-none-any.whl (63.6 kB view details)

Uploaded Python 3

talisker-0.10.0-py2-none-any.whl (62.6 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: talisker-0.10.0.tar.gz
  • Upload date:
  • Size: 41.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.2

File hashes

Hashes for talisker-0.10.0.tar.gz
Algorithm Hash digest
SHA256 1176cfbadcdf1189dcc0cc5a2305ca20ab08d57bb7acf6417746e456c5295e77
MD5 d1e7ffb383c4db1ffb76901f20d3a152
BLAKE2b-256 38c6e14ed790e4dd0f445631e383144457ea2d6ef164b4837a0f282272e060df

See more details on using hashes here.

File details

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

File metadata

  • Download URL: talisker-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 63.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.2

File hashes

Hashes for talisker-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ed7404ccdb501c7008a512582059faee43238c435b54e037dd1f7e32645bfa1e
MD5 d1807b8f5c3c723d4d525583d370461c
BLAKE2b-256 c4602370a3c8329022ca3a9e00bbb00b4860e8126d8daa24ea7f205389913bcf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: talisker-0.10.0-py2-none-any.whl
  • Upload date:
  • Size: 62.6 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.2

File hashes

Hashes for talisker-0.10.0-py2-none-any.whl
Algorithm Hash digest
SHA256 6d56d6ff6e713d7de32d8ac343ef2a56ff5629f3068c38ae3ba9e21571c9ae00
MD5 4278f3cc3d0544b120f3e250d698d498
BLAKE2b-256 e2f788ebd7455ffc69fcc7f2d90f91a12c3800fa0cad462b15d7fcc8ceefdb8c

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