app/vmalert: document that -rule.stripFilePath command-line flag is available only in enterprise version of vmalert

This commit is contained in:
Aliaksandr Valialkin 2024-04-03 19:55:58 +03:00
parent f80ac120f3
commit 1de6cd4442
No known key found for this signature in database
GPG Key ID: 52C003EE2BCDB9EB

View File

@ -1379,7 +1379,7 @@ The shortlist of configuration flags is the following:
-rule.resendDelay duration
MiniMum amount of time to wait before resending an alert to notifier
-rule.stripFilePath
Whether to strip file path in responses from the api/v1/rules API for files configured via -rule cmd-line flag. For example, the file path '/path/to/tenant_id/rules.yml' will be stripped to just 'rules.yml'. This flag might be useful to hide sensitive information in file path such as tenant ID.
Whether to strip file path in responses from the api/v1/rules API for files configured via -rule cmd-line flag. For example, the file path '/path/to/tenant_id/rules.yml' will be stripped to just 'rules.yml'. This flag might be useful to hide sensitive information in file path such as tenant ID. This flag is available only in Enterprise binaries. See https://docs.victoriametrics.com/enterprise.html
-rule.templates array
Path or glob pattern to location with go template definitions for rules annotations templating. Flag can be specified multiple times.
Examples: