Interface MonitoringConfig
-
@Immutable @Modifiable public interface MonitoringConfig
Configuration for monitoring.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getServerName()
Name to use to identify this server in monitoring.java.lang.String
getStackdriverProjectId()
The Stackdriver project id to report traces to.int
getTraceQueueSize()
Maximum size of queue of Zipkin traces.java.time.Duration
getTraceReportInterval()
The interval for reporting traces.double
getTraceSamplingRate()
The sampling rate for traces.boolean
isReportTraces()
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.
-
-