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

Uploaded Source

Built Distributions

talisker-0.14.3-py3-none-any.whl (72.5 kB view details)

Uploaded Python 3

talisker-0.14.3-py2-none-any.whl (71.5 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for talisker-0.14.3.tar.gz
Algorithm Hash digest
SHA256 afc373e6a64b4c89c9cf0d4225ea2f8a2646ddd2fbc962deb06f3b9f608e757f
MD5 93a12ed8ae0681831734b0fe750b69ef
BLAKE2b-256 3b7deec4c9f52ba2d3e2ef9226782968d8d245752ecce275c8673ee68f8c38d9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: talisker-0.14.3-py3-none-any.whl
  • Upload date:
  • Size: 72.5 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/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.2

File hashes

Hashes for talisker-0.14.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1099b8814f262fb296dff88437f4aa418b0f8b83fa0a76ca6d4c1e3ba73780ec
MD5 9d7abfbb889558cc78048f76145270ce
BLAKE2b-256 0a5862a7db4478fb90c004783a0752f726523fbc6204876c86778ce6b9472b63

See more details on using hashes here.

File details

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

File metadata

  • Download URL: talisker-0.14.3-py2-none-any.whl
  • Upload date:
  • Size: 71.5 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/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.2

File hashes

Hashes for talisker-0.14.3-py2-none-any.whl
Algorithm Hash digest
SHA256 100d088ddfe5e9fd482a43eaf72862de083d2a8d1621c06a894ae038b33e52fa
MD5 6dc59f8baafaefe2d4f90766f6a7249c
BLAKE2b-256 cdafb1615b94bede2929b7fad2d5fefb239da9ac7496402fa963ff9f7f075400

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