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/storage/chunk/client/congestion/hedge.go

21 lines
397 B

package congestion
import (
"net/http"
"github.com/go-kit/log"
"github.com/grafana/loki/v3/pkg/storage/chunk/client/hedging"
)
type NoopHedger struct{}
func NewNoopHedger(Config) *NoopHedger {
return &NoopHedger{}
}
func (n *NoopHedger) HTTPClient(hedging.Config) (*http.Client, error) {
return http.DefaultClient, nil
}
func (n *NoopHedger) withLogger(log.Logger) Hedger { return n }