Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
app-service
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SuperHive
back-end
app-service
Commits
fb8a0945
Commit
fb8a0945
authored
Jul 31, 2020
by
lijd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加actuator依赖以及相关配置
parent
a02fea24
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
2 deletions
+28
-2
pom.xml
pom.xml
+4
-0
application-dev.yml
src/main/resources/application-dev.yml
+12
-1
application-test.yml
src/main/resources/application-test.yml
+12
-1
No files found.
pom.xml
View file @
fb8a0945
...
...
@@ -111,6 +111,10 @@
<artifactId>
druid-spring-boot-starter
</artifactId>
<version>
${alibaba-druid.version}
</version>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-actuator
</artifactId>
</dependency>
</dependencies>
<dependencyManagement>
...
...
src/main/resources/application-dev.yml
View file @
fb8a0945
...
...
@@ -66,4 +66,15 @@ mybatis-plus:
ribbon
:
eager-load
:
enabled
:
true
clients
:
freight-base-service,freight-bill,freight-tms-service
\ No newline at end of file
clients
:
freight-base-service,freight-bill,freight-tms-service
management
:
endpoints
:
web
:
exposure
:
# "*"开放所有监控端点,指定监控端点,用逗号分隔
include
:
health,loggers
base-path
:
/esvActuator
endpoint
:
health
:
show-details
:
always
\ No newline at end of file
src/main/resources/application-test.yml
View file @
fb8a0945
...
...
@@ -66,4 +66,15 @@ mybatis-plus:
ribbon
:
eager-load
:
enabled
:
true
clients
:
freight-base-service,freight-bill,freight-tms-service
\ No newline at end of file
clients
:
freight-base-service,freight-bill,freight-tms-service
management
:
endpoints
:
web
:
exposure
:
# "*"开放所有监控端点,指定监控端点,用逗号分隔
include
:
health,loggers
base-path
:
/esvActuator
endpoint
:
health
:
show-details
:
always
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment