public interface OpenTracer
Tracer
implementation.Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the tracer.
|
io.opentracing.Tracer |
getTracer(String tracerName,
String serviceName)
Returns the specific tracer implementation of the analytics engine based
on the configuration provided.
|
void |
init()
Initializes the
Tracer implementation with configurations. |
void init() throws InvalidConfigurationException
Tracer
implementation with configurations.InvalidConfigurationException
- if the configurations are invalid.io.opentracing.Tracer getTracer(String tracerName, String serviceName)
tracerName
- name of the tracerserviceName
- name of the service of the traceTracer
instance
if the configuration or tracer name is invalid.String getName()
Copyright © 2018 WSO2. All rights reserved.