Interface MonitoringConfig
- 
 @Immutable @Modifiable public interface MonitoringConfigConfiguration for monitoring.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetServerName()Name to use to identify this server in monitoring.java.lang.StringgetStackdriverProjectId()The Stackdriver project id to report traces to.intgetTraceQueueSize()Maximum size of queue of Zipkin traces.java.time.DurationgetTraceReportInterval()The interval for reporting traces.doublegetTraceSamplingRate()The sampling rate for traces.booleanisReportTraces()Whether to report traces to Stackdriver.
 
- 
- 
- 
Method Detail- 
getServerNamejava.lang.String getServerName() Name to use to identify this server in monitoring.
 - 
getTraceQueueSizeint getTraceQueueSize() Maximum size of queue of Zipkin traces.
 - 
getStackdriverProjectIdjava.lang.String getStackdriverProjectId() The Stackdriver project id to report traces to.
 - 
isReportTracesboolean isReportTraces() Whether to report traces to Stackdriver. Otherwise, logged to text.
 - 
getTraceReportIntervaljava.time.Duration getTraceReportInterval() The interval for reporting traces.
 - 
getTraceSamplingRatedouble getTraceSamplingRate() The sampling rate for traces. 1.0 means all traces are sampled.
 
- 
 
-