mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-11-26 18:19:30 +00:00
feat: add events rotation trigger to remove old events
This commit is contained in:
1 parent
c70640c492
commit
1fcb4cdb84
25 files changed
+427
-5
No files matched your search
@@ -12,6 +12,14 @@ ahriman.core.housekeeping.archive\_rotation\_trigger module
|
||||
:no-undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
ahriman.core.housekeeping.events\_rotation\_trigger module
|
||||
----------------------------------------------------------
|
||||
|
||||
.. automodule:: ahriman.core.housekeeping.events_rotation_trigger
|
||||
:members:
|
||||
:no-undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
ahriman.core.housekeeping.logs\_rotation\_trigger module
|
||||
--------------------------------------------------------
|
||||
|
||||
|
||||
@@ -116,6 +116,14 @@ ahriman.web.schemas.event\_search\_schema module
|
||||
:no-undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
ahriman.web.schemas.events\_rotate\_schema module
|
||||
-------------------------------------------------
|
||||
|
||||
.. automodule:: ahriman.web.schemas.events_rotate_schema
|
||||
:members:
|
||||
:no-undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
ahriman.web.schemas.file\_schema module
|
||||
---------------------------------------
|
||||
|
||||
|
||||
@@ -209,6 +209,14 @@ Describes settings for packages archives management extensions.
|
||||
|
||||
* ``keep_built_packages`` - keep this amount of additional built package versions alongside the version currently published in the repository, integer, required. ``0`` will effectively disable archives removal.
|
||||
|
||||
``events-rotation`` group
|
||||
-------------------------
|
||||
|
||||
This section describes settings for the ``ahriman.core.housekeeping.EventsRotationTrigger`` plugin.
|
||||
|
||||
* ``keep_last_events`` - amount of audit events to keep for each object, integer, required. Older events are removed at the end of each process; ``0`` removes all events.
|
||||
|
||||
|
||||
``keyring`` group
|
||||
-----------------
|
||||
|
||||
|
||||
@@ -51,6 +51,11 @@ This trigger removes old package versions from the archive directory. It impleme
|
||||
|
||||
Simple trigger to rotate build logs. It implements ``on_result`` and removes old log records after each build process, keeping only the last N records as configured by ``keep_last_logs`` option.
|
||||
|
||||
``ahriman.core.housekeeping.EventsRotationTrigger``
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Trigger to rotate audit events. It implements ``on_result`` and keeps the last N events for each object, as configured by ``keep_last_events``.
|
||||
|
||||
``ahriman.core.report.ReportTrigger``
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in new issue
Block a user