Skip to content

Commit

Permalink
Revert cortex changes
Browse files Browse the repository at this point in the history
Signed-off-by: Filip Petkovski <[email protected]>
  • Loading branch information
fpetkovski committed Oct 22, 2022
1 parent 3d579b5 commit 07bf562
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 38 deletions.
1 change: 1 addition & 0 deletions internal/cortex/querier/queryrange/queryrange.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 26 additions & 26 deletions pkg/info/infopb/rpc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,47 +22,47 @@ option (gogoproto.goproto_sizecache_all) = false;

// Info represents the API that is responsible for gathering metadata about the all APIs supported by the component.
service Info {
// Info returns the metadata (Eg. LabelSets, Min/Max time) about all the APIs the component supports.
rpc Info(InfoRequest) returns (InfoResponse);
// Info returns the metadata (Eg. LabelSets, Min/Max time) about all the APIs the component supports.
rpc Info(InfoRequest) returns (InfoResponse);
}

message InfoRequest {}

message InfoResponse {
repeated ZLabelSet label_sets = 1 [(gogoproto.nullable) = false];
string ComponentType = 2;
repeated ZLabelSet label_sets = 1 [(gogoproto.nullable) = false];
string ComponentType = 2;

// StoreInfo holds the metadata related to Store API if exposed by the component otherwise it will be null.
StoreInfo store = 3;
// StoreInfo holds the metadata related to Store API if exposed by the component otherwise it will be null.
StoreInfo store = 3;

// RulesInfo holds the metadata related to Rules API if exposed by the component otherwise it will be null.
RulesInfo rules = 4;
// RulesInfo holds the metadata related to Rules API if exposed by the component otherwise it will be null.
RulesInfo rules = 4;

// MetricMetadataInfo holds the metadata related to Metadata API if exposed by the component otherwise it will be null.
MetricMetadataInfo metric_metadata = 5;
// MetricMetadataInfo holds the metadata related to Metadata API if exposed by the component otherwise it will be null.
MetricMetadataInfo metric_metadata = 5;

// TargetsInfo holds the metadata related to Targets API if exposed by the component otherwise it will be null.
TargetsInfo targets = 6;
// TargetsInfo holds the metadata related to Targets API if exposed by the component otherwise it will be null.
TargetsInfo targets = 6;

// ExemplarsInfo holds the metadata related to Exemplars API if exposed by the component otherwise it will be null.
ExemplarsInfo exemplars = 7;
// ExemplarsInfo holds the metadata related to Exemplars API if exposed by the component otherwise it will be null.
ExemplarsInfo exemplars = 7;

// QueryAPIInfo holds the metadata related to Query API if exposed by the component, otherwise it will be null.
QueryAPIInfo query = 8;
// QueryAPIInfo holds the metadata related to Query API if exposed by the component, otherwise it will be null.
QueryAPIInfo query = 8;
}

// StoreInfo holds the metadata related to Store API exposed by the component.
message StoreInfo {
int64 min_time = 1;
int64 max_time = 2;
bool supports_sharding = 3;

// TODO(fpetkovski): Remove in v1.0
bool sends_sorted_series = 4;
// TODO(fpetkovski): Remove in v1.0
bool sends_sorted_series_without_labels = 5;
int64 min_time = 1;
int64 max_time = 2;
bool supports_sharding = 3;
// TODO(fpetkovski): Remove in v1.0
bool sends_sorted_series = 4;
// TODO(fpetkovski): Remove in v1.0
bool sends_sorted_series_without_labels = 5;
}


// RulesInfo holds the metadata related to Rules API exposed by the component.
message RulesInfo {
}
Expand All @@ -77,8 +77,8 @@ message TargetsInfo {

// ExemplarsInfo holds the metadata related to Exemplars API exposed by the component.
message ExemplarsInfo {
int64 min_time = 1;
int64 max_time = 2;
int64 min_time = 1;
int64 max_time = 2;
}

// QueryInfo holds the metadata related to Query API exposed by the component.
Expand Down
22 changes: 11 additions & 11 deletions pkg/rules/rulespb/rpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/store/storepb/types.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 07bf562

Please sign in to comment.