From dcc83e1dc68a6d9de38e431bf7d63415dd14bea0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20=C4=8Ctvrtka?= Date: Tue, 14 Nov 2023 10:09:56 +0100 Subject: [PATCH] PMM-11341 Small description change. --- admin/commands/inventory/add_agent_postgres_exporter.go | 2 +- admin/commands/management/add_postgresql.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/commands/inventory/add_agent_postgres_exporter.go b/admin/commands/inventory/add_agent_postgres_exporter.go index af8b5441cf..86b410d6b1 100644 --- a/admin/commands/inventory/add_agent_postgres_exporter.go +++ b/admin/commands/inventory/add_agent_postgres_exporter.go @@ -64,7 +64,7 @@ type AddAgentPostgresExporterCommand struct { TLSCertFile string `help:"TLS certificate file"` TLSKeyFile string `help:"TLS certificate key file"` LogLevel string `enum:"debug,info,warn,error" default:"warn" help:"Service logging level. One of: [debug, info, warn, error]"` - AutoDiscoveryLimit int32 `default:"0" placeholder:"NUMBER" help:"Auto-discovery will be disabled if there are more than that number of databases (default: server-defined)"` + AutoDiscoveryLimit int32 `default:"0" placeholder:"NUMBER" help:"Auto-discovery will be disabled if there are more than that number of databases (default: server-defined, -1: always disabled)"` } func (cmd *AddAgentPostgresExporterCommand) RunCmd() (commands.Result, error) { diff --git a/admin/commands/management/add_postgresql.go b/admin/commands/management/add_postgresql.go index fc9ea8a275..471a86e131 100644 --- a/admin/commands/management/add_postgresql.go +++ b/admin/commands/management/add_postgresql.go @@ -73,7 +73,7 @@ type AddPostgreSQLCommand struct { DisableQueryExamples bool `name:"disable-queryexamples" help:"Disable collection of query examples"` MetricsMode string `enum:"${metricsModesEnum}" default:"auto" help:"Metrics flow mode, can be push - agent will push metrics, pull - server scrape metrics from agent or auto - chosen by server"` DisableCollectors []string `help:"Comma-separated list of collector names to exclude from exporter"` - AutoDiscoveryLimit int32 `default:"0" placeholder:"NUMBER" help:"Auto-discovery will be disabled if there are more than that number of databases (default: server-defined)"` + AutoDiscoveryLimit int32 `default:"0" placeholder:"NUMBER" help:"Auto-discovery will be disabled if there are more than that number of databases (default: server-defined, -1: always disabled)"` AddCommonFlags AddLogLevelNoFatalFlags