aboutsummaryrefslogtreecommitdiff
path: root/straper/db/public/logging/logrotate.d/prometheus
diff options
context:
space:
mode:
Diffstat (limited to 'straper/db/public/logging/logrotate.d/prometheus')
-rw-r--r--straper/db/public/logging/logrotate.d/prometheus9
1 files changed, 9 insertions, 0 deletions
diff --git a/straper/db/public/logging/logrotate.d/prometheus b/straper/db/public/logging/logrotate.d/prometheus
new file mode 100644
index 0000000..40d373f
--- /dev/null
+++ b/straper/db/public/logging/logrotate.d/prometheus
@@ -0,0 +1,9 @@
+/var/log/prometheus/prometheus.log {
+ weekly
+ rotate 10
+ copytruncate
+ compress
+ delaycompress
+ notifempty
+ missingok
+}