Skip to content

Commit 2bb7701

Browse files
committed
docs: Add warning about loki.secretfilter performance
1 parent 2f3190c commit 2bb7701

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/sources/reference/components/loki/loki.secretfilter.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ Don't rely solely on this component to redact sensitive information.
2626
This component operates on log lines and doesn't scan labels or other metadata.
2727
{{< /admonition >}}
2828

29+
{{< admonition type="caution" >}}
30+
Detecting secrets can be resource-intensive and can lead to significantly higher CPU usage. Make sure you roll out this component gradually and monitor the resource usage changes. It's recommended to place `loki.secretfilter` after other components that may reduce log volume, so that it doesn't have to process as many lines.
31+
{{< /admonition >}}
32+
2933
[gitleaks-config]: https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml
3034

3135
## Usage

0 commit comments

Comments
 (0)