From 56d95d4bb4d1eb169503903db696b5876f483adb Mon Sep 17 00:00:00 2001 From: Ben Ye Date: Tue, 3 Dec 2024 10:17:46 -0800 Subject: [PATCH] update proto Signed-off-by: Ben Ye --- pkg/querier/tripperware/query.proto | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkg/querier/tripperware/query.proto b/pkg/querier/tripperware/query.proto index bfe46216ab5..477e0f604f8 100644 --- a/pkg/querier/tripperware/query.proto +++ b/pkg/querier/tripperware/query.proto @@ -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 { @@ -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 {