Class NCZipkinExporter
- java.lang.Object
-
- org.apache.nlpcraft.model.opencensus.NCBaseTraceExporter
-
- org.apache.nlpcraft.model.opencensus.NCZipkinExporter
-
- All Implemented Interfaces:
NCLifecycle
public class NCZipkinExporter extends NCBaseTraceExporter
Probe lifecycle component that manages OpenCensus Zipkin trace exporter. See https://opencensus.io/exporters/supported-exporters/java/zipkin/ for more details. This is a probe lifecycle component - seeNCLifecycle
for usage information.Note that this exporter uses "always" sampling by default that is only suitable for demo and development purposes. For production use you need to override
NCBaseTraceExporter.setSampling()
method to provide a more efficient sampling strategy.See documentation on how to configure probe life cycle components, default values, etc.
-
-
Constructor Summary
Constructors Constructor Description NCZipkinExporter()
Creates new Zipkin OpenCensus trace export lifecycle component.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onInit()
Called before lifecycle component is used and just after its creation.-
Methods inherited from class org.apache.nlpcraft.model.opencensus.NCBaseTraceExporter
onDiscard
-
-
-
-
Method Detail
-
onInit
public void onInit()
Description copied from interface:NCLifecycle
Called before lifecycle component is used and just after its creation. This method is guaranteed to be called. Default implementation is no-op.
-
-