MCPcopy
hub / github.com/grafana/dskit / Finish

Method Finish

spanprofiler/spanprofiler.go:99–103  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97}
98
99func (s *spanWrapper) Finish() {
100 s.Span.Finish()
101 pprof.SetGoroutineLabels(s.parentPprofCtx)
102 s.currentPprofCtx = s.parentPprofCtx
103}
104
105// sampledSpanID returns the span ID, if the span is sampled,
106// otherwise an empty string is returned.

Calls

no outgoing calls