Class LokiServerException

All Implemented Interfaces:
Serializable

public final class LokiServerException extends LokiException
A non-transient server-side failure with code ErrorCode.UNAVAILABLE and retryable=false.

Raised for push status 260 (ingestion administratively blocked) and for responses the SDK cannot decode. A plain HTTP 500 is a retryable UnavailableException (SPEC 2.1), and so is a 500/503 whose text says Ingester is shutting down (WAL disk at least 90 % full).

See Also:
  • Constructor Details

    • LokiServerException

      public LokiServerException(String message, Integer httpStatus, String requestId, Throwable cause)
      Creates the exception.
      Parameters:
      message - redacted message
      httpStatus - HTTP status or null
      requestId - request id or null
      cause - cause or null