Class MetricsServiceImpl

All Implemented Interfaces:
MetricsServiceGrpc.AsyncService, io.grpc.BindableService

public final class MetricsServiceImpl extends MetricsServiceGrpc.MetricsServiceImplBase
  • Constructor Details

    • MetricsServiceImpl

      public MetricsServiceImpl(SoulFireServer soulFireServer)
  • Method Details

    • getInstanceMetrics

      public void getInstanceMetrics(GetInstanceMetricsRequest request, io.grpc.stub.StreamObserver<GetInstanceMetricsResponse> responseObserver)
      Description copied from interface: MetricsServiceGrpc.AsyncService
      Returns time-series metrics and current distributions for an instance.
      Supports incremental fetching via the "since" parameter.
      Requires: READ_BOT_INFO permission on the instance
      Errors: NOT_FOUND if instance does not exist
      
    • getServerMetrics

      public void getServerMetrics(GetServerMetricsRequest request, io.grpc.stub.StreamObserver<GetServerMetricsResponse> responseObserver)
      Description copied from interface: MetricsServiceGrpc.AsyncService
      Returns server-level system metrics (CPU, memory, threads, GC, aggregate bots).
      Supports incremental fetching via the "since" parameter.
      Requires: READ_SERVER_CONFIG global permission