Interface MonitoringConfig
-
@Immutable @Modifiable public interface MonitoringConfigConfiguration for monitoring.
-
-
Method Summary
All 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
-
getServerName
java.lang.String getServerName()
Name to use to identify this server in monitoring.
-
getTraceQueueSize
int getTraceQueueSize()
Maximum size of queue of Zipkin traces.
-
getStackdriverProjectId
java.lang.String getStackdriverProjectId()
The Stackdriver project id to report traces to.
-
isReportTraces
boolean isReportTraces()
Whether to report traces to Stackdriver. Otherwise, logged to text.
-
getTraceReportInterval
java.time.Duration getTraceReportInterval()
The interval for reporting traces.
-
getTraceSamplingRate
double getTraceSamplingRate()
The sampling rate for traces. 1.0 means all traces are sampled.
-
-