From 762962512d0d4153fd41049a18c3302c9b69d6ca Mon Sep 17 00:00:00 2001
From: Jerry Yan <792602257@qq.com>
Date: Wed, 13 Aug 2025 09:50:44 +0800
Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4opentelemetry?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pom.xml | 4 ----
src/main/resources/application-dev.yml | 7 -------
src/main/resources/application-prod.yml | 28 -------------------------
3 files changed, 39 deletions(-)
diff --git a/pom.xml b/pom.xml
index 7dd39ed..7cee79e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -210,10 +210,6 @@
4.16.19
-
- io.opentelemetry.instrumentation
- opentelemetry-spring-boot-starter
-
diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml
index 4f06eaf..aff3ba7 100644
--- a/src/main/resources/application-dev.yml
+++ b/src/main/resources/application-dev.yml
@@ -168,10 +168,3 @@ notify:
type: "SERVER_CHAN"
config:
key: "sctp747ta-wkq4hlzb6e42t8d1sm8wbc9g"
-otel:
- traces:
- exporter: none
- metrics:
- exporter: none
- logs:
- exporter: none
diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml
index f0dbee7..ac72921 100644
--- a/src/main/resources/application-prod.yml
+++ b/src/main/resources/application-prod.yml
@@ -170,31 +170,3 @@ notify:
type: "SERVER_CHAN"
config:
key: "sctp747ta-wkq4hlzb6e42t8d1sm8wbc9g"
-
-otel:
- service:
- name: ZT-BE
- instrumentation:
- annotations:
- enabled: true
- jdbc:
- enabled: true
- logback-mdc:
- enabled: true
- spring-web:
- enabled: true
- spring-webmvc:
- enabled: true
- spring-scheduling:
- enabled: false
- resource:
- attributes:
- environment: "production"
- service: "ZT-BE"
- exporter:
- otlp:
- endpoint: "https://oltp.jerryyan.top"
- metrics:
- exporter: none
- logs:
- exporter: none