Skip to content

Commit

Permalink
Add more information
Browse files Browse the repository at this point in the history
  • Loading branch information
EMaksy committed Jan 24, 2025
1 parent 43332aa commit 178f3d3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion trento/adoc/helm_event_pruning.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ The following configurations are available:

`+pruneEventsOlderThan+`::
The number of days registered events are stored in the database. The
default value is *10*.
default value is *10*. _Beware that pruneEventsOlderThan can be set to
0 but that would mean that all events are deleted every time the cron
job runs, making it impossible to analyze/troubleshoot any issue with
the application_
`+pruneEventsCronjobSchedule+`::
The frequency of the cron job that deletes expired events. The default
value is *"0 0 * * *"*, which runs daily at midnight.
Expand Down
6 changes: 5 additions & 1 deletion trento/xml/helm_event_pruning.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@
<variablelist>
<varlistentry>
<term><literal>pruneEventsOlderThan</literal></term>
<listitem>
<listitem>
<para>
The number of days registered events are stored in the database.
The default value is <emphasis role="bold">10</emphasis>.
<emphasis>Beware that pruneEventsOlderThan can be set to 0
but that would mean that all events are deleted every time
the cron job runs, making it impossible to analyze/troubleshoot
any issue with the application</emphasis>
</para>
</listitem>
</varlistentry>
Expand Down

0 comments on commit 178f3d3

Please sign in to comment.