/** {@inheritDoc} */ @Override public SpanCustomizer annotate(String value) { return tracer.currentSpanCustomizer().annotate(value); } }
/** Same behaviour as {@link brave.SpanCustomizer#annotate(String)} */ protected final void annotate(Object span, String value) { if (span instanceof SpanCustomizer) { ((SpanCustomizer) span).annotate(value); } else if (span instanceof ScopedSpan) { ((ScopedSpan) span).annotate(value); } }
/** Same behaviour as {@link brave.SpanCustomizer#annotate(String)} */ protected final void annotate(Object span, String value) { if (span instanceof SpanCustomizer) { ((SpanCustomizer) span).annotate(value); } else if (span instanceof ScopedSpan) { ((ScopedSpan) span).annotate(value); } }
/** {@inheritDoc} */ @Override public SpanCustomizer annotate(String value) { return tracer.currentSpanCustomizer().annotate(value); } }