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

Method Finish

spanlogger/spanlogger.go:261–267  ·  view source on GitHub ↗

Finish will finish the span.

()

Source from the content-addressed store, hash-verified

259
260// Finish will finish the span.
261func (s *SpanLogger) Finish() {
262 if s.otelSpan != nil {
263 s.otelSpan.End()
264 return
265 }
266 s.opentracingSpan.Finish()
267}
268
269// LogFields will log the provided fields in the span, this is more performant that LogKV when using opentracing library.
270func (s *SpanLogger) LogFields(kvps ...otlog.Field) {

Calls

no outgoing calls