-
Notifications
You must be signed in to change notification settings - Fork 548
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Arve Knudsen <[email protected]>
- Loading branch information
Showing
19 changed files
with
150 additions
and
304 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,14 @@ | ||
diff --git a/pkg/frontend/querymiddleware/model.pb.go b/pkg/frontend/querymiddleware/model.pb.go | ||
index fe81fabf6..47f80838c 100644 | ||
index 315ed4eed..47f80838c 100644 | ||
--- a/pkg/frontend/querymiddleware/model.pb.go | ||
+++ b/pkg/frontend/querymiddleware/model.pb.go | ||
@@ -13,7 +13,6 @@ import ( | ||
types "github.com/gogo/protobuf/types" | ||
github_com_grafana_mimir_pkg_mimirpb "github.com/grafana/mimir/pkg/mimirpb" | ||
mimirpb "github.com/grafana/mimir/pkg/mimirpb" | ||
- "google.golang.org/grpc/mem" | ||
io "io" | ||
math "math" | ||
math_bits "math/bits" | ||
@@ -91,9 +90,6 @@ type PrometheusResponse struct { | ||
Headers []*PrometheusHeader `protobuf:"bytes,5,rep,name=Headers,proto3" json:"-"` | ||
Warnings []string `protobuf:"bytes,6,rep,name=Warnings,proto3" json:"warnings,omitempty"` | ||
Infos []string `protobuf:"bytes,7,rep,name=Infos,proto3" json:"infos,omitempty"` | ||
- | ||
- // Keep reference to buffer for unsafe references. | ||
- buffer mem.Buffer | ||
@@ -83,9 +83,6 @@ func (m *PrometheusHeader) GetValues() []string { | ||
} | ||
|
||
func (m *PrometheusResponse) Reset() { *m = PrometheusResponse{} } | ||
type PrometheusResponse struct { | ||
- // Keep reference to buffer for unsafe references. | ||
- github_com_grafana_mimir_pkg_mimirpb.BufferHolder | ||
- | ||
Status string `protobuf:"bytes,1,opt,name=Status,proto3" json:"status"` | ||
Data *PrometheusData `protobuf:"bytes,2,opt,name=Data,proto3" json:"data,omitempty"` | ||
ErrorType string `protobuf:"bytes,3,opt,name=ErrorType,proto3" json:"errorType,omitempty"` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,54 @@ | ||
diff --git a/pkg/ingester/client/ingester.pb.go b/pkg/ingester/client/ingester.pb.go | ||
index 36860bb02..bbefc14b1 100644 | ||
index 9398a5d80..bbefc14b1 100644 | ||
--- a/pkg/ingester/client/ingester.pb.go | ||
+++ b/pkg/ingester/client/ingester.pb.go | ||
@@ -16,7 +16,6 @@ import ( | ||
mimirpb "github.com/grafana/mimir/pkg/mimirpb" | ||
grpc "google.golang.org/grpc" | ||
codes "google.golang.org/grpc/codes" | ||
- "google.golang.org/grpc/mem" | ||
status "google.golang.org/grpc/status" | ||
io "io" | ||
math "math" | ||
@@ -584,9 +583,6 @@ func (m *ActiveSeriesRequest) GetType() ActiveSeriesRequest_RequestType { | ||
@@ -582,9 +582,6 @@ func (m *ActiveSeriesRequest) GetType() ActiveSeriesRequest_RequestType { | ||
} | ||
|
||
type QueryResponse struct { | ||
Timeseries []mimirpb.TimeSeries `protobuf:"bytes,1,rep,name=timeseries,proto3" json:"timeseries"` | ||
- | ||
- // Keep reference to buffer for unsafe references. | ||
- buffer mem.Buffer | ||
- mimirpb.BufferHolder | ||
- | ||
Timeseries []mimirpb.TimeSeries `protobuf:"bytes,1,rep,name=timeseries,proto3" json:"timeseries"` | ||
} | ||
|
||
func (m *QueryResponse) Reset() { *m = QueryResponse{} } | ||
@@ -642,9 +638,6 @@ type QueryStreamResponse struct { | ||
StreamingSeries []QueryStreamSeries `protobuf:"bytes,3,rep,name=streaming_series,json=streamingSeries,proto3" json:"streaming_series"` | ||
IsEndOfSeriesStream bool `protobuf:"varint,4,opt,name=is_end_of_series_stream,json=isEndOfSeriesStream,proto3" json:"is_end_of_series_stream,omitempty"` | ||
StreamingSeriesChunks []QueryStreamSeriesChunks `protobuf:"bytes,5,rep,name=streaming_series_chunks,json=streamingSeriesChunks,proto3" json:"streaming_series_chunks"` | ||
- | ||
@@ -636,9 +633,6 @@ func (m *QueryResponse) GetTimeseries() []mimirpb.TimeSeries { | ||
// | ||
// Only one of these two options will be populated. | ||
type QueryStreamResponse struct { | ||
- // Keep reference to buffer for unsafe references. | ||
- buffer mem.Buffer | ||
- mimirpb.BufferHolder | ||
- | ||
Chunkseries []TimeSeriesChunk `protobuf:"bytes,1,rep,name=chunkseries,proto3" json:"chunkseries"` | ||
Timeseries []mimirpb.TimeSeries `protobuf:"bytes,2,rep,name=timeseries,proto3" json:"timeseries"` | ||
StreamingSeries []QueryStreamSeries `protobuf:"bytes,3,rep,name=streaming_series,json=streamingSeries,proto3" json:"streaming_series"` | ||
@@ -809,9 +803,6 @@ func (m *QueryStreamSeriesChunks) GetChunks() []Chunk { | ||
} | ||
|
||
func (m *QueryStreamResponse) Reset() { *m = QueryStreamResponse{} } | ||
@@ -811,9 +804,6 @@ func (m *QueryStreamSeriesChunks) GetChunks() []Chunk { | ||
|
||
type ExemplarQueryResponse struct { | ||
Timeseries []mimirpb.TimeSeries `protobuf:"bytes,1,rep,name=timeseries,proto3" json:"timeseries"` | ||
- | ||
- // Keep reference to buffer for unsafe references. | ||
- buffer mem.Buffer | ||
- mimirpb.BufferHolder | ||
- | ||
Timeseries []mimirpb.TimeSeries `protobuf:"bytes,1,rep,name=timeseries,proto3" json:"timeseries"` | ||
} | ||
|
||
func (m *ExemplarQueryResponse) Reset() { *m = ExemplarQueryResponse{} } | ||
@@ -1332,9 +1322,6 @@ func (m *MetricsForLabelMatchersRequest) GetMatchersSet() []*LabelMatchers { | ||
@@ -1330,9 +1321,6 @@ func (m *MetricsForLabelMatchersRequest) GetMatchersSet() []*LabelMatchers { | ||
} | ||
|
||
type MetricsForLabelMatchersResponse struct { | ||
Metric []*mimirpb.Metric `protobuf:"bytes,1,rep,name=metric,proto3" json:"metric,omitempty"` | ||
- | ||
- // Keep reference to buffer for unsafe references. | ||
- buffer mem.Buffer | ||
- mimirpb.BufferHolder | ||
- | ||
Metric []*mimirpb.Metric `protobuf:"bytes,1,rep,name=metric,proto3" json:"metric,omitempty"` | ||
} | ||
|
||
func (m *MetricsForLabelMatchersResponse) Reset() { *m = MetricsForLabelMatchersResponse{} } | ||
@@ -1483,9 +1470,6 @@ type ActiveSeriesResponse struct { | ||
// bucket_count is only used when the request type was NATIVE_HISTOGRAM_SERIES. | ||
// bucket_count contains the native histogram active buckets count for each series in "metric" above. | ||
BucketCount []uint64 `protobuf:"varint,2,rep,packed,name=bucket_count,json=bucketCount,proto3" json:"bucket_count,omitempty"` | ||
- | ||
- // Keep reference to buffer for unsafe references. | ||
- buffer mem.Buffer | ||
@@ -1478,9 +1466,6 @@ func (m *MetricsMetadataResponse) GetMetadata() []*mimirpb.MetricMetadata { | ||
} | ||
|
||
func (m *ActiveSeriesResponse) Reset() { *m = ActiveSeriesResponse{} } | ||
type ActiveSeriesResponse struct { | ||
- // Keep reference to buffer for unsafe references. | ||
- mimirpb.BufferHolder | ||
- | ||
Metric []*mimirpb.Metric `protobuf:"bytes,1,rep,name=metric,proto3" json:"metric,omitempty"` | ||
// bucket_count is only used when the request type was NATIVE_HISTOGRAM_SERIES. | ||
// bucket_count contains the native histogram active buckets count for each series in "metric" above. |
Oops, something went wrong.