Remove outdated ExtendedSpanBuilder javadoc example (#6659)
This commit is contained in:
parent
dc4cc27009
commit
97b3fa42f1
|
@ -29,13 +29,6 @@ public interface ExtendedSpanBuilder extends SpanBuilder {
|
||||||
* <p>The span context will be extracted from the <code>carrier</code>, which you usually get from
|
* <p>The span context will be extracted from the <code>carrier</code>, which you usually get from
|
||||||
* HTTP headers of the metadata of a message you're processing.
|
* HTTP headers of the metadata of a message you're processing.
|
||||||
*
|
*
|
||||||
* <p>A typical usage would be: <code>
|
|
||||||
* ExtendedTracer.create(tracer)
|
|
||||||
* .setSpanKind(SpanKind.SERVER)
|
|
||||||
* .setParentFrom(propagators, carrier)
|
|
||||||
* .run("my-span", () -> { ... });
|
|
||||||
* </code>
|
|
||||||
*
|
|
||||||
* @param propagators provide the propagators from {@link OpenTelemetry#getPropagators()}
|
* @param propagators provide the propagators from {@link OpenTelemetry#getPropagators()}
|
||||||
* @param carrier the string map where to extract the span context from
|
* @param carrier the string map where to extract the span context from
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue