Skip to content

Commit

Permalink
update proto
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Ye <[email protected]>
  • Loading branch information
yeya24 committed Dec 3, 2024
1 parent 853d38a commit 56d95d4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkg/querier/tripperware/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ message SampleStream {
repeated cortexpb.LabelPair labels = 1 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "metric", (gogoproto.customtype) = "github.com/cortexproject/cortex/pkg/cortexpb.LabelAdapter"];
repeated cortexpb.Sample samples = 2 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "values"];
repeated SampleHistogramPair histograms = 3 [(gogoproto.nullable) = true, (gogoproto.jsontag) = "histograms"];
// Full representation of native histograms and it should be always float histogram type.
// This field should be never deserialized into JSON and should only exist in protobuf format.
repeated cortexpb.Histogram rawHistograms = 4 [(gogoproto.nullable) = true, (gogoproto.jsontag) = "-"];
}

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

message Matrix {
Expand Down

0 comments on commit 56d95d4

Please sign in to comment.