Skip to content

Commit

Permalink
Document the stats(lifetime) global option
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Fekete authored and Robert Fekete committed Jun 18, 2024
1 parent 8047632 commit 8b20348
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions content/chapter-global-options/reference-options/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,15 @@ options {

Note that level 2 and 3 increase the memory requirements and CPU load. For details on message statistics, see {{% xref "/chapter-log-statistics/_index.md" %}}.

### lifetime() {#global-option-stats-lifetime}

| | |
| ---------------- | ------- |
| Accepted values: | number (seconds) |
| Default: | `N/A` |

*Description:* Dynamic counters in metrics are pruned after `lifetime` expires. Note that orphaned counters are not pruned (you can prune them by running `syslog-ng-ctl stats --remove-orphans`).

### max-dynamics() {#global-option-stats-max-dynamics}

| | |
Expand Down

0 comments on commit 8b20348

Please sign in to comment.