MCPcopy
hub / github.com/cloudflare/cloudflared / End

Function End

tracing/tracing.go:194–196  ·  view source on GitHub ↗

End will set the OK status for the span and then end it.

(span trace.Span)

Source from the content-addressed store, hash-verified

192
193// End will set the OK status for the span and then end it.
194func End(span trace.Span) {
195 endSpan(span, -1, codes.Ok, nil)
196}
197
198// EndWithErrorStatus will set a status for the span and then end it.
199func EndWithErrorStatus(span trace.Span, err error) {

Callers 6

RegisterUdpSessionMethod · 0.92
RequestMethod · 0.92
RequestMethod · 0.92
sendReplyMethod · 0.92
RequestMethod · 0.92
handleResponseMethod · 0.92

Calls 1

endSpanFunction · 0.85

Tested by

no test coverage detected