@ContextConfiguration(classes=SleuthSpanCreatorAspectFluxTests.TestConfiguration.class) public abstract class SleuthSpanCreatorAspectFluxTests extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
SleuthSpanCreatorAspectFluxTests.TestBean |
protected static interface |
SleuthSpanCreatorAspectFluxTests.TestBeanInterface |
static class |
SleuthSpanCreatorAspectFluxTests.TestConfiguration |
| Constructor and Description |
|---|
SleuthSpanCreatorAspectFluxTests() |
public abstract org.springframework.cloud.sleuth.TraceContext traceContext()
protected static String id(org.springframework.cloud.sleuth.Tracer tracer)
protected static String id(reactor.util.context.Context context, org.springframework.cloud.sleuth.Tracer tracer)
@BeforeEach @AfterEach public void setup()
@Test public void newSpan_shouldContinueExistingTrace()
@Test public void shouldCreateSpanWhenAnnotationOnInterfaceMethod()
@Test public void shouldCreateSpanWhenAnnotationOnClassMethod()
@Test public void shouldCreateSpanWithCustomNameWhenAnnotationOnClassMethod()
@Test public void shouldCreateSpanWithCustomNameWhenAnnotationOnInterfaceMethod()
@Test public void shouldCreateSpanWithTagWhenAnnotationOnInterfaceMethod()
@Test public void shouldCreateSpanWithTagWhenAnnotationOnClassMethod()
@Test public void shouldCreateSpanWithLogWhenAnnotationOnInterfaceMethod()
@Test public void shouldCreateSpanWithLogWhenAnnotationOnClassMethod()
@Test public void shouldContinueSpanWithLogWhenAnnotationOnInterfaceMethod()
@Test public void shouldStartAndCloseSpanOnContinueSpanIfSpanNotSet()
@Test public void shouldContinueSpanWhenKeyIsUsedOnSpanTagWhenAnnotationOnInterfaceMethod()
@Test public void shouldContinueSpanWithLogWhenAnnotationOnClassMethod()
@Test public void shouldAddErrorTagWhenExceptionOccurredInNewSpan()
@Test public void shouldAddErrorTagWhenExceptionOccurredInContinueSpan()
@Test public void shouldNotCreateSpanWhenNotAnnotated()
@Test public void shouldReturnNewSpanFromTraceContext()
@Test public void shouldReturnNewSpanFromSubscriberContext()
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.