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