Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
loki/pkg/limits/frontend/client.go

14 lines
418 B

package frontend
import (
"context"
"github.com/grafana/loki/v3/pkg/limits/proto"
)
type limitsClient interface {
// ExceedsLimits checks if the streams in the request have exceeded their
// per-partition limits.
ExceedsLimits(context.Context, *proto.ExceedsLimitsRequest) ([]*proto.ExceedsLimitsResponse, error)
UpdateRates(context.Context, *proto.UpdateRatesRequest) ([]*proto.UpdateRatesResponse, error)
}