diff --git a/agent/config/config.go b/agent/config/config.go index 3dedbb71ff..d6873d3311 100644 --- a/agent/config/config.go +++ b/agent/config/config.go @@ -38,7 +38,7 @@ func LoadConfig() (Config, error) { vp.SetDefault("AGENT_NAME", getHostname()) vp.SetDefault("API_KEY", "") - vp.SetDefault("SERVER_URL", "https://cloud.tracetest.io") + vp.SetDefault("SERVER_URL", "https://app.tracetest.io") vp.SetDefault("OTLP_SERVER.GRPC_PORT", 4317) vp.SetDefault("OTLP_SERVER.HTTP_PORT", 4318) diff --git a/agent/config/config_test.go b/agent/config/config_test.go index 7af198251f..68b8671d50 100644 --- a/agent/config/config_test.go +++ b/agent/config/config_test.go @@ -18,7 +18,7 @@ func TestConfigDefaults(t *testing.T) { assert.Equal(t, "", cfg.APIKey) assert.Equal(t, hostname, cfg.Name) - assert.Equal(t, "https://cloud.tracetest.io", cfg.ServerURL) + assert.Equal(t, "https://app.tracetest.io", cfg.ServerURL) assert.Equal(t, 4317, cfg.OTLPServer.GRPCPort) assert.Equal(t, 4318, cfg.OTLPServer.HTTPPort) }