Skip to main content

Alliance Auth Plugin

Project description

celeryanalytics

celery task analytics for Alliance Auth.

Installation

With your venv active,

  1. Pip install

    pip install -U allianceauth-celeryanalytics

  2. Add celeryanalytics to your INSTALLED_APPS in your local.py

  3. From terminal run migrations

    python manage.py migrate celeryanalytics

  4. Optional if you wish to havve the module cealup old tasks its self run

    python manage.py ca_setup_task

Usage

This module has no permissions or views. it will start logging all completed and failed tasks on install using the celery signals.

Cleanup

If you wish to perform a tidyup of the database you can run the collowing command from your terminal

python manage.py ca_run_housekeeping

Settings

CA_HOUSEKEEPING_DB_BACKLOG defines how long (in days) records should be kept in your database. Default is 14 days.

CA_RESULT_MAX_LEN if you are using a results fed app you may wish to limit the result spam to database. in your local.py add the setting CA_RESULT_MAX_LEN=1000 set the integer to what ever you want as your max length. Default is -1 or unlimited.

View the failed tasks in admin of your auth. as below;

Admin Menu

Failures

Details

Issues

Please remember to report any celeryanalytics related issues using the issues on this repository.

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

allianceauth-celeryanalytics-0.0.3.tar.gz (6.8 kB view details)

Uploaded Source

File details

Details for the file allianceauth-celeryanalytics-0.0.3.tar.gz.

File metadata

  • Download URL: allianceauth-celeryanalytics-0.0.3.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for allianceauth-celeryanalytics-0.0.3.tar.gz
Algorithm Hash digest
SHA256 b56b6edf7756a9b150946960455192ccf8b7f28ff52e200e370ec0c433d60113
MD5 a037347312ffbc123843f5fa03930d2d
BLAKE2b-256 7331fd4797e66281532b688ab3529b7a59dc4d6d3ecc1173924967f762d944db

See more details on using hashes here.

Supported by

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