Skip to content

Commit a7cb63f

Browse files
author
Github Actions
committed
chore: Update protofetch.toml
1 parent 1b54811 commit a7cb63f

File tree

199 files changed

+2708
-1637
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

199 files changed

+2708
-1637
lines changed

proto/com/coralogix/catalog/v1/action_service.proto

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,47 @@ import "com/coralogix/catalog/v1/service.proto";
88
import "google/protobuf/wrappers.proto";
99
import "com/coralogix/catalog/v1/span_kind.proto";
1010

11+
import "com/coralogix/common/v1/audit_log.proto";
12+
import "google/api/annotations.proto";
13+
import "protoc-gen-openapiv2/options/annotations.proto";
14+
import "google/api/http.proto";
15+
1116
message GetServiceActionsRequest {
17+
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
18+
json_schema: {
19+
title: "Get Service Actions Request"
20+
description: "This data structure represents a request to Get Service Actions."
21+
required: [
22+
"time_range",
23+
"service_name",
24+
"span_kinds"
25+
]
26+
}
27+
external_docs: {}
28+
};
1229
TimeRange time_range = 1;
1330
google.protobuf.StringValue service_name = 2;
1431
repeated ApmFilter service_catalog_filters = 3;
1532
repeated SpanKind span_kinds = 4;
1633
}
1734

1835
message GetServiceActionsResponse {
36+
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
37+
json_schema: {
38+
title: "Get Service Actions Response"
39+
description: "This data structure represents a response to Get Service Actions."
40+
required: []
41+
}
42+
external_docs: {}
43+
};
1944
repeated ServiceAction service_actions = 1;
2045
}
2146

2247
service ActionService {
2348
rpc GetServiceActions(GetServiceActionsRequest) returns (GetServiceActionsResponse) {
24-
option (com.coralogixapis.apm.common.v2.audit_log_description).description = "get service actions";
49+
option (google.api.http) = {
50+
get: "/v1/service-catalog/service-actions",
51+
};
52+
option (com.coralogix.common.v1.audit_log_description).description = "get service actions";
2553
}
2654
}

proto/com/coralogix/catalog/v1/service.proto

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,17 @@ message ServiceData{
7272
google.protobuf.Int64Value outgoing_requests_with_offset = 23;
7373
google.protobuf.Int64Value incoming_requests_with_offset = 24;
7474
google.protobuf.Int64Value internal_requests_with_offset = 25;
75+
google.protobuf.Int64Value internal_errors = 37;
76+
google.protobuf.Int64Value internal_errors_rate = 38;
77+
google.protobuf.Int64Value internal_errors_with_offset = 39;
78+
google.protobuf.Int64Value internal_errors_rate_with_offset = 40;
79+
google.protobuf.Int64Value outgoing_errors = 41;
80+
google.protobuf.Int64Value outgoing_errors_rate = 42;
81+
google.protobuf.Int64Value outgoing_errors_with_offset = 43;
82+
google.protobuf.Int64Value outgoing_errors_rate_with_offset = 44;
83+
google.protobuf.FloatValue apdex_average = 45;
84+
google.protobuf.FloatValue apdex_average_with_offset = 46;
85+
google.protobuf.FloatValue apdex_last_step = 47;
86+
google.protobuf.FloatValue apdex_last_step_with_offset = 48;
7587
}
7688
}
Lines changed: 180 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,114 +1,276 @@
11
syntax = "proto3";
22
package com.coralogix.catalog.v1;
33

4-
import "com/coralogixapis/apm/common/v2/audit_log.proto";
54
import "com/coralogix/catalog/v1/common.proto";
65
import "com/coralogix/catalog/v1/service.proto";
76
import "com/coralogix/catalog/v1/service_query.proto";
8-
import "google/protobuf/wrappers.proto";
97
import "com/coralogix/schemastore/v1/tracing_fields.proto";
10-
import "com/coralogixapis/service_catalog/v1/apm_source.proto";
118
import "com/coralogixapis/alerts/v3/alert_def.proto";
129
import "com/coralogixapis/apm/common/v2/alert_meta_label.proto";
13-
import "com/coralogixapis/service_catalog/v1/repeated_widgets.proto";
10+
import "com/coralogixapis/apm/common/v2/audit_log.proto";
1411
import "com/coralogixapis/apm/widgets/v1/stat.proto";
12+
import "com/coralogixapis/service_catalog/v1/apm_source.proto";
13+
import "com/coralogixapis/service_catalog/v1/repeated_widgets.proto";
14+
import "google/protobuf/wrappers.proto";
15+
16+
import "com/coralogix/common/v1/audit_log.proto";
17+
import "google/api/annotations.proto";
18+
import "protoc-gen-openapiv2/options/annotations.proto";
19+
import "google/api/http.proto";
1520

1621
message GetServicesRequest {
22+
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
23+
json_schema: {
24+
title: "Get Services Request"
25+
description: "This data structure represents a request to Get Services."
26+
required: [
27+
"query"
28+
]
29+
}
30+
external_docs: {}
31+
};
1732
ServiceQuery query = 1;
1833
}
1934

2035
message GetServicesResponse {
36+
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
37+
json_schema: {
38+
title: "Get Services Response"
39+
description: "This data structure represents a response to Get Services."
40+
required: [
41+
"query"
42+
]
43+
}
44+
external_docs: {}
45+
};
2146
repeated Service services = 1;
2247
}
2348

2449
message GetServiceRequest {
50+
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
51+
json_schema: {
52+
title: "Get Service Request"
53+
description: "This data structure represents a request to Get Service."
54+
required: [
55+
"service_id",
56+
"service_name",
57+
"time_range"
58+
]
59+
}
60+
external_docs: {}
61+
};
2562
google.protobuf.StringValue service_id = 1;
2663
google.protobuf.StringValue service_name = 2;
2764
TimeRange time_range = 3;
2865
repeated ApmFilter service_catalog_filters = 4;
2966
}
3067

3168
message GetServiceResponse {
69+
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
70+
json_schema: {
71+
title: "Get Service Response"
72+
description: "This data structure represents a response to Get Service."
73+
required: []
74+
}
75+
external_docs: {}
76+
};
3277
Service service = 1;
3378
}
3479

3580
message UpdateServiceCatalogFiltersRequest {
81+
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
82+
json_schema: {
83+
title: "Update Service Catalog Filters Request"
84+
description: "This data structure represents a request to Update Service Catalog Filters."
85+
required: [
86+
"service_catalog_filters",
87+
"apm_source"
88+
]
89+
}
90+
external_docs: {}
91+
};
3692
repeated ApmFilter service_catalog_filters = 1;
3793
com.coralogixapis.service_catalog.v1.ApmSource apm_source = 2;
3894
repeated com.coralogixapis.apm.common.v2.AlertMetaLabel alert_label_filters = 3;
3995
}
4096

4197
message UpdateServiceCatalogFiltersResponse {
98+
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
99+
json_schema: {
100+
title: "Update Service Catalog Filters Response"
101+
description: "This data structure represents a response to Update Service Catalog Filters."
102+
required: []
103+
}
104+
external_docs: {}
105+
};
42106
repeated ApmFilter service_catalog_filters = 1;
43107
com.coralogixapis.service_catalog.v1.ApmSource apm_source = 2;
44108
}
45109

46110
message GetServiceCatalogFiltersRequest {
111+
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
112+
json_schema: {
113+
title: "Get Service Catalog Filters Request"
114+
description: "This data structure represents a request to Get Service Catalog Filters."
115+
required: [
116+
"service_name",
117+
"time_range"
118+
]
119+
}
120+
external_docs: {}
121+
};
47122
google.protobuf.StringValue service_name = 1;
48123
com.coralogixapis.service_catalog.v1.ApmSource apm_source = 2;
49124
TimeRange time_range = 3;
50125
google.protobuf.BoolValue only_errors = 4;
51126
}
52127

53128
message GetServiceCatalogFiltersResponse {
129+
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
130+
json_schema: {
131+
title: "Get Service Catalog Filters Response"
132+
description: "This data structure represents a request to Get Service Catalog Filters."
133+
required: []
134+
}
135+
external_docs: {}
136+
};
54137
repeated ApmFilter service_catalog_filters = 1;
55138
com.coralogixapis.service_catalog.v1.ApmSource apm_source = 2;
56139
}
57140

58-
message GetServicesColumnsStreamRequest{
141+
message GetServicesColumnsStreamRequest {
142+
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
143+
json_schema: {
144+
title: "Get Service Catalog Columns Stream Request"
145+
description: "This data structure represents a request to Get Service Catalog Columns Stream."
146+
required: [
147+
"query"
148+
]
149+
}
150+
external_docs: {}
151+
};
59152
ServiceQuery query = 1;
60153
com.coralogixapis.service_catalog.v1.ApmSource apm_source = 2;
61154
}
62155

63-
message GetServicesColumnsStreamResponse{
156+
message GetServicesColumnsStreamResponse {
157+
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
158+
json_schema: {
159+
title: "Get Service Catalog Columns Stream Response"
160+
description: "This data structure represents a response to Get Service Catalog Columns Stream."
161+
required: []
162+
}
163+
external_docs: {}
164+
};
64165
repeated ServiceData services = 1;
65166
com.coralogixapis.service_catalog.v1.ApmSource apm_source = 2;
167+
google.protobuf.StringValue query = 3;
66168
}
67169

68-
message GetSpanMetricBucketsRequest {}
170+
message GetSpanMetricBucketsRequest {
171+
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
172+
json_schema: {
173+
title: "Get Span Metrics Buckets Request"
174+
description: "This data structure represents a request to Get span metrics buckets."
175+
required: [
176+
"service_name"
177+
]
178+
}
179+
external_docs: {}
180+
};
181+
google.protobuf.StringValue service_name = 1;
182+
}
69183

70184
message GetSpanMetricBucketsResponse {
185+
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
186+
json_schema: {
187+
title: "Get Span Metrics Buckets Request"
188+
description: "This data structure represents a request to Get span metrics buckets."
189+
required: []
190+
}
191+
external_docs: {}
192+
};
71193
repeated google.protobuf.StringValue metricBuckets = 1;
72194
}
73195

74196
message GetAffectedAlertsRequest {
197+
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
198+
json_schema: {
199+
title: "Get Affected Alerts Request"
200+
description: "This data structure represents a request to Get affected alerts."
201+
required: []
202+
}
203+
external_docs: {}
204+
};
75205
repeated ApmFilter service_catalog_filters = 1;
76206
repeated com.coralogixapis.apm.common.v2.AlertMetaLabel alert_label_filters = 2;
77207
}
78208

79209
message GetAffectedAlertsResponse {
210+
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
211+
json_schema: {
212+
title: "Get Affected Alerts Response"
213+
description: "This data structure represents a response to Get affected alerts."
214+
required: []
215+
}
216+
external_docs: {}
217+
};
80218
repeated com.coralogixapis.alerts.v3.AlertDef alerts = 1;
81219
}
82220

83221
service ServiceCatalogService {
84222
rpc GetServices(GetServicesRequest) returns (GetServicesResponse) {
85-
option (com.coralogixapis.apm.common.v2.audit_log_description).description = "get services";
223+
option (google.api.http) = {
224+
get: "/v1/service-catalog/services",
225+
};
226+
option (com.coralogix.common.v1.audit_log_description).description = "get services";
86227
}
87228
rpc GetServicesColumnsStream(GetServicesColumnsStreamRequest) returns (stream GetServicesColumnsStreamResponse) {
88-
option (com.coralogixapis.apm.common.v2.audit_log_description).description = "get services column stream";
229+
option (google.api.http) = {
230+
get: "/v1/service-catalog/services/columns",
231+
};
232+
option (com.coralogix.common.v1.audit_log_description).description = "get services column stream";
89233
}
90234
rpc GetService(GetServiceRequest) returns (GetServiceResponse) {
91-
option (com.coralogixapis.apm.common.v2.audit_log_description).description = "get service";
235+
option (google.api.http) = {
236+
get: "/v1/service-catalog/services/service",
237+
};
238+
option (com.coralogix.common.v1.audit_log_description).description = "get service";
92239
}
93240

94241
rpc GetServiceCatalogFilters(GetServiceCatalogFiltersRequest) returns (GetServiceCatalogFiltersResponse) {
95-
option (com.coralogixapis.apm.common.v2.audit_log_description).description = "get service catalog filters";
242+
option (google.api.http) = {
243+
get: "/v1/service-catalog/services/filters",
244+
};
245+
option (com.coralogix.common.v1.audit_log_description).description = "get service catalog filters";
96246
}
97247

98248
rpc UpdateServiceCatalogFilters(UpdateServiceCatalogFiltersRequest) returns (UpdateServiceCatalogFiltersResponse) {
99-
option (com.coralogixapis.apm.common.v2.audit_log_description).description = "update service catalog filters";
249+
option (google.api.http) = {
250+
post: "/v1/service-catalog/services/filters",
251+
body: "*"
252+
};
253+
option (com.coralogix.common.v1.audit_log_description).description = "update service catalog filters";
100254
}
101255

102256
rpc GetTracingLabels(com.coralogix.schemastore.v1.TracingFieldsRequest) returns (com.coralogix.schemastore.v1.TracingFieldsResponse) {
103-
option (com.coralogixapis.apm.common.v2.audit_log_description).description = "get tracing labels under the limitation of cardinality";
257+
option (google.api.http) = {
258+
get: "/v1/service-catalog/tracing-labels",
259+
};
260+
option (com.coralogix.common.v1.audit_log_description).description = "get tracing labels under the limitation of cardinality";
104261
}
105262

106-
rpc GetSpanMetricBuckets(GetSpanMetricBucketsRequest) returns (GetSpanMetricBucketsResponse){
107-
option (com.coralogixapis.apm.common.v2.audit_log_description).description = "Get Span Metric Buckets";
263+
rpc GetSpanMetricBuckets(GetSpanMetricBucketsRequest) returns (GetSpanMetricBucketsResponse) {
264+
option (google.api.http) = {
265+
get: "/v1/service-catalog/span-metrics/buckets",
266+
};
267+
option (com.coralogix.common.v1.audit_log_description).description = "Get Span Metric Buckets";
108268
}
109269

110-
rpc GetAffectedAlerts(GetAffectedAlertsRequest) returns (GetAffectedAlertsResponse){
111-
option (com.coralogixapis.apm.common.v2.audit_log_description).description = "Get Affected Alerts By Dimension Change";
270+
rpc GetAffectedAlerts(GetAffectedAlertsRequest) returns (GetAffectedAlertsResponse) {
271+
option (google.api.http) = {
272+
get: "/v1/service-catalog/affected-alerts",
273+
};
274+
option (com.coralogix.common.v1.audit_log_description).description = "Get Affected Alerts By Dimension Change";
112275
}
113-
114276
}

0 commit comments

Comments
 (0)