Documentation ¶
Index ¶
Constants ¶
View Source
const TracingEnabledFlag = "tracing"
TracingEnabledFlag is the CLI flag name to use to enable trace collections.
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, }
Flags holds all command-line flags required for tracing collection.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.