Interface MonitoringConfig

  • @Immutable
    public interface MonitoringConfig
    Configuration for monitoring.
    • 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.