From 72430f8d2a7e541526a45a275b6615adabbdef48 Mon Sep 17 00:00:00 2001 From: Joe Adams Date: Thu, 28 Jul 2022 10:13:47 -0400 Subject: [PATCH] Update cmd/postgres_exporter/main.go Signed-off-by: Joe Adams --- README.md | 2 +- cmd/postgres_exporter/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2f50fba0..c7cb4621 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ To avoid putting sensitive information like username and password in the URL, pr ## Configuration File -The configuration file controls the behavior of the exporter. It can be set using the `--config.file` command line flag and defaults to `postres_exporter.yml`. +The configuration file controls the behavior of the exporter. It can be set using the `--config.file` command line flag and defaults to `postgres_exporter.yml`. ### auth_modules This section defines preset authentication and connection parameters for use in the [multi-target endpoint](#multi-target-support-beta). `auth_modules` is a map of modules with the key being the identifier which can be used in the `/probe` endpoint. diff --git a/cmd/postgres_exporter/main.go b/cmd/postgres_exporter/main.go index d8f61295..8759f437 100644 --- a/cmd/postgres_exporter/main.go +++ b/cmd/postgres_exporter/main.go @@ -36,7 +36,7 @@ var ( Config: &config.Config{}, } - configFile = kingpin.Flag("config.file", "Promehteus exporter configuration file.").Default("postres_exporter.yml").String() + configFile = kingpin.Flag("config.file", "Postgres exporter configuration file.").Default("postgres_exporter.yml").String() listenAddress = kingpin.Flag("web.listen-address", "Address to listen on for web interface and telemetry.").Default(":9187").Envar("PG_EXPORTER_WEB_LISTEN_ADDRESS").String() webConfig = webflag.AddFlags(kingpin.CommandLine) metricPath = kingpin.Flag("web.telemetry-path", "Path under which to expose metrics.").Default("/metrics").Envar("PG_EXPORTER_WEB_TELEMETRY_PATH").String()