Skip to content

Commit 3b66bcd

Browse files
committed
fix after merge 2
1 parent a53c195 commit 3b66bcd

File tree

2 files changed

+31
-5
lines changed

2 files changed

+31
-5
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.53.2-0.4.0-rc2
1+
2.55.1-0.4.0-rc2

pp/go/relabeler/querier/chunk_querier.go

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,38 @@ func NewChunkQuerier(head relabeler.Head, deduplicatorFactory DeduplicatorFactor
2929
}
3030
}
3131

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+
)
3448
}
3549

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+
)
3864
}
3965

4066
func (q *ChunkQuerier) Select(

0 commit comments

Comments
 (0)