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 {