From c0e4704550c29997e64016a60ec3799e86c0fecb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20S=CC=8Ctibrany=CC=81?= Date: Tue, 3 Dec 2019 10:13:02 +0100 Subject: [PATCH] docs: Fix grpc_listen_host and http_listen_host. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit They should be grpc_listen_address and http_listen_address respectively. Signed-off-by: Peter Štibraný --- docs/clients/promtail/README.md | 2 +- docs/clients/promtail/configuration.md | 6 +++--- docs/configuration/README.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/clients/promtail/README.md b/docs/clients/promtail/README.md index 3602a5c9dfb16..c99706ad7db80 100644 --- a/docs/clients/promtail/README.md +++ b/docs/clients/promtail/README.md @@ -78,6 +78,6 @@ The web server exposed by Promtail can be configured in the Promtail `.yaml` con ```yaml server: - http_listen_host: 127.0.0.1 + http_listen_address: 127.0.0.1 http_listen_port: 9080 ``` diff --git a/docs/clients/promtail/configuration.md b/docs/clients/promtail/configuration.md index 278770304fd48..5adda4f6151ba 100644 --- a/docs/clients/promtail/configuration.md +++ b/docs/clients/promtail/configuration.md @@ -82,13 +82,13 @@ The `server_config` block configures Promtail's behavior as an HTTP server: ```yaml # HTTP server listen host -[http_listen_host: ] +[http_listen_address: ] # HTTP server listen port [http_listen_port: | default = 80] # gRPC server listen host -[grpc_listen_host: ] +[grpc_listen_address: ] # gRPC server listen port [grpc_listen_port: | default = 9095] @@ -131,7 +131,7 @@ The `client_config` block configures how Promtail connects to an instance of Loki: ```yaml -# The URL where Loki is listening, denoted in Loki as http_listen_host and +# The URL where Loki is listening, denoted in Loki as http_listen_address and # http_listen_port. If Loki is running in microservices mode, this is the HTTP # URL for the Distributor. url: diff --git a/docs/configuration/README.md b/docs/configuration/README.md index 6f48abad541f5..e05087aba9b45 100644 --- a/docs/configuration/README.md +++ b/docs/configuration/README.md @@ -96,13 +96,13 @@ The `server_config` block configures Promtail's behavior as an HTTP server: ```yaml # HTTP server listen host -[http_listen_host: ] +[http_listen_address: ] # HTTP server listen port [http_listen_port: | default = 80] # gRPC server listen host -[grpc_listen_host: ] +[grpc_listen_address: ] # gRPC server listen port [grpc_listen_port: | default = 9095]