@@ -462,9 +462,6 @@ type Options struct {
462
462
// MemProfileRate calls runtime.SetMemProfileRate(MemProfileRate) if non zero value, deactivate with <0
463
463
MemProfileRate int
464
464
465
- // EnableFlightRecorder enables trace.FlightRecorder https://pkg.go.dev/golang.org/x/exp/trace#FlightRecorder to support Go tool trace.
466
- EnableFlightRecorder bool
467
-
468
465
// FlightRecorderSizeBytes set size of the FlightRecorder https://pkg.go.dev/golang.org/x/exp/trace#FlightRecorder.SetSize
469
466
FlightRecorderSize int
470
467
@@ -474,7 +471,10 @@ type Options struct {
474
471
// FlightRecorderTargetURL is the target to write the trace
475
472
// to. Supported targets are http URL and file URL. Skipper
476
473
// will try to upload the trace data by an http PUT request to
477
- // this http URL. request
474
+ // this http URL. This is required to set if you want to have
475
+ // trace.FlightRecorder
476
+ // https://pkg.go.dev/golang.org/x/exp/trace#FlightRecorder
477
+ // enabled to support Go tool trace.
478
478
FlightRecorderTargetURL string
479
479
480
480
// Flag that enables reporting of the Go garbage collector statistics exported in debug.GCStats
@@ -2048,7 +2048,7 @@ func run(o Options, sig chan os.Signal, idleConnsCH chan struct{}) error {
2048
2048
fr = nil
2049
2049
}
2050
2050
}
2051
- log .Infof ("FlightRecorder enabled %v : %v" , o . EnableFlightRecorder , fr )
2051
+ log .Infof ("FlightRecorder: %v" , fr )
2052
2052
2053
2053
proxyFlags := proxy .Flags (o .ProxyOptions ) | o .ProxyFlags
2054
2054
proxyParams := proxy.Params {
0 commit comments