Interface TracerConfiguration
-
public interface TracerConfigurationInterface wrapping every tracer implementation configuration.- Author:
- Emmanuel Hugonnet (c) 2019 Red Hat, Inc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.opentracing.TracercreateTracer(String serviceName)Instantiate a new Tracerorg.jboss.dmr.ModelNodegetModel()Returns the description of the tracer configuration.StringgetModuleName()The JBoss module required to instantiate the tracer.StringgetName()Returns this configuration name.
-
-
-
Method Detail
-
getName
String getName()
Returns this configuration name.- Returns:
- this configuration name.
-
createTracer
io.opentracing.Tracer createTracer(String serviceName)
Instantiate a new Tracer- Parameters:
serviceName- : service name associated with this tracer.- Returns:
- a new tracer instance.
-
getModuleName
String getModuleName()
The JBoss module required to instantiate the tracer.- Returns:
- the JBoss module required to instantiate the tracer.
-
getModel
org.jboss.dmr.ModelNode getModel()
Returns the description of the tracer configuration.- Returns:
- the configuration used at tracer's instantiation.
-
-