From 105eea41569905bfd6986a5015e68b8e2e683752 Mon Sep 17 00:00:00 2001 From: Ayato Tokubi Date: Wed, 21 Aug 2024 00:24:46 +0100 Subject: [PATCH] Change default from localhost to 127.0.0.1 Signed-off-by: Ayato Tokubi --- conmon-rs/server/src/config.rs | 2 +- pkg/client/client.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conmon-rs/server/src/config.rs b/conmon-rs/server/src/config.rs index 5165ebf0cb..d20ac572be 100644 --- a/conmon-rs/server/src/config.rs +++ b/conmon-rs/server/src/config.rs @@ -117,7 +117,7 @@ pub struct Config { #[get = "pub"] #[arg( - default_value("http://localhost:4317"), + default_value("http://127.0.0.1:4317"), env(concat!(prefix!(), "TRACING_ENDPOINT")), long("tracing-endpoint"), short('t'), diff --git a/pkg/client/client.go b/pkg/client/client.go index 6379c77889..ba20358326 100644 --- a/pkg/client/client.go +++ b/pkg/client/client.go @@ -103,7 +103,7 @@ type Tracing struct { Enabled bool // Endpoint is the GRPC tracing endpoint for OLTP. - // Defaults to "http://localhost:4317" + // Defaults to "http://127.0.0.1:4317" Endpoint string // Tracer allows the client to create additional spans if set.