Class BraveTracingCleanup
java.lang.Object
com.netflix.genie.common.internal.tracing.brave.BraveTracingCleanup
Any cleanup needed at program shutdown for Brave instrumentation.
- Since:
- 4.0.0
-
Constructor Summary
ConstructorDescriptionBraveTracingCleanup
(Set<zipkin2.reporter.AsyncReporter<?>> reporters) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanup()
Should be called at the end of the program to perform any necessary cleanup that native Brave components don't already do.
-
Constructor Details
-
BraveTracingCleanup
Constructor.- Parameters:
reporters
- AnyAsyncReporter
instance configured for the system
-
-
Method Details
-
cleanup
public void cleanup()Should be called at the end of the program to perform any necessary cleanup that native Brave components don't already do. Example: flushing asynchronous reporters so that spans are more guaranteed to be reported than if this wasn't explicitly called and a timeout happened.
-