Class StackdriverReporter
- java.lang.Object
 - 
- org.curioswitch.common.server.framework.monitoring.StackdriverReporter
 
 
- 
- All Implemented Interfaces:
 java.io.Flushable,java.lang.AutoCloseable,zipkin2.reporter.Reporter<zipkin2.Span>
@Singleton public class StackdriverReporter extends java.lang.Object implements zipkin2.reporter.Reporter<zipkin2.Span>, java.io.Flushable, java.lang.AutoCloseable 
- 
- 
Constructor Summary
Constructors Constructor Description StackdriverReporter(dagger.Lazy<com.google.devtools.cloudtrace.v2.TraceServiceGrpc.TraceServiceFutureStub> traceServiceClient, MonitoringConfig config) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()voidreport(zipkin2.Span span) 
 - 
 
- 
- 
Constructor Detail
- 
StackdriverReporter
@Inject public StackdriverReporter(dagger.Lazy<com.google.devtools.cloudtrace.v2.TraceServiceGrpc.TraceServiceFutureStub> traceServiceClient, MonitoringConfig config) 
 - 
 
- 
Method Detail
- 
report
public void report(zipkin2.Span span)
- Specified by:
 reportin interfacezipkin2.reporter.Reporter<zipkin2.Span>
 
- 
flush
public void flush()
- Specified by:
 flushin interfacejava.io.Flushable
 
- 
close
public void close() throws java.lang.Exception- Specified by:
 closein interfacejava.lang.AutoCloseable- Throws:
 java.lang.Exception
 
 - 
 
 -