
com.wavefront.opentracing.reporting.Reporter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wavefront-opentracing-sdk-java Show documentation
Show all versions of wavefront-opentracing-sdk-java Show documentation
Implements OpenTracing API for collecting and sending tracing data to Wavefront from Java applications.
The newest version!
package com.wavefront.opentracing.reporting;
import com.wavefront.opentracing.WavefrontSpan;
import java.io.Closeable;
import java.io.IOException;
/**
* Interface for reporting finished spans.
*
* @author Vikram Raman ([email protected])
*/
public interface Reporter extends Closeable {
/**
* Report opentracing span to Wavefront
*
* @param span OpenTracing span
* @throws IOException
*/
void report(WavefrontSpan span) throws IOException;
/**
* Get total failure count reported by this reporter
*
* @return total failure count
*/
int getFailureCount();
/**
* Close the reporter. WIll flush in-flight buffer before closing.
*
* @throws IOException
*/
void close() throws IOException;
/**
* Flush the data of reporter.
*/
void flush();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy