docs(config): Add notes for secret-store pitfalls (#13707)
This commit is contained in:
parent
d8a13ff5d3
commit
bc8070f241
|
|
@ -205,6 +205,17 @@ This example illustrates the use of secret-store(s) in plugins
|
||||||
bucket = "replace_with_your_bucket_name"
|
bucket = "replace_with_your_bucket_name"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Notes
|
||||||
|
|
||||||
|
When using plugins supporting secrets, Telegraf locks the memory pages
|
||||||
|
containing the secrets. Therefore, the locked memory limit has to be set to a
|
||||||
|
suitable value. Telegraf will check the limit and the number of used secrets at
|
||||||
|
startup and will warn if your limit is too low. In this case, please increase
|
||||||
|
the limit via `ulimit -l`.
|
||||||
|
|
||||||
|
If you are running Telegraf in an jail you might need to allow locked pages in
|
||||||
|
that jail by setting `allow.mlock = 1;` in your config.
|
||||||
|
|
||||||
## Intervals
|
## Intervals
|
||||||
|
|
||||||
Intervals are durations of time and can be specified for supporting settings by
|
Intervals are durations of time and can be specified for supporting settings by
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue