Documentation ¶
Index ¶
Constants ¶
View Source
const TracingEnabledFlag = "tracing"
tracingabledflag是用于启用跟踪集合的CLI标志名。
Variables ¶
View Source
var ( TracingFlag = cli.BoolFlag{ Name: TracingEnabledFlag, Usage: "Enable tracing", } TracingEndpointFlag = cli.StringFlag{ Name: "tracing.endpoint", Usage: "Tracing endpoint", Value: "0.0.0.0:6831", } TracingSvcFlag = cli.StringFlag{ Name: "tracing.svc", Usage: "Tracing service name", Value: "swarm", } )
View Source
var (
Closer io.Closer
)
View Source
var Enabled bool = false
View Source
var Flags = []cli.Flag{ TracingFlag, TracingEndpointFlag, TracingSvcFlag, }
标志保存跟踪集合所需的所有命令行标志。
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.