Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// KeyArea is the key to represent the current flamingo area
KeyArea, _ = tag.NewKey("area")
// Sampler is used as default sampler
Sampler = trace.NeverSample()
)
Functions ¶
Types ¶
type Module ¶
type Module struct { Endpoint string `inject:"config:opencensus.jaeger.endpoint"` ServiceName string `inject:"config:opencensus.serviceName"` ServiceAddr string `inject:"config:opencensus.serviceAddr"` JaegerEnable bool `inject:"config:opencensus.jaeger.enable"` }
Module registers the opencensus module which in turn enables jaeger & co
func (*Module) DefaultConfig ¶
DefaultConfig for opencensus module
Click to show internal directories.
Click to hide internal directories.