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

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

Uploaded Source

Built Distributions

talisker-0.9.10-py3-none-any.whl (51.9 kB view details)

Uploaded Python 3

talisker-0.9.10-py2-none-any.whl (54.1 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: talisker-0.9.10.tar.gz
  • Upload date:
  • Size: 33.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for talisker-0.9.10.tar.gz
Algorithm Hash digest
SHA256 5b3e2ed9c47ace8805028f1113b42d32fe1b6f3164402efab0188e52a5a2340a
MD5 5b16969462198df8206998a47d88810c
BLAKE2b-256 0cd957167ebbcdbf919f06677d5ca7bfb7216ebd28b8b5423da9b879cfb11eb4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for talisker-0.9.10-py3-none-any.whl
Algorithm Hash digest
SHA256 923ecef007a39a5bd9d29066c015c8f9cbecf2bc85e435098106773cd5099b0d
MD5 cef8dd214b4983f294448e43032705f2
BLAKE2b-256 2aaa165ccbb6f50bef54a45ce729932891a62eb3e3b987bc720ba32a0c2e9155

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for talisker-0.9.10-py2-none-any.whl
Algorithm Hash digest
SHA256 71a39f4634f80ebba5c4d515d11592179972195a2bb6705f8267571b7af3af66
MD5 770ee6746bd89088384bac4132b740a2
BLAKE2b-256 f3f22a00fea911a4893f73e1621924fe32f895726bf7d5608a1d3d0a988743f1

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