Skip to content

Commit

Permalink
config: sentry 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
ChoiWonYu committed Jul 18, 2024
1 parent 7f24c8f commit 4ec21d0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ dependencies {

// Swagger
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.2'

// sentry
implementation 'io.sentry:sentry-spring-boot-starter-jakarta:7.9.0'
}

tasks.named('test') {
Expand Down
6 changes: 6 additions & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,9 @@ scheduler.pool.size=5
scheduler.threadNamePrefix=Scheduler-
scheduler.awaitTerminationSeconds=30
scheduler.waitForTasksToCompleteOnShutdown=true
# Sentry
sentry.dsn=${SENTRY_DSN}
sentry.exception-resolver-order= -2147483647
sentry.max-request-body-size= always
sentry.send-default-pii= true
sentry.traces-sample-rate= 1.0

0 comments on commit 4ec21d0

Please sign in to comment.