Skip to content

Commit

Permalink
Spring Boot Admin試行
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiteNoise0000 committed Dec 5, 2024
1 parent 646033e commit 30310ce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ dependencies {
// Azure Application Insights(監視)
//implementation 'com.microsoft.azure:applicationinsights-runtime-attach:3.6.2'

// Spring Boot Admin Client
implementation 'de.codecentric:spring-boot-admin-starter-client:3.4.0'

// LINE Messaging API
implementation 'com.linecorp.bot:line-bot-messaging-api-client:9.3.1'

Expand Down
4 changes: 4 additions & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ vaadin.launch-browser = true
# Azure CosmosDB
spring.cloud.azure.cosmos.endpoint=${AZURE_COSMOS_ENDPOINT}
spring.cloud.azure.cosmos.key=${AZURE_COSMOS_KEY}

# Spring Boot Admin Client
management.endpoints.web.exposure.include=*
management.endpoint.health.show-details=always

0 comments on commit 30310ce

Please sign in to comment.