From c1a938cf1a51b46dc0e2e09c818bafed9c8c3856 Mon Sep 17 00:00:00 2001 From: hagen1778 Date: Thu, 2 Oct 2025 15:02:26 +0200 Subject: [PATCH] update flags Signed-off-by: hagen1778 --- app/vmalert/datasource/init.go | 2 +- docs/victoriametrics/vmalert_flags.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/vmalert/datasource/init.go b/app/vmalert/datasource/init.go index 6a61e6e7ab..628ecb3ed5 100644 --- a/app/vmalert/datasource/init.go +++ b/app/vmalert/datasource/init.go @@ -15,7 +15,7 @@ import ( ) var ( - addr = flag.String("datasource.url", "", "Datasource compatible with Prometheus or VictoriaLogs HTTP API. It can be single node VictoriaMetrics, vmselect endpoint or VictoriaLogs. Required parameter. "+ + addr = flag.String("datasource.url", "", "Datasource compatible with Prometheus or VictoriaLogs HTTP API. It can be single node VictoriaMetrics, vmselect or VictoriaLogs endpoint. Required parameter. "+ "Supports address in the form of IP address with a port (e.g., http://127.0.0.1:8428) or DNS SRV record. "+ "See also -remoteRead.disablePathAppend and -datasource.showURL") appendTypePrefix = flag.Bool("datasource.appendTypePrefix", false, "Whether to add type prefix to -datasource.url based on the query type. Set to true if sending different query types to the vmselect URL.") diff --git a/docs/victoriametrics/vmalert_flags.md b/docs/victoriametrics/vmalert_flags.md index e526ebfb75..ee6fda2014 100644 --- a/docs/victoriametrics/vmalert_flags.md +++ b/docs/victoriametrics/vmalert_flags.md @@ -70,7 +70,7 @@ See the docs at https://docs.victoriametrics.com/victoriametrics/vmalert/ . -datasource.tlsServerName string Optional TLS server name to use for connections to -datasource.url. By default, the server name from -datasource.url is used -datasource.url string - Datasource compatible with Prometheus or VictoriaLogs HTTP API. It can be single node VictoriaMetrics or vmselect endpoint. Required parameter. Supports address in the form of IP address with a port (e.g., http://127.0.0.1:8428) or DNS SRV record. See also -remoteRead.disablePathAppend and -datasource.showURL + Datasource compatible with Prometheus or VictoriaLogs HTTP API. It can be single node VictoriaMetrics, vmselect or VictoriaLogs endpoint. Required parameter. Supports address in the form of IP address with a port (e.g., http://127.0.0.1:8428) or DNS SRV record. See also -remoteRead.disablePathAppend and -datasource.showURL -defaultTenant.graphite string Default tenant for Graphite alerting groups. See https://docs.victoriametrics.com/victoriametrics/vmalert/#multitenancy .This flag is available only in Enterprise binaries. See https://docs.victoriametrics.com/victoriametrics/enterprise/ -defaultTenant.prometheus string