Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Config = &observerConfig{ done: make(chan struct{}), } )
View Source
var (
Default = []string{}
)
View Source
var (
Dummy otobserver.Observer = dummy{}
)
View Source
var (
GPUMemInfo otobserver.Observer
)
View Source
var (
Instruments = NoOp
)
View Source
var (
MemInfo otobserver.Observer = memInfo{}
)
View Source
var (
NoOp otobserver.Observer = noopObserver{}
)
View Source
var (
PerfEvents otobserver.Observer = perfevents.NewObserver()
)
Functions ¶
This section is empty.
Types ¶
type SpanDummy ¶
type SpanDummy struct {
// contains filtered or unexported fields
}
SpanDummy collects perfevent metrics
func NewSpanDummy ¶
func NewSpanDummy(s opentracing.Span, opts opentracing.StartSpanOptions) (*SpanDummy, bool)
NewSpanDummy creates a new SpanDummy that can emit perfevent metrics
func (*SpanDummy) OnFinish ¶
func (so *SpanDummy) OnFinish(options opentracing.FinishOptions)
func (*SpanDummy) OnSetOperationName ¶
Click to show internal directories.
Click to hide internal directories.