@@ -29,12 +29,38 @@ func NewChunkQuerier(head relabeler.Head, deduplicatorFactory DeduplicatorFactor
29
29
}
30
30
}
31
31
32
- func (q * ChunkQuerier ) LabelValues (ctx context.Context , name string , matchers ... * labels.Matcher ) ([]string , annotations.Annotations , error ) {
33
- return labelValues (ctx , name , q .head , q .deduplicatorFactory , nil , relabeler .LSSLabelValuesChunkQuerier , matchers ... )
32
+ func (q * ChunkQuerier ) LabelValues (
33
+ ctx context.Context ,
34
+ name string ,
35
+ hints * storage.LabelHints ,
36
+ matchers ... * labels.Matcher ,
37
+ ) ([]string , annotations.Annotations , error ) {
38
+ return labelValues (
39
+ ctx ,
40
+ name ,
41
+ q .head ,
42
+ q .deduplicatorFactory ,
43
+ nil ,
44
+ relabeler .LSSLabelValuesChunkQuerier ,
45
+ hints ,
46
+ matchers ... ,
47
+ )
34
48
}
35
49
36
- func (q * ChunkQuerier ) LabelNames (ctx context.Context , matchers ... * labels.Matcher ) ([]string , annotations.Annotations , error ) {
37
- return labelNames (ctx , q .head , q .deduplicatorFactory , nil , relabeler .LSSLabelNamesChunkQuerier , matchers ... )
50
+ func (q * ChunkQuerier ) LabelNames (
51
+ ctx context.Context ,
52
+ hints * storage.LabelHints ,
53
+ matchers ... * labels.Matcher ,
54
+ ) ([]string , annotations.Annotations , error ) {
55
+ return labelNames (
56
+ ctx ,
57
+ q .head ,
58
+ q .deduplicatorFactory ,
59
+ nil ,
60
+ relabeler .LSSLabelNamesChunkQuerier ,
61
+ hints ,
62
+ matchers ... ,
63
+ )
38
64
}
39
65
40
66
func (q * ChunkQuerier ) Select (
0 commit comments