This is an automated email from the ASF dual-hosted git repository.
jianglongtao 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 1b2b0125417 Remove opentelemetry e2e test module (#24320)
1b2b0125417 is described below
commit 1b2b0125417b06b011c6c4f9a36d8605eb602a03
Author: jiangML <[email protected]>
AuthorDate: Thu Feb 23 19:08:06 2023 +0800
Remove opentelemetry e2e test module (#24320)
---
.github/workflows/e2e-agent.yml | 2 +-
.../agent/plugins/tracing/opentelemetry/Dockerfile | 28 ----
.../agent/plugins/tracing/opentelemetry/pom.xml | 175 ---------------------
.../opentelemetry/OpenTelemetryPluginE2EIT.java | 106 -------------
.../agent/opentelemetry/result/TracingResult.java | 42 -----
.../test/resources/docker/agent/conf/agent.yaml | 54 -------
.../src/test/resources/docker/docker-compose.yml | 59 -------
.../resources/docker/proxy/conf/config-db.yaml | 70 ---------
.../test/resources/docker/proxy/conf/logback.xml | 33 ----
.../test/resources/docker/proxy/conf/server.yaml | 30 ----
.../src/test/resources/env/engine-env.properties | 26 ---
.../src/test/resources/env/mysql/init.sql | 34 ----
test/e2e/agent/plugins/tracing/pom.xml | 1 -
13 files changed, 1 insertion(+), 659 deletions(-)
diff --git a/.github/workflows/e2e-agent.yml b/.github/workflows/e2e-agent.yml
index b7142fd0bda..206d7dabae2 100644
--- a/.github/workflows/e2e-agent.yml
+++ b/.github/workflows/e2e-agent.yml
@@ -64,7 +64,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- plugin: [ jaeger, opentelemetry, zipkin ]
+ plugin: [ jaeger, zipkin ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
diff --git a/test/e2e/agent/plugins/tracing/opentelemetry/Dockerfile
b/test/e2e/agent/plugins/tracing/opentelemetry/Dockerfile
deleted file mode 100644
index 8019795ff49..00000000000
--- a/test/e2e/agent/plugins/tracing/opentelemetry/Dockerfile
+++ /dev/null
@@ -1,28 +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.
-#
-
-FROM eclipse-temurin:8-jdk
-
-ARG APP_NAME
-ENV WAIT_VERSION 2.7.2
-
-ADD target/${APP_NAME}.tar.gz /opt
-ADD
https://github.com/ufoscout/docker-compose-wait/releases/download/$WAIT_VERSION/wait
/wait
-RUN chmod +x /wait
-RUN mv /opt/${APP_NAME} /opt/shardingsphere-proxy
-RUN wget
https://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.47/mysql-connector-java-5.1.47.jar
-P /opt/shardingsphere-proxy/lib
-ENTRYPOINT /wait && /opt/shardingsphere-proxy/bin/start.sh -g && tail -f
/opt/shardingsphere-proxy/logs/stdout.log
diff --git a/test/e2e/agent/plugins/tracing/opentelemetry/pom.xml
b/test/e2e/agent/plugins/tracing/opentelemetry/pom.xml
deleted file mode 100644
index 4ed68475674..00000000000
--- a/test/e2e/agent/plugins/tracing/opentelemetry/pom.xml
+++ /dev/null
@@ -1,175 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ 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.
- -->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-test-e2e-agent-plugins-tracing</artifactId>
- <version>5.3.2-SNAPSHOT</version>
- </parent>
-
<artifactId>shardingsphere-test-e2e-agent-plugins-opentelemetry</artifactId>
- <name>${project.artifactId}</name>
-
- <properties>
- <maven.deploy.skip>true</maven.deploy.skip>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
-
<artifactId>shardingsphere-test-e2e-agent-plugins-common</artifactId>
- <version>${project.version}</version>
- <type>test-jar</type>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-jdbc-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-proxy-bootstrap</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>com.google.code.gson</groupId>
- <artifactId>gson</artifactId>
- </dependency>
-
- <dependency>
- <groupId>com.h2database</groupId>
- <artifactId>h2</artifactId>
- </dependency>
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>com.zaxxer</groupId>
- <artifactId>HikariCP</artifactId>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- <scope>compile</scope>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-failsafe-plugin</artifactId>
- <executions>
- <execution>
- <id>integration-tests</id>
- <goals>
- <goal>integration-test</goal>
- <goal>verify</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <profiles>
- <profile>
- <id>it.env.opentelemetry</id>
- <properties>
- <it.env>opentelemetry</it.env>
- </properties>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-resources</id>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <phase>validate</phase>
- <configuration>
- <outputDirectory>target</outputDirectory>
- <resources>
- <resource>
-
<directory>${project.basedir}/../../../../../../distribution/proxy/target/</directory>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>com.spotify</groupId>
- <artifactId>dockerfile-maven-plugin</artifactId>
- <configuration>
-
<repository>apache/shardingsphere-proxy-agent-tracing-opentelemetry-test</repository>
- <tag>${project.version}</tag>
- <tag>latest</tag>
- <buildArgs>
-
<APP_NAME>${docker.distribution.name}</APP_NAME>
- </buildArgs>
- </configuration>
- <executions>
- <execution>
- <id>shardingsphere-proxy-bin</id>
- <goals>
- <goal>build</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>com.dkanejs.maven.plugins</groupId>
- <artifactId>docker-compose-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>agent-opentelemetry-up</id>
- <goals>
- <goal>up</goal>
- </goals>
- <phase>pre-integration-test</phase>
- <configuration>
-
<composeFile>${project.basedir}/src/test/resources/docker/docker-compose.yml</composeFile>
- <detachedMode>true</detachedMode>
- </configuration>
- </execution>
- <execution>
- <id>agent-opentelemetry-down</id>
- <goals>
- <goal>down</goal>
- </goals>
- <phase>post-integration-test</phase>
- <configuration>
-
<composeFile>${project.basedir}/src/test/resources/docker/docker-compose.yml</composeFile>
- <removeVolumes>true</removeVolumes>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-</project>
diff --git
a/test/e2e/agent/plugins/tracing/opentelemetry/src/test/java/org/apache/shardingsphere/test/e2e/agent/opentelemetry/OpenTelemetryPluginE2EIT.java
b/test/e2e/agent/plugins/tracing/opentelemetry/src/test/java/org/apache/shardingsphere/test/e2e/agent/opentelemetry/OpenTelemetryPluginE2EIT.java
deleted file mode 100644
index 1baaebd6e96..00000000000
---
a/test/e2e/agent/plugins/tracing/opentelemetry/src/test/java/org/apache/shardingsphere/test/e2e/agent/opentelemetry/OpenTelemetryPluginE2EIT.java
+++ /dev/null
@@ -1,106 +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.test.e2e.agent.opentelemetry;
-
-import com.google.gson.Gson;
-import com.google.gson.JsonParser;
-import org.apache.shardingsphere.test.e2e.agent.common.BasePluginE2EIT;
-import org.apache.shardingsphere.test.e2e.agent.common.env.E2ETestEnvironment;
-import org.apache.shardingsphere.test.e2e.agent.common.util.OkHttpUtils;
-import
org.apache.shardingsphere.test.e2e.agent.opentelemetry.result.TracingResult;
-import org.junit.Ignore;
-import org.junit.Test;
-
-import java.io.IOException;
-import java.util.Collection;
-import java.util.LinkedList;
-import java.util.Map;
-import java.util.Properties;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.hamcrest.MatcherAssert.assertThat;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.fail;
-
-public final class OpenTelemetryPluginE2EIT extends BasePluginE2EIT {
-
- private static final String ROOT_INVOKE = "/shardingsphere/rootinvoke/";
-
- private static final String PARSE_SQL = "/shardingsphere/parsesql/";
-
- private static final String EXECUTE_SQL = "/shardingsphere/executesql/";
-
- @Ignore
- @Test
- public void assertProxyWithAgent() throws IOException {
- super.assertProxyWithAgent();
- Properties props = E2ETestEnvironment.getInstance().getProps();
- String url = props.getProperty("opentelemetry.zipkin.url") +
props.getProperty("opentelemetry.servername");
- Collection<TracingResult> traces = new LinkedList<>();
- Gson gson = new Gson();
-
JsonParser.parseString(OkHttpUtils.getInstance().get(url)).getAsJsonArray().get(0).getAsJsonArray().forEach(each
-> traces.add(gson.fromJson(each, TracingResult.class)));
- traces.forEach(this::assertTrace);
- }
-
- private void assertTrace(final TracingResult tracingResult) {
- assertNotNull(tracingResult.getTraceId());
- assertNotNull(tracingResult.getId());
- assertNotNull(tracingResult.getTimestamp());
- assertNotNull(tracingResult.getDuration());
- Map<String, String> localEndPoint = tracingResult.getLocalEndpoint();
- assertThat(localEndPoint.get("serviceName"), is("shardingsphere"));
- assertNotNull(localEndPoint.get("ipv4"));
- Map<String, String> tags = tracingResult.getTags();
- switch (tracingResult.getName()) {
- case ROOT_INVOKE:
- assertRootInvokeTags(tags);
- break;
- case PARSE_SQL:
- assertParseSQLTags(tags);
- break;
- case EXECUTE_SQL:
- assertExecuteSQLTags(tags);
- break;
- default:
- fail();
- }
- }
-
- private void assertRootInvokeTags(final Map<String, String> tags) {
- assertThat(tags.get("component"), is("ShardingSphere"));
- assertThat(tags.get("otel.library.name"), is("shardingsphere-agent"));
- }
-
- private void assertParseSQLTags(final Map<String, String> tags) {
- assertThat(tags.get("component"), is("ShardingSphere"));
- assertNotNull(tags.get("db.statement"));
- assertThat(tags.get("db.type"), is("shardingsphere-proxy"));
- assertThat(tags.get("otel.library.name"), is("shardingsphere-agent"));
- }
-
- private void assertExecuteSQLTags(final Map<String, String> tags) {
- assertThat(tags.get("component"), is("ShardingSphere"));
- assertNotNull(tags.get("db.bind_vars"));
- assertNotNull(tags.get("db.instance"));
- assertNotNull(tags.get("db.statement"));
- assertThat(tags.get("db.type"), is("shardingsphere-proxy"));
- assertThat(tags.get("otel.library.name"), is("shardingsphere-agent"));
- assertNotNull(tags.get("peer.hostname"));
- assertNotNull(tags.get("peer.port"));
- }
-}
diff --git
a/test/e2e/agent/plugins/tracing/opentelemetry/src/test/java/org/apache/shardingsphere/test/e2e/agent/opentelemetry/result/TracingResult.java
b/test/e2e/agent/plugins/tracing/opentelemetry/src/test/java/org/apache/shardingsphere/test/e2e/agent/opentelemetry/result/TracingResult.java
deleted file mode 100644
index 1c17c4ce811..00000000000
---
a/test/e2e/agent/plugins/tracing/opentelemetry/src/test/java/org/apache/shardingsphere/test/e2e/agent/opentelemetry/result/TracingResult.java
+++ /dev/null
@@ -1,42 +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.test.e2e.agent.opentelemetry.result;
-
-import lombok.Getter;
-import lombok.Setter;
-
-import java.util.Map;
-
-@Getter
-@Setter
-public final class TracingResult {
-
- private String traceId;
-
- private String id;
-
- private String name;
-
- private Long timestamp;
-
- private Long duration;
-
- private Map<String, String> localEndpoint;
-
- private Map<String, String> tags;
-}
diff --git
a/test/e2e/agent/plugins/tracing/opentelemetry/src/test/resources/docker/agent/conf/agent.yaml
b/test/e2e/agent/plugins/tracing/opentelemetry/src/test/resources/docker/agent/conf/agent.yaml
deleted file mode 100644
index ee884fb5c80..00000000000
---
a/test/e2e/agent/plugins/tracing/opentelemetry/src/test/resources/docker/agent/conf/agent.yaml
+++ /dev/null
@@ -1,54 +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.
-#
-
-plugins:
- logging:
- File:
- props:
- level: "INFO"
- metrics:
-# Prometheus:
-# host: "localhost"
-# port: 18090
-# props:
-# jvm-information-collector-enabled: "true"
- tracing:
-# Jaeger:
-# host: "localhost"
-# port: 5775
-# props:
-# service-name: "shardingsphere"
-# jaeger-sampler-type: "const"
-# jaeger-sampler-param: "1"
-# jaeger-reporter-log-spans: "true"
-# jaeger-reporter-flush-interval: "1"
-# Zipkin:
-# host: "localhost"
-# port: 9411
-# props:
-# service-name: "shardingsphere"
-# url-version: "/api/v2/spans"
-# sampler-type: "const"
-# sampler-param: "1"
-# OpenTracing:
-# props:
-# opentracing-tracer-class-name:
"org.apache.skywalking.apm.toolkit.opentracing.SkywalkingTracer"
- OpenTelemetry:
- props:
- otel-resource-attributes: "service.name=shardingsphere"
- otel-traces-exporter: "zipkin"
- otel-exporter-zipkin-endpoint:
"http://zipkin.agent.tracing.opentelemetry.host:9411/api/v2/spans"
diff --git
a/test/e2e/agent/plugins/tracing/opentelemetry/src/test/resources/docker/docker-compose.yml
b/test/e2e/agent/plugins/tracing/opentelemetry/src/test/resources/docker/docker-compose.yml
deleted file mode 100644
index 93f0a6bd86f..00000000000
---
a/test/e2e/agent/plugins/tracing/opentelemetry/src/test/resources/docker/docker-compose.yml
+++ /dev/null
@@ -1,59 +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.
-#
-
-version: "2.1"
-
-services:
- mysql:
- image: "mysql/mysql-server:5.7"
- container_name: agent-tracing-opentelemetry-mysql
- command: ['--sql_mode=',
'--default-authentication-plugin=mysql_native_password']
- volumes:
- - ../env/mysql:/docker-entrypoint-initdb.d/
- ports:
- - "43061:3306"
- environment:
- - LANG=C.UTF-8
-
- zipkin:
- image: "openzipkin/zipkin:latest"
- container_name: agent-opentelemetry-zipkin
- restart: always
- ports:
- - "19411:9411"
-
- shardingsphere-proxy-agent-tracing:
- image: apache/shardingsphere-proxy-agent-tracing-opentelemetry-test
- container_name: shardingsphere-proxy-agent-tracing-opentelemetry
- ports:
- - "43071:3307"
- - "43081:3308"
- - "18090:18090"
- links:
- - "mysql:mysql.agent.tracing.opentelemetry.host"
- - "zipkin:zipkin.agent.tracing.opentelemetry.host"
- volumes:
- - ./proxy/conf:/opt/shardingsphere-proxy/conf
- - ./agent/conf:/opt/shardingsphere-proxy/agent/conf
- depends_on:
- - mysql
- - zipkin
- environment:
- - WAIT_HOSTS=mysql:3306
- - WAIT_HOSTS_TIMEOUT=300
- - WAIT_SLEEP_INTERVAL=5
- - WAIT_HOST_CONNECT_TIMEOUT=30
diff --git
a/test/e2e/agent/plugins/tracing/opentelemetry/src/test/resources/docker/proxy/conf/config-db.yaml
b/test/e2e/agent/plugins/tracing/opentelemetry/src/test/resources/docker/proxy/conf/config-db.yaml
deleted file mode 100644
index e0146264b7c..00000000000
---
a/test/e2e/agent/plugins/tracing/opentelemetry/src/test/resources/docker/proxy/conf/config-db.yaml
+++ /dev/null
@@ -1,70 +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.
-#
-
-databaseName: agent-tracing-opentelemetry-db
-
-dataSources:
- ds_0:
- url:
jdbc:mysql://mysql.agent.tracing.opentelemetry.host:3306/agent_opentelemetry_db_0?serverTimezone=UTC&useSSL=false&characterEncoding=utf-8
- username: root
- password:
- connectionTimeoutMilliseconds: 30000
- idleTimeoutMilliseconds: 60000
- maxLifetimeMilliseconds: 1800000
- maxPoolSize: 10
- minPoolSize: 2
- ds_1:
- url:
jdbc:mysql://mysql.agent.tracing.opentelemetry.host:3306/agent_opentelemetry_db_1?serverTimezone=UTC&useSSL=false&characterEncoding=utf-8
- username: root
- password:
- connectionTimeoutMilliseconds: 30000
- idleTimeoutMilliseconds: 60000
- maxLifetimeMilliseconds: 1800000
- maxPoolSize: 10
- minPoolSize: 2
-
-rules:
- - !SHARDING
- tables:
- t_order:
- actualDataNodes: ds_${0..1}.t_order_${0..1}
- tableStrategy:
- standard:
- shardingColumn: order_id
- shardingAlgorithmName: t_order_inline
- keyGenerateStrategy:
- column: order_id
- keyGeneratorName: snowflake
- defaultDatabaseStrategy:
- standard:
- shardingColumn: user_id
- shardingAlgorithmName: database_inline
- defaultTableStrategy:
- none:
- shardingAlgorithms:
- database_inline:
- type: INLINE
- props:
- algorithm-expression: ds_${user_id % 2}
- t_order_inline:
- type: INLINE
- props:
- algorithm-expression: t_order_${order_id % 2}
-
- keyGenerators:
- snowflake:
- type: SNOWFLAKE
diff --git
a/test/e2e/agent/plugins/tracing/opentelemetry/src/test/resources/docker/proxy/conf/logback.xml
b/test/e2e/agent/plugins/tracing/opentelemetry/src/test/resources/docker/proxy/conf/logback.xml
deleted file mode 100644
index 1494746120c..00000000000
---
a/test/e2e/agent/plugins/tracing/opentelemetry/src/test/resources/docker/proxy/conf/logback.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.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.
- -->
-
-<configuration>
- <appender name="console" class="ch.qos.logback.core.ConsoleAppender">
- <encoder>
- <pattern>[%-5level] %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread]
%logger{36} - %msg%n</pattern>
- </encoder>
- </appender>
- <logger name="org.apache.shardingsphere" level="info" additivity="false">
- <appender-ref ref="console" />
- </logger>
-
- <root>
- <level value="info" />
- <appender-ref ref="console" />
- </root>
-</configuration>
diff --git
a/test/e2e/agent/plugins/tracing/opentelemetry/src/test/resources/docker/proxy/conf/server.yaml
b/test/e2e/agent/plugins/tracing/opentelemetry/src/test/resources/docker/proxy/conf/server.yaml
deleted file mode 100644
index 5108e6a4a05..00000000000
---
a/test/e2e/agent/plugins/tracing/opentelemetry/src/test/resources/docker/proxy/conf/server.yaml
+++ /dev/null
@@ -1,30 +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.
-#
-
-authority:
- users:
- - user: root
- password: root
- privilege:
- type: ALL_PERMITTED
-
-props:
- max-connections-size-per-query: 1
- kernel-executor-size: 16 # Infinite by default.
- proxy-frontend-flush-threshold: 128 # The default value is 128.
- proxy-hint-enabled: false
- sql-show: true
diff --git
a/test/e2e/agent/plugins/tracing/opentelemetry/src/test/resources/env/engine-env.properties
b/test/e2e/agent/plugins/tracing/opentelemetry/src/test/resources/env/engine-env.properties
deleted file mode 100644
index bf646e5b749..00000000000
---
a/test/e2e/agent/plugins/tracing/opentelemetry/src/test/resources/env/engine-env.properties
+++ /dev/null
@@ -1,26 +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.
-#
-
-it.env.type=${it.env}
-it.env.value=opentelemetry
-
-proxy.url=jdbc:mysql://127.0.0.1:43071/agent-tracing-opentelemetry-db?serverTimezone=UTC&useSSL=false&useLocalSessionState=true&characterEncoding=utf-8
-proxy.username=root
-proxy.password=root
-
-opentelemetry.zipkin.url=http://127.0.0.1:19411/api/v2/traces?serviceName=
-opentelemetry.servername=shardingsphere
diff --git
a/test/e2e/agent/plugins/tracing/opentelemetry/src/test/resources/env/mysql/init.sql
b/test/e2e/agent/plugins/tracing/opentelemetry/src/test/resources/env/mysql/init.sql
deleted file mode 100644
index 523df697698..00000000000
---
a/test/e2e/agent/plugins/tracing/opentelemetry/src/test/resources/env/mysql/init.sql
+++ /dev/null
@@ -1,34 +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.
---
-
-CREATE USER IF NOT EXISTS 'root'@'%' IDENTIFIED BY '';
-GRANT All privileges ON *.* TO 'root'@'%';
-
-SET character_set_database='utf8';
-SET character_set_server='utf8';
-
-DROP DATABASE IF EXISTS agent_opentelemetry_db_0;
-DROP DATABASE IF EXISTS agent_opentelemetry_db_1;
-
-CREATE DATABASE agent_opentelemetry_db_0;
-CREATE DATABASE agent_opentelemetry_db_1;
-
-CREATE TABLE agent_opentelemetry_db_0.t_order_0 (order_id INT NOT NULL,
user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE agent_opentelemetry_db_0.t_order_1 (order_id INT NOT NULL,
user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-
-CREATE TABLE agent_opentelemetry_db_1.t_order_0 (order_id INT NOT NULL,
user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE agent_opentelemetry_db_1.t_order_1 (order_id INT NOT NULL,
user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
diff --git a/test/e2e/agent/plugins/tracing/pom.xml
b/test/e2e/agent/plugins/tracing/pom.xml
index 8861ef415a5..fe208d57021 100644
--- a/test/e2e/agent/plugins/tracing/pom.xml
+++ b/test/e2e/agent/plugins/tracing/pom.xml
@@ -30,7 +30,6 @@
<modules>
<module>jaeger</module>
- <module>opentelemetry</module>
<module>zipkin</module>
</modules>
</project>