Skip to content

Commit 56d95d4

Browse files
committed
update proto
Signed-off-by: Ben Ye <[email protected]>
1 parent 853d38a commit 56d95d4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pkg/querier/tripperware/query.proto

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ message SampleStream {
4848
repeated cortexpb.LabelPair labels = 1 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "metric", (gogoproto.customtype) = "github.com/cortexproject/cortex/pkg/cortexpb.LabelAdapter"];
4949
repeated cortexpb.Sample samples = 2 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "values"];
5050
repeated SampleHistogramPair histograms = 3 [(gogoproto.nullable) = true, (gogoproto.jsontag) = "histograms"];
51-
// Full representation of native histograms and it should be always float histogram type.
52-
// This field should be never deserialized into JSON and should only exist in protobuf format.
53-
repeated cortexpb.Histogram rawHistograms = 4 [(gogoproto.nullable) = true, (gogoproto.jsontag) = "-"];
5451
}
5552

5653
message SampleHistogramPair {
@@ -109,7 +106,7 @@ message Sample {
109106
SampleHistogramPair histogram = 3 [(gogoproto.nullable) = true, (gogoproto.jsontag) = "histogram"];
110107
// Full representation of a native histogram and it should be always float histogram type.
111108
// This field should be never deserialized into JSON and should only exist in protobuf format.
112-
cortexpb.Histogram rawHistogram = 4 [(gogoproto.nullable) = true];
109+
cortexpb.Histogram rawHistogram = 4 [(gogoproto.nullable) = true, (gogoproto.jsontag) = "-"];
113110
}
114111

115112
message Matrix {

0 commit comments

Comments
 (0)