From b561375576d97a061e4bc3bf30f0f1ae66e2a436 Mon Sep 17 00:00:00 2001 From: mrproliu <741550557@qq.com> Date: Wed, 23 Nov 2022 11:41:35 +0800 Subject: [PATCH] Remove unnessary protocol import (#80) --- browser/BrowserPerf.proto | 1 - browser/BrowserPerfCompat.proto | 1 - ebpf/profiling/Profile.proto | 1 - event/Event.proto | 1 - language-agent/CLRMetricCompat.proto | 1 - language-agent/ConfigurationDiscoveryService.proto | 1 - language-agent/JVMMetricCompat.proto | 1 - language-agent/Meter.proto | 1 - language-agent/MeterCompat.proto | 1 - language-agent/TracingCompat.proto | 1 - management/ManagementCompat.proto | 1 - profile/Profile.proto | 1 - profile/ProfileCompat.proto | 1 - 13 files changed, 13 deletions(-) diff --git a/browser/BrowserPerf.proto b/browser/BrowserPerf.proto index c337ca6..a2bf443 100644 --- a/browser/BrowserPerf.proto +++ b/browser/BrowserPerf.proto @@ -25,7 +25,6 @@ option java_package = "org.apache.skywalking.apm.network.language.agent.v3"; option csharp_namespace = "SkyWalking.NetworkProtocol.V3"; option go_package = "skywalking.apache.org/repo/goapi/collect/language/agent/v3"; -import "common/Common.proto"; import "common/Command.proto"; // Collect performance raw data from browser. diff --git a/browser/BrowserPerfCompat.proto b/browser/BrowserPerfCompat.proto index 9b32301..aaebebf 100644 --- a/browser/BrowserPerfCompat.proto +++ b/browser/BrowserPerfCompat.proto @@ -24,7 +24,6 @@ option csharp_namespace = "SkyWalking.NetworkProtocol.V3.Compat"; option go_package = "skywalking.apache.org/repo/goapi/collect/language/agent/v3/compat"; option deprecated = true; -import "common/Common.proto"; import "common/Command.proto"; import "browser/BrowserPerf.proto"; diff --git a/ebpf/profiling/Profile.proto b/ebpf/profiling/Profile.proto index c1b6149..74a1843 100644 --- a/ebpf/profiling/Profile.proto +++ b/ebpf/profiling/Profile.proto @@ -24,7 +24,6 @@ option java_multiple_files = true; option java_package = "org.apache.skywalking.apm.network.ebpf.profiling.v3"; option go_package = "skywalking.apache.org/repo/goapi/collect/ebpf/profiling/v3"; -import "common/Common.proto"; import "common/Command.proto"; // Define the Rover Process profiling task and upload profiling data. diff --git a/event/Event.proto b/event/Event.proto index 7d9d665..86da34e 100644 --- a/event/Event.proto +++ b/event/Event.proto @@ -25,7 +25,6 @@ option java_package = "org.apache.skywalking.apm.network.event.v3"; option csharp_namespace = "SkyWalking.NetworkProtocol.V3"; option go_package = "skywalking.apache.org/repo/goapi/collect/event/v3"; -import "common/Common.proto"; import "common/Command.proto"; service EventService { diff --git a/language-agent/CLRMetricCompat.proto b/language-agent/CLRMetricCompat.proto index e3a2811..992c428 100644 --- a/language-agent/CLRMetricCompat.proto +++ b/language-agent/CLRMetricCompat.proto @@ -24,7 +24,6 @@ option csharp_namespace = "SkyWalking.NetworkProtocol.V3.Compat"; option go_package = "skywalking.apache.org/repo/goapi/collect/language/agent/v3/compat"; option deprecated = true; -import "common/Common.proto"; import "common/Command.proto"; import "language-agent/CLRMetric.proto"; diff --git a/language-agent/ConfigurationDiscoveryService.proto b/language-agent/ConfigurationDiscoveryService.proto index 305fb3e..f52c7e1 100644 --- a/language-agent/ConfigurationDiscoveryService.proto +++ b/language-agent/ConfigurationDiscoveryService.proto @@ -25,7 +25,6 @@ option java_package = "org.apache.skywalking.apm.network.language.agent.v3"; option csharp_namespace = "SkyWalking.NetworkProtocol.V3"; option go_package = "skywalking.apache.org/repo/goapi/collect/agent/configuration/v3"; -import "common/Common.proto"; import "common/Command.proto"; // Fetch the latest dynamic configurations of the service. diff --git a/language-agent/JVMMetricCompat.proto b/language-agent/JVMMetricCompat.proto index df4366e..ec4ec6d 100644 --- a/language-agent/JVMMetricCompat.proto +++ b/language-agent/JVMMetricCompat.proto @@ -24,7 +24,6 @@ option csharp_namespace = "SkyWalking.NetworkProtocol.V3.Compat"; option go_package = "skywalking.apache.org/repo/goapi/collect/language/agent/v3/compat"; option deprecated = true; -import "common/Common.proto"; import "common/Command.proto"; import "language-agent/JVMMetric.proto"; diff --git a/language-agent/Meter.proto b/language-agent/Meter.proto index 0a71e1f..94cccdb 100644 --- a/language-agent/Meter.proto +++ b/language-agent/Meter.proto @@ -24,7 +24,6 @@ option java_multiple_files = true; option java_package = "org.apache.skywalking.apm.network.language.agent.v3"; option go_package = "skywalking.apache.org/repo/goapi/collect/language/agent/v3"; -import "common/Common.proto"; import "common/Command.proto"; service MeterReportService { diff --git a/language-agent/MeterCompat.proto b/language-agent/MeterCompat.proto index fdb4e7b..f8b1857 100644 --- a/language-agent/MeterCompat.proto +++ b/language-agent/MeterCompat.proto @@ -24,7 +24,6 @@ option go_package = "skywalking.apache.org/repo/goapi/collect/language/agent/v3/ option csharp_namespace = "SkyWalking.NetworkProtocol.V3.Compat"; option deprecated = true; -import "common/Common.proto"; import "common/Command.proto"; import "language-agent/Meter.proto"; diff --git a/language-agent/TracingCompat.proto b/language-agent/TracingCompat.proto index f9ec2e6..d632345 100644 --- a/language-agent/TracingCompat.proto +++ b/language-agent/TracingCompat.proto @@ -24,7 +24,6 @@ option csharp_namespace = "SkyWalking.NetworkProtocol.V3.Compat"; option go_package = "skywalking.apache.org/repo/goapi/collect/language/agent/v3/compat"; option deprecated = true; -import "common/Common.proto"; import "common/Command.proto"; import "language-agent/Tracing.proto"; diff --git a/management/ManagementCompat.proto b/management/ManagementCompat.proto index 219c9f4..29ef67f 100644 --- a/management/ManagementCompat.proto +++ b/management/ManagementCompat.proto @@ -24,7 +24,6 @@ option csharp_namespace = "SkyWalking.NetworkProtocol.V3.Compat"; option go_package = "skywalking.apache.org/repo/goapi/collect/management/v3/compat"; option deprecated = true; -import "common/Common.proto"; import "common/Command.proto"; import "management/Management.proto"; diff --git a/profile/Profile.proto b/profile/Profile.proto index e17f1e5..3abdb3a 100644 --- a/profile/Profile.proto +++ b/profile/Profile.proto @@ -25,7 +25,6 @@ option java_package = "org.apache.skywalking.apm.network.language.profile.v3"; option csharp_namespace = "SkyWalking.NetworkProtocol.V3"; option go_package = "skywalking.apache.org/repo/goapi/collect/language/profile/v3"; -import "common/Common.proto"; import "common/Command.proto"; service ProfileTask { diff --git a/profile/ProfileCompat.proto b/profile/ProfileCompat.proto index 119a521..9cbf331 100644 --- a/profile/ProfileCompat.proto +++ b/profile/ProfileCompat.proto @@ -24,7 +24,6 @@ option csharp_namespace = "SkyWalking.NetworkProtocol.V3.Compat"; option go_package = "skywalking.apache.org/repo/goapi/collect/language/profile/v3/compat"; option deprecated = true; -import "common/Common.proto"; import "common/Command.proto"; import "profile/Profile.proto";