make tracing defaults consistent
This commit is contained in:
@@ -51,14 +51,14 @@ func RootWithConfig(cfg *config.Config) []cli.Flag {
|
|||||||
},
|
},
|
||||||
&cli.StringFlag{
|
&cli.StringFlag{
|
||||||
Name: "tracing-endpoint",
|
Name: "tracing-endpoint",
|
||||||
Value: "localhost:6831",
|
Value: "",
|
||||||
Usage: "Endpoint for the agent",
|
Usage: "Endpoint for the agent",
|
||||||
EnvVars: []string{"OCIS_TRACING_ENDPOINT"},
|
EnvVars: []string{"OCIS_TRACING_ENDPOINT"},
|
||||||
Destination: &cfg.Tracing.Endpoint,
|
Destination: &cfg.Tracing.Endpoint,
|
||||||
},
|
},
|
||||||
&cli.StringFlag{
|
&cli.StringFlag{
|
||||||
Name: "tracing-collector",
|
Name: "tracing-collector",
|
||||||
Value: "http://localhost:14268/api/traces",
|
Value: "",
|
||||||
Usage: "Endpoint for the collector",
|
Usage: "Endpoint for the collector",
|
||||||
EnvVars: []string{"OCIS_TRACING_COLLECTOR"},
|
EnvVars: []string{"OCIS_TRACING_COLLECTOR"},
|
||||||
Destination: &cfg.Tracing.Collector,
|
Destination: &cfg.Tracing.Collector,
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
|
|||||||
},
|
},
|
||||||
&cli.StringFlag{
|
&cli.StringFlag{
|
||||||
Name: "tracing-collector",
|
Name: "tracing-collector",
|
||||||
Value: "http://localhost:14268/api/traces",
|
Value: "",
|
||||||
Usage: "Endpoint for the collector",
|
Usage: "Endpoint for the collector",
|
||||||
EnvVars: []string{"PROXY_TRACING_COLLECTOR"},
|
EnvVars: []string{"PROXY_TRACING_COLLECTOR"},
|
||||||
Destination: &cfg.Tracing.Collector,
|
Destination: &cfg.Tracing.Collector,
|
||||||
|
|||||||
Reference in New Issue
Block a user