From c95cddb9e3714b4a23d9bbe657995483bbcc0927 Mon Sep 17 00:00:00 2001 From: Emmanuel T Odeke Date: Sat, 1 May 2021 22:41:21 -0700 Subject: [PATCH] Update WAL example in README --- exporter/prometheusremotewriteexporter/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/exporter/prometheusremotewriteexporter/README.md b/exporter/prometheusremotewriteexporter/README.md index e7c1dea82d0..617e5e738f9 100644 --- a/exporter/prometheusremotewriteexporter/README.md +++ b/exporter/prometheusremotewriteexporter/README.md @@ -44,7 +44,9 @@ exporters: prometheusremotewrite: endpoint: "http://some.url:9411/api/prom/push" wal: - dir: "DIRECTORY_HERE" + path: "DIRECTORY_HERE" + truncate-frequency: "Optional Frequency in seconds per time.ParseDuration https://golang.org/pkg/time/#ParseDuration, default of 1m" + cache-size: "An optional size before truncating the WAL, default of 300" ``` ## Advanced Configuration