This is an automated email from the ASF dual-hosted git repository.
sunnianjun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 1ef010dabe4 Remove AdvisorDefinitionService (#22996)
1ef010dabe4 is described below
commit 1ef010dabe4bf50d9e4f346f2335a7971c418d33
Author: Liang Zhang <[email protected]>
AuthorDate: Tue Dec 20 20:47:11 2022 +0800
Remove AdvisorDefinitionService (#22996)
---
.../spi/advisor/AdvisorDefinitionService.java | 43 -------------------
.../plugin/loader/AdvisorConfigurationLoader.java | 13 ++++--
.../base/BaseLoggingAdvisorDefinitionService.java | 50 ----------------------
...here.agent.spi.advisor.AdvisorDefinitionService | 18 --------
.../PrometheusAdvisorDefinitionService.java | 50 ----------------------
...here.agent.spi.advisor.AdvisorDefinitionService | 18 --------
.../PrometheusAdvisorDefinitionServiceTest.java | 31 --------------
.../jaeger/JaegerAdvisorDefinitionService.java | 50 ----------------------
...here.agent.spi.advisor.AdvisorDefinitionService | 18 --------
.../jaeger/JaegerAdvisorDefinitionServiceTest.java | 31 --------------
...enTelemetryTracingAdvisorDefinitionService.java | 50 ----------------------
...here.agent.spi.advisor.AdvisorDefinitionService | 18 --------
...lemetryTracingAdvisorDefinitionServiceTest.java | 31 --------------
.../OpenTracingAdvisorDefinitionService.java | 50 ----------------------
...here.agent.spi.advisor.AdvisorDefinitionService | 18 --------
.../OpenTracingAdvisorDefinitionServiceTest.java | 31 --------------
.../zipkin/ZipkinAdvisorDefinitionService.java | 50 ----------------------
...here.agent.spi.advisor.AdvisorDefinitionService | 18 --------
.../zipkin/ZipkinAdvisorDefinitionServiceTest.java | 31 --------------
docs/document/content/dev-manual/agent.cn.md | 21 ---------
docs/document/content/dev-manual/agent.en.md | 21 ---------
21 files changed, 10 insertions(+), 651 deletions(-)
diff --git
a/agent/api/src/main/java/org/apache/shardingsphere/agent/spi/advisor/AdvisorDefinitionService.java
b/agent/api/src/main/java/org/apache/shardingsphere/agent/spi/advisor/AdvisorDefinitionService.java
deleted file mode 100644
index 9640e4b2a23..00000000000
---
a/agent/api/src/main/java/org/apache/shardingsphere/agent/spi/advisor/AdvisorDefinitionService.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.agent.spi.advisor;
-
-import org.apache.shardingsphere.agent.config.advisor.AdvisorConfiguration;
-import org.apache.shardingsphere.agent.spi.AgentSPI;
-
-import java.util.Collection;
-
-/**
- * Advisor definition service.
- */
-public interface AdvisorDefinitionService extends AgentSPI {
-
- /**
- * Get proxy advisors configuration.
- *
- * @return proxy advisor configurations
- */
- Collection<AdvisorConfiguration> getProxyAdvisorConfigurations();
-
- /**
- * Get JDBC advisors configuration.
- *
- * @return JDBC advisor configurations
- */
- Collection<AdvisorConfiguration> getJDBCAdvisorConfigurations();
-}
diff --git
a/agent/core/src/main/java/org/apache/shardingsphere/agent/core/plugin/loader/AdvisorConfigurationLoader.java
b/agent/core/src/main/java/org/apache/shardingsphere/agent/core/plugin/loader/AdvisorConfigurationLoader.java
index 8b5b66dd52d..c28b7a116cd 100644
---
a/agent/core/src/main/java/org/apache/shardingsphere/agent/core/plugin/loader/AdvisorConfigurationLoader.java
+++
b/agent/core/src/main/java/org/apache/shardingsphere/agent/core/plugin/loader/AdvisorConfigurationLoader.java
@@ -23,8 +23,10 @@ import lombok.NoArgsConstructor;
import org.apache.shardingsphere.agent.config.advisor.AdvisorConfiguration;
import org.apache.shardingsphere.agent.core.classloader.AgentClassLoader;
import org.apache.shardingsphere.agent.core.plugin.PluginJar;
+import
org.apache.shardingsphere.agent.core.plugin.yaml.loader.YamlAdvisorsConfigurationLoader;
+import
org.apache.shardingsphere.agent.core.plugin.yaml.swapper.YamlAdvisorsConfigurationSwapper;
import org.apache.shardingsphere.agent.core.spi.PluginServiceLoader;
-import org.apache.shardingsphere.agent.spi.advisor.AdvisorDefinitionService;
+import org.apache.shardingsphere.agent.spi.plugin.PluginBootService;
import java.util.Collection;
import java.util.HashMap;
@@ -38,6 +40,10 @@ import java.util.stream.Collectors;
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public final class AdvisorConfigurationLoader {
+ private static final YamlAdvisorsConfigurationLoader LOADER = new
YamlAdvisorsConfigurationLoader();
+
+ private static final YamlAdvisorsConfigurationSwapper SWAPPER = new
YamlAdvisorsConfigurationSwapper();
+
/**
* Load advisor configurations.
*
@@ -49,9 +55,10 @@ public final class AdvisorConfigurationLoader {
public static Map<String, AdvisorConfiguration> load(final
Collection<PluginJar> pluginJars, final Collection<String> pluginTypes, final
boolean isEnhancedForProxy) {
Map<String, AdvisorConfiguration> result = new HashMap<>();
AgentClassLoader.init(pluginJars);
- for (AdvisorDefinitionService each :
PluginServiceLoader.newServiceInstances(AdvisorDefinitionService.class,
AgentClassLoader.getClassLoader())) {
+ for (PluginBootService each :
PluginServiceLoader.newServiceInstances(PluginBootService.class,
AgentClassLoader.getClassLoader())) {
if (pluginTypes.contains(each.getType())) {
- Collection<AdvisorConfiguration> advisorConfigs =
isEnhancedForProxy ? each.getProxyAdvisorConfigurations() :
each.getJDBCAdvisorConfigurations();
+ String resourceFile = String.join("/", "",
each.getType().toLowerCase(), (isEnhancedForProxy ? "proxy" : "jdbc") +
"-advisors.yaml");
+ Collection<AdvisorConfiguration> advisorConfigs =
SWAPPER.swapToObject(LOADER.load(each.getClass().getResourceAsStream(resourceFile)),
each.getType());
result.putAll(advisorConfigs.stream().collect(Collectors.toMap(AdvisorConfiguration::getTargetClassName,
Function.identity())));
}
}
diff --git
a/agent/plugins/logging/base/src/main/java/org/apache/shardingsphere/agent/plugin/logging/base/BaseLoggingAdvisorDefinitionService.java
b/agent/plugins/logging/base/src/main/java/org/apache/shardingsphere/agent/plugin/logging/base/BaseLoggingAdvisorDefinitionService.java
deleted file mode 100644
index c56e6c25cf3..00000000000
---
a/agent/plugins/logging/base/src/main/java/org/apache/shardingsphere/agent/plugin/logging/base/BaseLoggingAdvisorDefinitionService.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.agent.plugin.logging.base;
-
-import org.apache.shardingsphere.agent.config.advisor.AdvisorConfiguration;
-import
org.apache.shardingsphere.agent.core.plugin.yaml.loader.YamlAdvisorsConfigurationLoader;
-import
org.apache.shardingsphere.agent.core.plugin.yaml.swapper.YamlAdvisorsConfigurationSwapper;
-import org.apache.shardingsphere.agent.spi.advisor.AdvisorDefinitionService;
-
-import java.util.Collection;
-
-/**
- * Base logging advisor definition service.
- */
-public final class BaseLoggingAdvisorDefinitionService implements
AdvisorDefinitionService {
-
- private final YamlAdvisorsConfigurationLoader loader = new
YamlAdvisorsConfigurationLoader();
-
- private final YamlAdvisorsConfigurationSwapper swapper = new
YamlAdvisorsConfigurationSwapper();
-
- @Override
- public Collection<AdvisorConfiguration> getProxyAdvisorConfigurations() {
- return
swapper.swapToObject(loader.load(getClass().getResourceAsStream("/" +
getType().toLowerCase() + "/proxy-advisors.yaml")), getType());
- }
-
- @Override
- public Collection<AdvisorConfiguration> getJDBCAdvisorConfigurations() {
- return
swapper.swapToObject(loader.load(getClass().getResourceAsStream("/" +
getType().toLowerCase() + "/jdbc-advisors.yaml")), getType());
- }
-
- @Override
- public String getType() {
- return "BaseLogging";
- }
-}
diff --git
a/agent/plugins/logging/base/src/main/resources/META-INF/services/org.apache.shardingsphere.agent.spi.advisor.AdvisorDefinitionService
b/agent/plugins/logging/base/src/main/resources/META-INF/services/org.apache.shardingsphere.agent.spi.advisor.AdvisorDefinitionService
deleted file mode 100644
index 65d08e2d764..00000000000
---
a/agent/plugins/logging/base/src/main/resources/META-INF/services/org.apache.shardingsphere.agent.spi.advisor.AdvisorDefinitionService
+++ /dev/null
@@ -1,18 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.apache.shardingsphere.agent.plugin.logging.base.BaseLoggingAdvisorDefinitionService
diff --git
a/agent/plugins/metrics/type/prometheus/src/main/java/org/apache/shardingsphere/agent/metrics/prometheus/PrometheusAdvisorDefinitionService.java
b/agent/plugins/metrics/type/prometheus/src/main/java/org/apache/shardingsphere/agent/metrics/prometheus/PrometheusAdvisorDefinitionService.java
deleted file mode 100644
index 5cf2617ba30..00000000000
---
a/agent/plugins/metrics/type/prometheus/src/main/java/org/apache/shardingsphere/agent/metrics/prometheus/PrometheusAdvisorDefinitionService.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.agent.metrics.prometheus;
-
-import org.apache.shardingsphere.agent.config.advisor.AdvisorConfiguration;
-import
org.apache.shardingsphere.agent.core.plugin.yaml.loader.YamlAdvisorsConfigurationLoader;
-import
org.apache.shardingsphere.agent.core.plugin.yaml.swapper.YamlAdvisorsConfigurationSwapper;
-import org.apache.shardingsphere.agent.spi.advisor.AdvisorDefinitionService;
-
-import java.util.Collection;
-
-/**
- * Prometheus advisor definition service.
- */
-public final class PrometheusAdvisorDefinitionService implements
AdvisorDefinitionService {
-
- private final YamlAdvisorsConfigurationLoader loader = new
YamlAdvisorsConfigurationLoader();
-
- private final YamlAdvisorsConfigurationSwapper swapper = new
YamlAdvisorsConfigurationSwapper();
-
- @Override
- public Collection<AdvisorConfiguration> getProxyAdvisorConfigurations() {
- return
swapper.swapToObject(loader.load(getClass().getResourceAsStream("/" +
getType().toLowerCase() + "/proxy-advisors.yaml")), getType());
- }
-
- @Override
- public Collection<AdvisorConfiguration> getJDBCAdvisorConfigurations() {
- return
swapper.swapToObject(loader.load(getClass().getResourceAsStream("/" +
getType().toLowerCase() + "/jdbc-advisors.yaml")), getType());
- }
-
- @Override
- public String getType() {
- return "Prometheus";
- }
-}
diff --git
a/agent/plugins/metrics/type/prometheus/src/main/resources/META-INF/services/org.apache.shardingsphere.agent.spi.advisor.AdvisorDefinitionService
b/agent/plugins/metrics/type/prometheus/src/main/resources/META-INF/services/org.apache.shardingsphere.agent.spi.advisor.AdvisorDefinitionService
deleted file mode 100644
index 5123ad1c074..00000000000
---
a/agent/plugins/metrics/type/prometheus/src/main/resources/META-INF/services/org.apache.shardingsphere.agent.spi.advisor.AdvisorDefinitionService
+++ /dev/null
@@ -1,18 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.apache.shardingsphere.agent.metrics.prometheus.PrometheusAdvisorDefinitionService
diff --git
a/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/metrics/prometheus/PrometheusAdvisorDefinitionServiceTest.java
b/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/metrics/prometheus/PrometheusAdvisorDefinitionServiceTest.java
deleted file mode 100644
index e6ae07ae281..00000000000
---
a/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/metrics/prometheus/PrometheusAdvisorDefinitionServiceTest.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.agent.metrics.prometheus;
-
-import org.junit.Test;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.hamcrest.MatcherAssert.assertThat;
-
-public final class PrometheusAdvisorDefinitionServiceTest {
-
- @Test
- public void assertGetProxyAdvisors() {
- assertThat(new
PrometheusAdvisorDefinitionService().getProxyAdvisorConfigurations().size(),
is(5));
- }
-}
diff --git
a/agent/plugins/tracing/type/jaeger/src/main/java/org/apache/shardingsphere/agent/plugin/tracing/jaeger/JaegerAdvisorDefinitionService.java
b/agent/plugins/tracing/type/jaeger/src/main/java/org/apache/shardingsphere/agent/plugin/tracing/jaeger/JaegerAdvisorDefinitionService.java
deleted file mode 100644
index 5f99e43d889..00000000000
---
a/agent/plugins/tracing/type/jaeger/src/main/java/org/apache/shardingsphere/agent/plugin/tracing/jaeger/JaegerAdvisorDefinitionService.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.agent.plugin.tracing.jaeger;
-
-import org.apache.shardingsphere.agent.config.advisor.AdvisorConfiguration;
-import
org.apache.shardingsphere.agent.core.plugin.yaml.loader.YamlAdvisorsConfigurationLoader;
-import
org.apache.shardingsphere.agent.core.plugin.yaml.swapper.YamlAdvisorsConfigurationSwapper;
-import org.apache.shardingsphere.agent.spi.advisor.AdvisorDefinitionService;
-
-import java.util.Collection;
-
-/**
- * Jaeger advisor definition service.
- */
-public final class JaegerAdvisorDefinitionService implements
AdvisorDefinitionService {
-
- private final YamlAdvisorsConfigurationLoader loader = new
YamlAdvisorsConfigurationLoader();
-
- private final YamlAdvisorsConfigurationSwapper swapper = new
YamlAdvisorsConfigurationSwapper();
-
- @Override
- public Collection<AdvisorConfiguration> getProxyAdvisorConfigurations() {
- return
swapper.swapToObject(loader.load(getClass().getResourceAsStream("/" +
getType().toLowerCase() + "/proxy-advisors.yaml")), getType());
- }
-
- @Override
- public Collection<AdvisorConfiguration> getJDBCAdvisorConfigurations() {
- return
swapper.swapToObject(loader.load(getClass().getResourceAsStream("/" +
getType().toLowerCase() + "/jdbc-advisors.yaml")), getType());
- }
-
- @Override
- public String getType() {
- return "Jaeger";
- }
-}
diff --git
a/agent/plugins/tracing/type/jaeger/src/main/resources/META-INF/services/org.apache.shardingsphere.agent.spi.advisor.AdvisorDefinitionService
b/agent/plugins/tracing/type/jaeger/src/main/resources/META-INF/services/org.apache.shardingsphere.agent.spi.advisor.AdvisorDefinitionService
deleted file mode 100644
index 949800e3ebe..00000000000
---
a/agent/plugins/tracing/type/jaeger/src/main/resources/META-INF/services/org.apache.shardingsphere.agent.spi.advisor.AdvisorDefinitionService
+++ /dev/null
@@ -1,18 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.apache.shardingsphere.agent.plugin.tracing.jaeger.JaegerAdvisorDefinitionService
diff --git
a/agent/plugins/tracing/type/jaeger/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/jaeger/JaegerAdvisorDefinitionServiceTest.java
b/agent/plugins/tracing/type/jaeger/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/jaeger/JaegerAdvisorDefinitionServiceTest.java
deleted file mode 100644
index 6b7fcf4860a..00000000000
---
a/agent/plugins/tracing/type/jaeger/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/jaeger/JaegerAdvisorDefinitionServiceTest.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.agent.plugin.tracing.jaeger;
-
-import org.junit.Test;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.hamcrest.MatcherAssert.assertThat;
-
-public final class JaegerAdvisorDefinitionServiceTest {
-
- @Test
- public void assertGetProxyAdvisors() {
- assertThat(new
JaegerAdvisorDefinitionService().getProxyAdvisorConfigurations().size(), is(3));
- }
-}
diff --git
a/agent/plugins/tracing/type/opentelemetry/src/main/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/OpenTelemetryTracingAdvisorDefinitionService.java
b/agent/plugins/tracing/type/opentelemetry/src/main/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/OpenTelemetryTracingAdvisorDefinitionService.java
deleted file mode 100644
index db462c6001e..00000000000
---
a/agent/plugins/tracing/type/opentelemetry/src/main/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/OpenTelemetryTracingAdvisorDefinitionService.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.agent.plugin.tracing.opentelemetry;
-
-import org.apache.shardingsphere.agent.config.advisor.AdvisorConfiguration;
-import
org.apache.shardingsphere.agent.core.plugin.yaml.loader.YamlAdvisorsConfigurationLoader;
-import
org.apache.shardingsphere.agent.core.plugin.yaml.swapper.YamlAdvisorsConfigurationSwapper;
-import org.apache.shardingsphere.agent.spi.advisor.AdvisorDefinitionService;
-
-import java.util.Collection;
-
-/**
- * OpenTelemetry advisor definition service.
- */
-public final class OpenTelemetryTracingAdvisorDefinitionService implements
AdvisorDefinitionService {
-
- private final YamlAdvisorsConfigurationLoader loader = new
YamlAdvisorsConfigurationLoader();
-
- private final YamlAdvisorsConfigurationSwapper swapper = new
YamlAdvisorsConfigurationSwapper();
-
- @Override
- public Collection<AdvisorConfiguration> getProxyAdvisorConfigurations() {
- return
swapper.swapToObject(loader.load(getClass().getResourceAsStream("/" +
getType().toLowerCase() + "/proxy-advisors.yaml")), getType());
- }
-
- @Override
- public Collection<AdvisorConfiguration> getJDBCAdvisorConfigurations() {
- return
swapper.swapToObject(loader.load(getClass().getResourceAsStream("/" +
getType().toLowerCase() + "/jdbc-advisors.yaml")), getType());
- }
-
- @Override
- public String getType() {
- return "OpenTelemetry";
- }
-}
diff --git
a/agent/plugins/tracing/type/opentelemetry/src/main/resources/META-INF/services/org.apache.shardingsphere.agent.spi.advisor.AdvisorDefinitionService
b/agent/plugins/tracing/type/opentelemetry/src/main/resources/META-INF/services/org.apache.shardingsphere.agent.spi.advisor.AdvisorDefinitionService
deleted file mode 100644
index 60937319f9c..00000000000
---
a/agent/plugins/tracing/type/opentelemetry/src/main/resources/META-INF/services/org.apache.shardingsphere.agent.spi.advisor.AdvisorDefinitionService
+++ /dev/null
@@ -1,18 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.apache.shardingsphere.agent.plugin.tracing.opentelemetry.OpenTelemetryTracingAdvisorDefinitionService
diff --git
a/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/OpenTelemetryTracingAdvisorDefinitionServiceTest.java
b/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/OpenTelemetryTracingAdvisorDefinitionServiceTest.java
deleted file mode 100644
index 71bfa8bf1fa..00000000000
---
a/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/OpenTelemetryTracingAdvisorDefinitionServiceTest.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.agent.plugin.tracing.opentelemetry;
-
-import org.junit.Test;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.hamcrest.MatcherAssert.assertThat;
-
-public final class OpenTelemetryTracingAdvisorDefinitionServiceTest {
-
- @Test
- public void assertGetProxyAdvisors() {
- assertThat(new
OpenTelemetryTracingAdvisorDefinitionService().getProxyAdvisorConfigurations().size(),
is(3));
- }
-}
diff --git
a/agent/plugins/tracing/type/opentracing/src/main/java/org/apache/shardingsphere/agent/plugin/tracing/opentracing/OpenTracingAdvisorDefinitionService.java
b/agent/plugins/tracing/type/opentracing/src/main/java/org/apache/shardingsphere/agent/plugin/tracing/opentracing/OpenTracingAdvisorDefinitionService.java
deleted file mode 100644
index 72750d74bb1..00000000000
---
a/agent/plugins/tracing/type/opentracing/src/main/java/org/apache/shardingsphere/agent/plugin/tracing/opentracing/OpenTracingAdvisorDefinitionService.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.agent.plugin.tracing.opentracing;
-
-import org.apache.shardingsphere.agent.config.advisor.AdvisorConfiguration;
-import
org.apache.shardingsphere.agent.core.plugin.yaml.loader.YamlAdvisorsConfigurationLoader;
-import
org.apache.shardingsphere.agent.core.plugin.yaml.swapper.YamlAdvisorsConfigurationSwapper;
-import org.apache.shardingsphere.agent.spi.advisor.AdvisorDefinitionService;
-
-import java.util.Collection;
-
-/**
- * OpenTracing advisor definition service.
- */
-public final class OpenTracingAdvisorDefinitionService implements
AdvisorDefinitionService {
-
- private final YamlAdvisorsConfigurationLoader loader = new
YamlAdvisorsConfigurationLoader();
-
- private final YamlAdvisorsConfigurationSwapper swapper = new
YamlAdvisorsConfigurationSwapper();
-
- @Override
- public Collection<AdvisorConfiguration> getProxyAdvisorConfigurations() {
- return
swapper.swapToObject(loader.load(getClass().getResourceAsStream("/" +
getType().toLowerCase() + "/proxy-advisors.yaml")), getType());
- }
-
- @Override
- public Collection<AdvisorConfiguration> getJDBCAdvisorConfigurations() {
- return
swapper.swapToObject(loader.load(getClass().getResourceAsStream("/" +
getType().toLowerCase() + "/jdbc-advisors.yaml")), getType());
- }
-
- @Override
- public String getType() {
- return "OpenTracing";
- }
-}
diff --git
a/agent/plugins/tracing/type/opentracing/src/main/resources/META-INF/services/org.apache.shardingsphere.agent.spi.advisor.AdvisorDefinitionService
b/agent/plugins/tracing/type/opentracing/src/main/resources/META-INF/services/org.apache.shardingsphere.agent.spi.advisor.AdvisorDefinitionService
deleted file mode 100644
index 4b25d67f51d..00000000000
---
a/agent/plugins/tracing/type/opentracing/src/main/resources/META-INF/services/org.apache.shardingsphere.agent.spi.advisor.AdvisorDefinitionService
+++ /dev/null
@@ -1,18 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.apache.shardingsphere.agent.plugin.tracing.opentracing.OpenTracingAdvisorDefinitionService
diff --git
a/agent/plugins/tracing/type/opentracing/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentracing/OpenTracingAdvisorDefinitionServiceTest.java
b/agent/plugins/tracing/type/opentracing/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentracing/OpenTracingAdvisorDefinitionServiceTest.java
deleted file mode 100644
index 5618e07d017..00000000000
---
a/agent/plugins/tracing/type/opentracing/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentracing/OpenTracingAdvisorDefinitionServiceTest.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.agent.plugin.tracing.opentracing;
-
-import org.junit.Test;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.hamcrest.MatcherAssert.assertThat;
-
-public final class OpenTracingAdvisorDefinitionServiceTest {
-
- @Test
- public void assertGetProxyAdvisors() {
- assertThat(new
OpenTracingAdvisorDefinitionService().getProxyAdvisorConfigurations().size(),
is(3));
- }
-}
diff --git
a/agent/plugins/tracing/type/zipkin/src/main/java/org/apache/shardingsphere/agent/plugin/tracing/zipkin/ZipkinAdvisorDefinitionService.java
b/agent/plugins/tracing/type/zipkin/src/main/java/org/apache/shardingsphere/agent/plugin/tracing/zipkin/ZipkinAdvisorDefinitionService.java
deleted file mode 100644
index 6729c4aae4b..00000000000
---
a/agent/plugins/tracing/type/zipkin/src/main/java/org/apache/shardingsphere/agent/plugin/tracing/zipkin/ZipkinAdvisorDefinitionService.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.agent.plugin.tracing.zipkin;
-
-import org.apache.shardingsphere.agent.config.advisor.AdvisorConfiguration;
-import
org.apache.shardingsphere.agent.core.plugin.yaml.loader.YamlAdvisorsConfigurationLoader;
-import
org.apache.shardingsphere.agent.core.plugin.yaml.swapper.YamlAdvisorsConfigurationSwapper;
-import org.apache.shardingsphere.agent.spi.advisor.AdvisorDefinitionService;
-
-import java.util.Collection;
-
-/**
- * Zipkin advisor definition service.
- */
-public final class ZipkinAdvisorDefinitionService implements
AdvisorDefinitionService {
-
- private final YamlAdvisorsConfigurationLoader loader = new
YamlAdvisorsConfigurationLoader();
-
- private final YamlAdvisorsConfigurationSwapper swapper = new
YamlAdvisorsConfigurationSwapper();
-
- @Override
- public Collection<AdvisorConfiguration> getProxyAdvisorConfigurations() {
- return
swapper.swapToObject(loader.load(getClass().getResourceAsStream("/" +
getType().toLowerCase() + "/proxy-advisors.yaml")), getType());
- }
-
- @Override
- public Collection<AdvisorConfiguration> getJDBCAdvisorConfigurations() {
- return
swapper.swapToObject(loader.load(getClass().getResourceAsStream("/" +
getType().toLowerCase() + "/jdbc-advisors.yaml")), getType());
- }
-
- @Override
- public String getType() {
- return "Zipkin";
- }
-}
diff --git
a/agent/plugins/tracing/type/zipkin/src/main/resources/META-INF/services/org.apache.shardingsphere.agent.spi.advisor.AdvisorDefinitionService
b/agent/plugins/tracing/type/zipkin/src/main/resources/META-INF/services/org.apache.shardingsphere.agent.spi.advisor.AdvisorDefinitionService
deleted file mode 100644
index 48fe0e86b54..00000000000
---
a/agent/plugins/tracing/type/zipkin/src/main/resources/META-INF/services/org.apache.shardingsphere.agent.spi.advisor.AdvisorDefinitionService
+++ /dev/null
@@ -1,18 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.apache.shardingsphere.agent.plugin.tracing.zipkin.ZipkinAdvisorDefinitionService
diff --git
a/agent/plugins/tracing/type/zipkin/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/zipkin/ZipkinAdvisorDefinitionServiceTest.java
b/agent/plugins/tracing/type/zipkin/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/zipkin/ZipkinAdvisorDefinitionServiceTest.java
deleted file mode 100644
index cec3c1233b8..00000000000
---
a/agent/plugins/tracing/type/zipkin/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/zipkin/ZipkinAdvisorDefinitionServiceTest.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.agent.plugin.tracing.zipkin;
-
-import org.junit.Test;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.hamcrest.MatcherAssert.assertThat;
-
-public final class ZipkinAdvisorDefinitionServiceTest {
-
- @Test
- public void assertGetProxyAdvisors() {
- assertThat(new
ZipkinAdvisorDefinitionService().getProxyAdvisorConfigurations().size(), is(3));
- }
-}
diff --git a/docs/document/content/dev-manual/agent.cn.md
b/docs/document/content/dev-manual/agent.cn.md
index 40134fccb65..1f3881de350 100644
--- a/docs/document/content/dev-manual/agent.cn.md
+++ b/docs/document/content/dev-manual/agent.cn.md
@@ -25,24 +25,3 @@ chapter = true
| OpenTelemetry | OpenTelemetryTracing plugin 启动类 |
[`org.apache.shardingsphere.agent.plugin.tracing.opentelemetry.service.OpenTelemetryTracingPluginBootService`](https://github.com/apache/shardingsphere/blob/master/agent/plugins/tracing/opentelemetry/src/main/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/service/OpenTelemetryTracingPluginBootService.java)
|
| OpenTracing | OpenTracing plugin 启动类 |
[`org.apache.shardingsphere.agent.plugin.tracing.opentracing.service.OpenTracingPluginBootService`](https://github.com/apache/shardingsphere/blob/master/agent/plugins/tracing/opentracing/src/main/java/org/apache/shardingsphere/agent/plugin/tracing/opentracing/service/OpenTracingPluginBootService.java)
|
| Zipkin | Zipkin plugin 启动类 |
[`org.apache.shardingsphere.agent.plugin.tracing.zipkin.service.ZipkinTracingPluginBootService`](https://github.com/apache/shardingsphere/blob/master/agent/plugins/tracing/zipkin/src/main/java/org/apache/shardingsphere/agent/plugin/tracing/zipkin/service/ZipkinTracingPluginBootService.java)
|
-
-## PluginDefinitionService
-
-### 全限定类名
-
-[`org.apache.shardingsphere.agent.spi.definition.PluginDefinitionService`](https://github.com/apache/shardingsphere/blob/master/agent/api/src/main/java/org/apache/shardingsphere/agent/spi/definition/PluginDefinitionService.java)
-
-### 定义
-
-探针插件定义服务接口
-
-### 已知实现
-
-| *配置标识* | *详细说明* | *全限定类名* |
-| ------------- | --------------------------- | ---------- |
-| Prometheus | Prometheus 插件定义 |
[`org.apache.shardingsphere.agent.metrics.prometheus.definition.PrometheusAdvisorDefinitionService`](https://github.com/apache/shardingsphere/blob/master/agent/plugins/metrics/prometheus/src/main/java/org/apache/shardingsphere/agent/metrics/prometheus/definition/PrometheusPluginDefinitionService.java)
|
-| Logging | Logging 插件定义 |
[`org.apache.shardingsphere.agent.plugin.logging.base.definition.BaseLoggingAdvisorDefinitionService`](https://github.com/apache/shardingsphere/blob/master/agent/plugins/logging/base/src/main/java/org/apache/shardingsphere/agent/plugin/logging/base/definition/BaseLoggingPluginDefinitionService.java)
|
-| Jaeger | Jaeger 插件定义 |
[`org.apache.shardingsphere.agent.plugin.tracing.jaeger.definition.JaegerAdvisorDefinitionService`](https://github.com/apache/shardingsphere/blob/master/agent/plugins/tracing/jaeger/src/main/java/org/apache/shardingsphere/agent/plugin/tracing/jaeger/definition/JaegerPluginDefinitionService.java)
|
-| OpenTelemetry | OpenTelemetryTracing 插件定义 |
[`org.apache.shardingsphere.agent.plugin.tracing.opentelemetry.definition.OpenTelemetryTracingAdvisorDefinitionService`](https://github.com/apache/shardingsphere/blob/master/agent/plugins/tracing/opentelemetry/src/main/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/definition/OpenTelemetryTracingPluginDefinitionService.java)
|
-| OpenTracing | OpenTracing 插件定义 |
[`org.apache.shardingsphere.agent.plugin.tracing.opentracing.definition.OpenTracingAdvisorDefinitionService`](https://github.com/apache/shardingsphere/blob/master/agent/plugins/tracing/opentracing/src/main/java/org/apache/shardingsphere/agent/plugin/tracing/opentracing/definition/OpenTracingPluginDefinitionService.java)
|
-| Zipkin | Zipkin 插件定义 |
[`org.apache.shardingsphere.agent.plugin.tracing.zipkin.definition.ZipkinAdvisorDefinitionService`](https://github.com/apache/shardingsphere/blob/master/agent/plugins/tracing/zipkin/src/main/java/org/apache/shardingsphere/agent/plugin/tracing/zipkin/definition/ZipkinPluginDefinitionService.java)
|
diff --git a/docs/document/content/dev-manual/agent.en.md
b/docs/document/content/dev-manual/agent.en.md
index 7f813199f92..83992b70bc1 100644
--- a/docs/document/content/dev-manual/agent.en.md
+++ b/docs/document/content/dev-manual/agent.en.md
@@ -25,24 +25,3 @@ Plugin startup service definition
| OpenTelemetry | OpenTelemetryTracing plugin startup class |
[`org.apache.shardingsphere.agent.plugin.tracing.opentelemetry.service.OpenTelemetryTracingPluginBootService`](https://github.com/apache/shardingsphere/blob/master/agent/plugins/tracing/opentelemetry/src/main/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/service/OpenTelemetryTracingPluginBootService.java)
|
| OpenTracing | OpenTracing plugin startup class |
[`org.apache.shardingsphere.agent.plugin.tracing.opentracing.service.OpenTracingPluginBootService`](https://github.com/apache/shardingsphere/blob/master/agent/plugins/tracing/opentracing/src/main/java/org/apache/shardingsphere/agent/plugin/tracing/opentracing/service/OpenTracingPluginBootService.java)
|
| Zipkin | Zipkin plugin startup class |
[`org.apache.shardingsphere.agent.plugin.tracing.zipkin.service.ZipkinTracingPluginBootService`](https://github.com/apache/shardingsphere/blob/master/agent/plugins/tracing/zipkin/src/main/java/org/apache/shardingsphere/agent/plugin/tracing/zipkin/service/ZipkinTracingPluginBootService.java)
|
-
-## PluginDefinitionService
-
-### Fully-qualified class name
-
-[`org.apache.shardingsphere.agent.spi.definition.PluginDefinitionService`](https://github.com/apache/shardingsphere/blob/master/agent/api/src/main/java/org/apache/shardingsphere/agent/spi/definition/PluginDefinitionService.java)
-
-### Definition
-
-Agent plugin definition
-
-### Implementation classes
-
-| *Configuration Type* | *Description* |
*Fully-qualified class name* |
-| -------------------- |--------------------------------------- |
---------------------------- |
-| Prometheus | Prometheus plugin definition |
[`org.apache.shardingsphere.agent.metrics.prometheus.definition.PrometheusAdvisorDefinitionService`](https://github.com/apache/shardingsphere/blob/master/agent/plugins/metrics/prometheus/src/main/java/org/apache/shardingsphere/agent/metrics/prometheus/definition/PrometheusPluginDefinitionService.java)
|
-| Logging | Logging plugin definition |
[`org.apache.shardingsphere.agent.plugin.logging.base.definition.BaseLoggingAdvisorDefinitionService`](https://github.com/apache/shardingsphere/blob/master/agent/plugins/logging/base/src/main/java/org/apache/shardingsphere/agent/plugin/logging/base/definition/BaseLoggingPluginDefinitionService.java)
|
-| Jaeger | Jaeger plugin definition |
[`org.apache.shardingsphere.agent.plugin.tracing.jaeger.definition.JaegerAdvisorDefinitionService`](https://github.com/apache/shardingsphere/blob/master/agent/plugins/tracing/jaeger/src/main/java/org/apache/shardingsphere/agent/plugin/tracing/jaeger/definition/JaegerPluginDefinitionService.java)
|
-| OpenTelemetry | OpenTelemetryTracing plugin definition |
[`org.apache.shardingsphere.agent.plugin.tracing.opentelemetry.definition.OpenTelemetryTracingAdvisorDefinitionService`](https://github.com/apache/shardingsphere/blob/master/agent/plugins/tracing/opentelemetry/src/main/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/definition/OpenTelemetryTracingPluginDefinitionService.java)
|
-| OpenTracing | OpenTracing plugin definition |
[`org.apache.shardingsphere.agent.plugin.tracing.opentracing.definition.OpenTracingAdvisorDefinitionService`](https://github.com/apache/shardingsphere/blob/master/agent/plugins/tracing/opentracing/src/main/java/org/apache/shardingsphere/agent/plugin/tracing/opentracing/definition/OpenTracingPluginDefinitionService.java)
|
-| Zipkin | Zipkin plugin definition |
[`org.apache.shardingsphere.agent.plugin.tracing.zipkin.definition.ZipkinAdvisorDefinitionService`](https://github.com/apache/shardingsphere/blob/master/agent/plugins/tracing/zipkin/src/main/java/org/apache/shardingsphere/agent/plugin/tracing/zipkin/definition/ZipkinPluginDefinitionService.java)
|