Class MetricsException

  • All Implemented Interfaces:
    java.io.Serializable

    
    public class MetricsException
    extends Exception
                        

    Error returned by crate::Cedarling::drain_metrics when a local metrics snapshot is not available.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public final class MetricsException.NotEnabled

      Local metrics collection is disabled. Enable it by setting CEDARLING_METRICS_COLLECTION=enabled.

      public final class MetricsException.LockTelemetry

      The metrics collector is owned by the Lock telemetry ticker; enabling CEDARLING_METRICS_COLLECTION will not help. Returned whenever CEDARLING_LOCK_TELEMETRY_INTERVAL is set, even if the Lock server has no telemetry endpoint and metrics are not shipped anywhere.

      public class MetricsException.ErrorHandler
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class kotlin.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail