Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClampRange ¶
ClampRange ensures that the time range is within the configured maximum query length.
func NewRequester ¶
func NewRequester() alertingInstrument.Requester
Types ¶
type HTTPLokiClient ¶
type HTTPLokiClient struct {
// contains filtered or unexported fields
}
func NewLokiClient ¶
func NewLokiClient(cfg LokiConfig, req alertingInstrument.Requester, bytesWritten prometheus.Counter, writeDuration *instrument.HistogramCollector, logger log.Logger, tracer trace.Tracer, spanName string) *HTTPLokiClient
func (*HTTPLokiClient) MaxQuerySize ¶
func (c *HTTPLokiClient) MaxQuerySize() int
func (*HTTPLokiClient) RangeQuery ¶
type JSONEncoder ¶
type JSONEncoder struct{}
type LokiConfig ¶
type SnappyProtoEncoder ¶
type SnappyProtoEncoder struct{}
Click to show internal directories.
Click to hide internal directories.