Commit 3078b21e by 丁伟峰

Merge branch 'feat-dingwf-mvp616' into develop

# Conflicts:
#	project-order/src/main/resources/application.yaml
2 parents f86ee9c4 419e5f8e
......@@ -16,7 +16,6 @@
package com.alibaba.cloud.integration.order;
import io.sentry.Sentry;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
......@@ -31,14 +30,5 @@ public class OrderServiceApplication {
public static void main(String[] args) {
SpringApplication.run(OrderServiceApplication.class, args);
// todo 配置化
Sentry.init(options -> {
options.setDsn("http://85293a9310fc4a8187422a7a257fc1ba@sentry.zjhuixinyun.com/8");
// Set tracesSampleRate to 1.0 to capture 100% of transactions for performance monitoring.
// We recommend adjusting this value in production.
options.setTracesSampleRate(1.0);
// When first trying Sentry it's good to see what the SDK is doing:
options.setDebug(true);
});
}
}
......@@ -51,3 +51,10 @@ mybatis-plus:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
sentry:
dsn: http://85293a9310fc4a8187422a7a257fc1ba@sentry.zjhuixinyun.com/8
# Set traces_sample_rate to 1.0 to capture 100%
# of transactions for performance monitoring.
# We recommend adjusting this value in production.
tracesSampleRate: 1.0
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!