public class TracingUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
startObservation(ObserverContext observerContext,
boolean isClient)
Starts a span of an
ObserverContext . |
static void |
stopObservation(ObserverContext observerContext)
Finishes a span in an
ObserverContext . |
public static void startObservation(ObserverContext observerContext, boolean isClient)
ObserverContext
.observerContext
- context that would hold the started spanisClient
- true if the starting span is a clientpublic static void stopObservation(ObserverContext observerContext)
ObserverContext
.observerContext
- context that holds the span to be finishedCopyright © 2018 WSO2. All rights reserved.