Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseReader ¶
type BaseReader interface { GetSeries(ctx context.Context, userID string, from, through model.Time, matchers ...*labels.Matcher) ([]labels.Labels, error) LabelValuesForMetricName(ctx context.Context, userID string, from, through model.Time, metricName string, labelName string, matchers ...*labels.Matcher) ([]string, error) LabelNamesForMetricName(ctx context.Context, userID string, from, through model.Time, metricName string) ([]string, error) Stats(ctx context.Context, userID string, from, through model.Time, matchers ...*labels.Matcher) (*stats.Stats, error) Volume(ctx context.Context, userID string, from, through model.Time, limit int32, targetLabels []string, aggregateBy string, matchers ...*labels.Matcher) (*logproto.VolumeResponse, error) }
type Filterable ¶
type Filterable interface { // SetChunkFilterer sets a chunk filter to be used when retrieving chunks. SetChunkFilterer(chunkFilter chunk.RequestChunkFilterer) }
type ReaderWriter ¶
func NewMonitoredReaderWriter ¶
func NewMonitoredReaderWriter(rw ReaderWriter, reg prometheus.Registerer) ReaderWriter
Click to show internal directories.
Click to hide internal directories.