From 9c34174d458ded7a0d9be5bcb4988fd69e09859d Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Thu, 17 Dec 2020 15:47:47 +0100 Subject: [PATCH] make tracing defaults consistent --- ocis/pkg/flagset/flagset.go | 4 ++-- proxy/pkg/flagset/flagset.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ocis/pkg/flagset/flagset.go b/ocis/pkg/flagset/flagset.go index 517b59e4c2f..422d61d9c04 100644 --- a/ocis/pkg/flagset/flagset.go +++ b/ocis/pkg/flagset/flagset.go @@ -51,14 +51,14 @@ func RootWithConfig(cfg *config.Config) []cli.Flag { }, &cli.StringFlag{ Name: "tracing-endpoint", - Value: "localhost:6831", + Value: "", Usage: "Endpoint for the agent", EnvVars: []string{"OCIS_TRACING_ENDPOINT"}, Destination: &cfg.Tracing.Endpoint, }, &cli.StringFlag{ Name: "tracing-collector", - Value: "http://localhost:14268/api/traces", + Value: "", Usage: "Endpoint for the collector", EnvVars: []string{"OCIS_TRACING_COLLECTOR"}, Destination: &cfg.Tracing.Collector, diff --git a/proxy/pkg/flagset/flagset.go b/proxy/pkg/flagset/flagset.go index 013005d5264..151a31a77e0 100644 --- a/proxy/pkg/flagset/flagset.go +++ b/proxy/pkg/flagset/flagset.go @@ -77,7 +77,7 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag { }, &cli.StringFlag{ Name: "tracing-collector", - Value: "http://localhost:14268/api/traces", + Value: "", Usage: "Endpoint for the collector", EnvVars: []string{"PROXY_TRACING_COLLECTOR"}, Destination: &cfg.Tracing.Collector,