MCPcopy Create free account
hub / github.com/elastic/apm-agent-java / end

Method end

apm-agent-api/src/main/java/co/elastic/apm/api/Span.java:319–319  ·  view source on GitHub ↗

Ends the span and schedules it to be reported to the APM Server. It is illegal to call any methods on a span instance which has already ended. This also includes this method and #startSpan().

()

Source from the content-addressed store, hash-verified

317 * This also includes this method and {@link #startSpan()}.
318 */
319 void end();
320
321 /**
322 * Ends the span and schedules it to be reported to the APM Server.

Callers 15

createCustomSpanMethod · 0.95
onExitMethod · 0.95
createCustomSpanMethod · 0.95
onExitMethod · 0.95
onExitMethod · 0.95
testTransactionInjectMethod · 0.95

Implementers 4

ApmSpanapm-opentracing/src/main/java/co/elast
AbstractSpanImplapm-agent-api/src/main/java/co/elastic
NoopSpanapm-agent-api/src/main/java/co/elastic
OTelSpanapm-agent-plugins/apm-opentelemetry/ap

Calls

no outgoing calls

Tested by 15

createCustomSpanMethod · 0.76
onExitMethod · 0.76
createCustomSpanMethod · 0.76
onExitMethod · 0.76
onExitMethod · 0.76
testTransactionInjectMethod · 0.76