arachnys / cabot

Self-hosted, easily-deployable monitoring and alerts service - like a lightweight PagerDuty
MIT License
5.59k stars 593 forks source link

add environment variable `CABOT_RESULTS_RETENTION_DAYS` #669

Open thomasleveil opened 5 years ago

thomasleveil commented 5 years ago

This pull requests allows to change the number of days for data retention by setting the CABOT_RESULTS_RETENTION_DAYS environment variable.

codecov[bot] commented 5 years ago

Codecov Report

Merging #669 into master will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #669   +/-   ##
=======================================
  Coverage   80.91%   80.91%           
=======================================
  Files          46       46           
  Lines        2955     2955           
  Branches      179      179           
=======================================
  Hits         2391     2391           
  Misses        505      505           
  Partials       59       59           
Impacted Files Coverage Δ
cabot/cabotapp/views.py 70.89% <ø> (ø)
cabot/celery.py 100.00% <ø> (ø)
cabot/settings.py 68.42% <ø> (ø)
cabot/cabotapp/tasks.py 61.66% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1cf8cb7...f9d043f. Read the comment docs.

s7anley commented 4 years ago

Hey @dbuxton 👋 Any chance this could get merged and released?