Skip to main content

A small Flask application that allows for Karton task and queue introspection.

Project description

Karton Dashboard

A small Flask application for Karton task and queue introspection.

Usage

First of all, make sure you have setup the core system: https://github.com/CERT-Polska/karton

Then install karton-dashboard from PyPi:

$ pip install karton-dashboard

$ karton-dashboard run -h 127.0.0.1 -p 5000

The karton-dashboard is just a wrapper on the flask program, and it works with any arguments accepted by flask. For example karton-dashboard --help, or karton-dashboard run -h 0.0.0.0 -p 1234. See flask documentation for more information.

Metrics

Karton tracks number of consumed, produced and crashed tasks for each service (identity).

Karton-dashboard exposes this information (in addition to some other task/queue statistics) on the /varz endpoint using Prometheus data format.

You can use this data to easily build custom karton dashboards and setup alerts for unusual events or high loads. Just point the data source URL to https://karton-dashboard/varz and configure the dashboard however you like.

Example of grafana dashboard integrating the karton metrics

Co-financed by the Connecting Europe Facility by of the European Union

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

karton_dashboard-1.2.1-py3-none-any.whl (41.0 kB view details)

Uploaded Python 3

File details

Details for the file karton_dashboard-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: karton_dashboard-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 41.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.11

File hashes

Hashes for karton_dashboard-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 df8d5a14256d0abf0f2d1fc1956fd241e400698e0c0b15234dfd536f80f94b15
MD5 3b7a4170a067a784300840eebb09985e
BLAKE2b-256 f0abc347fe0f74ad59d557be79606fb993d949d21bc6e96cf967d3d6de4bc16f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page