Skip to content

Commit

Permalink
chore: Update protofetch.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Github Actions committed Feb 17, 2025
1 parent 1b54811 commit a7cb63f
Show file tree
Hide file tree
Showing 199 changed files with 2,708 additions and 1,637 deletions.
30 changes: 29 additions & 1 deletion proto/com/coralogix/catalog/v1/action_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,47 @@ import "com/coralogix/catalog/v1/service.proto";
import "google/protobuf/wrappers.proto";
import "com/coralogix/catalog/v1/span_kind.proto";

import "com/coralogix/common/v1/audit_log.proto";
import "google/api/annotations.proto";
import "protoc-gen-openapiv2/options/annotations.proto";
import "google/api/http.proto";

message GetServiceActionsRequest {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {
title: "Get Service Actions Request"
description: "This data structure represents a request to Get Service Actions."
required: [
"time_range",
"service_name",
"span_kinds"
]
}
external_docs: {}
};
TimeRange time_range = 1;
google.protobuf.StringValue service_name = 2;
repeated ApmFilter service_catalog_filters = 3;
repeated SpanKind span_kinds = 4;
}

message GetServiceActionsResponse {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {
title: "Get Service Actions Response"
description: "This data structure represents a response to Get Service Actions."
required: []
}
external_docs: {}
};
repeated ServiceAction service_actions = 1;
}

service ActionService {
rpc GetServiceActions(GetServiceActionsRequest) returns (GetServiceActionsResponse) {
option (com.coralogixapis.apm.common.v2.audit_log_description).description = "get service actions";
option (google.api.http) = {
get: "/v1/service-catalog/service-actions",
};
option (com.coralogix.common.v1.audit_log_description).description = "get service actions";
}
}
12 changes: 12 additions & 0 deletions proto/com/coralogix/catalog/v1/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,17 @@ message ServiceData{
google.protobuf.Int64Value outgoing_requests_with_offset = 23;
google.protobuf.Int64Value incoming_requests_with_offset = 24;
google.protobuf.Int64Value internal_requests_with_offset = 25;
google.protobuf.Int64Value internal_errors = 37;
google.protobuf.Int64Value internal_errors_rate = 38;
google.protobuf.Int64Value internal_errors_with_offset = 39;
google.protobuf.Int64Value internal_errors_rate_with_offset = 40;
google.protobuf.Int64Value outgoing_errors = 41;
google.protobuf.Int64Value outgoing_errors_rate = 42;
google.protobuf.Int64Value outgoing_errors_with_offset = 43;
google.protobuf.Int64Value outgoing_errors_rate_with_offset = 44;
google.protobuf.FloatValue apdex_average = 45;
google.protobuf.FloatValue apdex_average_with_offset = 46;
google.protobuf.FloatValue apdex_last_step = 47;
google.protobuf.FloatValue apdex_last_step_with_offset = 48;
}
}
198 changes: 180 additions & 18 deletions proto/com/coralogix/catalog/v1/service_catalog_sevice.proto
Original file line number Diff line number Diff line change
@@ -1,114 +1,276 @@
syntax = "proto3";
package com.coralogix.catalog.v1;

import "com/coralogixapis/apm/common/v2/audit_log.proto";
import "com/coralogix/catalog/v1/common.proto";
import "com/coralogix/catalog/v1/service.proto";
import "com/coralogix/catalog/v1/service_query.proto";
import "google/protobuf/wrappers.proto";
import "com/coralogix/schemastore/v1/tracing_fields.proto";
import "com/coralogixapis/service_catalog/v1/apm_source.proto";
import "com/coralogixapis/alerts/v3/alert_def.proto";
import "com/coralogixapis/apm/common/v2/alert_meta_label.proto";
import "com/coralogixapis/service_catalog/v1/repeated_widgets.proto";
import "com/coralogixapis/apm/common/v2/audit_log.proto";
import "com/coralogixapis/apm/widgets/v1/stat.proto";
import "com/coralogixapis/service_catalog/v1/apm_source.proto";
import "com/coralogixapis/service_catalog/v1/repeated_widgets.proto";
import "google/protobuf/wrappers.proto";

import "com/coralogix/common/v1/audit_log.proto";
import "google/api/annotations.proto";
import "protoc-gen-openapiv2/options/annotations.proto";
import "google/api/http.proto";

message GetServicesRequest {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {
title: "Get Services Request"
description: "This data structure represents a request to Get Services."
required: [
"query"
]
}
external_docs: {}
};
ServiceQuery query = 1;
}

message GetServicesResponse {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {
title: "Get Services Response"
description: "This data structure represents a response to Get Services."
required: [
"query"
]
}
external_docs: {}
};
repeated Service services = 1;
}

message GetServiceRequest {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {
title: "Get Service Request"
description: "This data structure represents a request to Get Service."
required: [
"service_id",
"service_name",
"time_range"
]
}
external_docs: {}
};
google.protobuf.StringValue service_id = 1;
google.protobuf.StringValue service_name = 2;
TimeRange time_range = 3;
repeated ApmFilter service_catalog_filters = 4;
}

message GetServiceResponse {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {
title: "Get Service Response"
description: "This data structure represents a response to Get Service."
required: []
}
external_docs: {}
};
Service service = 1;
}

message UpdateServiceCatalogFiltersRequest {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {
title: "Update Service Catalog Filters Request"
description: "This data structure represents a request to Update Service Catalog Filters."
required: [
"service_catalog_filters",
"apm_source"
]
}
external_docs: {}
};
repeated ApmFilter service_catalog_filters = 1;
com.coralogixapis.service_catalog.v1.ApmSource apm_source = 2;
repeated com.coralogixapis.apm.common.v2.AlertMetaLabel alert_label_filters = 3;
}

message UpdateServiceCatalogFiltersResponse {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {
title: "Update Service Catalog Filters Response"
description: "This data structure represents a response to Update Service Catalog Filters."
required: []
}
external_docs: {}
};
repeated ApmFilter service_catalog_filters = 1;
com.coralogixapis.service_catalog.v1.ApmSource apm_source = 2;
}

message GetServiceCatalogFiltersRequest {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {
title: "Get Service Catalog Filters Request"
description: "This data structure represents a request to Get Service Catalog Filters."
required: [
"service_name",
"time_range"
]
}
external_docs: {}
};
google.protobuf.StringValue service_name = 1;
com.coralogixapis.service_catalog.v1.ApmSource apm_source = 2;
TimeRange time_range = 3;
google.protobuf.BoolValue only_errors = 4;
}

message GetServiceCatalogFiltersResponse {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {
title: "Get Service Catalog Filters Response"
description: "This data structure represents a request to Get Service Catalog Filters."
required: []
}
external_docs: {}
};
repeated ApmFilter service_catalog_filters = 1;
com.coralogixapis.service_catalog.v1.ApmSource apm_source = 2;
}

message GetServicesColumnsStreamRequest{
message GetServicesColumnsStreamRequest {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {
title: "Get Service Catalog Columns Stream Request"
description: "This data structure represents a request to Get Service Catalog Columns Stream."
required: [
"query"
]
}
external_docs: {}
};
ServiceQuery query = 1;
com.coralogixapis.service_catalog.v1.ApmSource apm_source = 2;
}

message GetServicesColumnsStreamResponse{
message GetServicesColumnsStreamResponse {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {
title: "Get Service Catalog Columns Stream Response"
description: "This data structure represents a response to Get Service Catalog Columns Stream."
required: []
}
external_docs: {}
};
repeated ServiceData services = 1;
com.coralogixapis.service_catalog.v1.ApmSource apm_source = 2;
google.protobuf.StringValue query = 3;
}

message GetSpanMetricBucketsRequest {}
message GetSpanMetricBucketsRequest {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {
title: "Get Span Metrics Buckets Request"
description: "This data structure represents a request to Get span metrics buckets."
required: [
"service_name"
]
}
external_docs: {}
};
google.protobuf.StringValue service_name = 1;
}

message GetSpanMetricBucketsResponse {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {
title: "Get Span Metrics Buckets Request"
description: "This data structure represents a request to Get span metrics buckets."
required: []
}
external_docs: {}
};
repeated google.protobuf.StringValue metricBuckets = 1;
}

message GetAffectedAlertsRequest {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {
title: "Get Affected Alerts Request"
description: "This data structure represents a request to Get affected alerts."
required: []
}
external_docs: {}
};
repeated ApmFilter service_catalog_filters = 1;
repeated com.coralogixapis.apm.common.v2.AlertMetaLabel alert_label_filters = 2;
}

message GetAffectedAlertsResponse {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {
title: "Get Affected Alerts Response"
description: "This data structure represents a response to Get affected alerts."
required: []
}
external_docs: {}
};
repeated com.coralogixapis.alerts.v3.AlertDef alerts = 1;
}

service ServiceCatalogService {
rpc GetServices(GetServicesRequest) returns (GetServicesResponse) {
option (com.coralogixapis.apm.common.v2.audit_log_description).description = "get services";
option (google.api.http) = {
get: "/v1/service-catalog/services",
};
option (com.coralogix.common.v1.audit_log_description).description = "get services";
}
rpc GetServicesColumnsStream(GetServicesColumnsStreamRequest) returns (stream GetServicesColumnsStreamResponse) {
option (com.coralogixapis.apm.common.v2.audit_log_description).description = "get services column stream";
option (google.api.http) = {
get: "/v1/service-catalog/services/columns",
};
option (com.coralogix.common.v1.audit_log_description).description = "get services column stream";
}
rpc GetService(GetServiceRequest) returns (GetServiceResponse) {
option (com.coralogixapis.apm.common.v2.audit_log_description).description = "get service";
option (google.api.http) = {
get: "/v1/service-catalog/services/service",
};
option (com.coralogix.common.v1.audit_log_description).description = "get service";
}

rpc GetServiceCatalogFilters(GetServiceCatalogFiltersRequest) returns (GetServiceCatalogFiltersResponse) {
option (com.coralogixapis.apm.common.v2.audit_log_description).description = "get service catalog filters";
option (google.api.http) = {
get: "/v1/service-catalog/services/filters",
};
option (com.coralogix.common.v1.audit_log_description).description = "get service catalog filters";
}

rpc UpdateServiceCatalogFilters(UpdateServiceCatalogFiltersRequest) returns (UpdateServiceCatalogFiltersResponse) {
option (com.coralogixapis.apm.common.v2.audit_log_description).description = "update service catalog filters";
option (google.api.http) = {
post: "/v1/service-catalog/services/filters",
body: "*"
};
option (com.coralogix.common.v1.audit_log_description).description = "update service catalog filters";
}

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

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

rpc GetAffectedAlerts(GetAffectedAlertsRequest) returns (GetAffectedAlertsResponse){
option (com.coralogixapis.apm.common.v2.audit_log_description).description = "Get Affected Alerts By Dimension Change";
rpc GetAffectedAlerts(GetAffectedAlertsRequest) returns (GetAffectedAlertsResponse) {
option (google.api.http) = {
get: "/v1/service-catalog/affected-alerts",
};
option (com.coralogix.common.v1.audit_log_description).description = "Get Affected Alerts By Dimension Change";
}

}
Loading

0 comments on commit a7cb63f

Please sign in to comment.