use of org.apache.synapse.aspects.flow.statistics.opentracing.management.helpers.zipkin.ZipkinV2ReporterFactory in project wso2-synapse by wso2.
the class OpenTracingManagerHolder method loadZipkinConfigurations.
/**
* Loads Zipkin configurations required for the OpenTracingManager.
*
* @param zipkinBackendURL
*/
public static void loadZipkinConfigurations(String zipkinBackendURL) {
ZipkinV2ReporterFactory factory = new ZipkinV2ReporterFactory(zipkinBackendURL);
ConstSampler sampler = new ConstSampler(true);
openTracingManager = new JaegerTracingManager(sampler, factory.getReporter());
}
Aggregations