Package io.opentelemetry.instrumentation.api.instrumenter
package io.opentelemetry.instrumentation.api.instrumenter
-
ClassDescriptionAttributesExtractor<REQUEST,
RESPONSE> Extractor ofAttributesfor a given request and response.ContextCustomizer<REQUEST>Customizer of theContext.Extractor of the root cause of aThrowable.Instrumenter<REQUEST,RESPONSE> TheInstrumenterencapsulates the entire logic for gathering telemetry, from collecting the data, to starting and ending spans, to recording values using metrics instruments.InstrumenterBuilder<REQUEST,RESPONSE> A builder of anInstrumenter.A local root span is a span that either does not have a parent span (it is the root span of a trace), or its parent span is a remote span (context was propagated from another application).A listener of the start and end of an instrumented operation.A factory for creating aOperationListenerinstance that records operation metrics.SpanKindExtractor<REQUEST>Extractor of theSpanKind.A builder that exposes methods for adding links to a span.SpanLinksExtractor<REQUEST>Extractor of span links for a request.SpanNameExtractor<REQUEST>Extractor of the span name for a request.A builder that exposes methods for setting the status of a span.SpanStatusExtractor<REQUEST,RESPONSE> Extractor ofStatusCode.