Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
order-group
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jenkins
order-group
Commits
4afe8621
Commit
4afe8621
authored
Mar 30, 2020
by
姜海波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
f0dedf6b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
16 deletions
+11
-16
order-application-service/pom.xml
+4
-9
order-application-service/src/main/resources/application.properties
+7
-7
No files found.
order-application-service/pom.xml
View file @
4afe8621
...
...
@@ -339,21 +339,16 @@
<!-- promtheus -->
<dependency>
<groupId>
io.prometheus
</groupId>
<artifactId>
simpleclient_spring_boot
</artifactId>
<version>
0.8.0
</version>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-actuator
</artifactId>
</dependency>
<dependency>
<groupId>
io.micrometer
</groupId>
<artifactId>
micrometer-registry-prometheus
</artifactId>
<version>
0.12.0.RELEASE
</version>
<artifactId>
micrometer-spring-legacy
</artifactId>
</dependency>
<dependency>
<groupId>
io.micrometer
</groupId>
<artifactId>
micrometer-spring-legacy
</artifactId>
<version>
0.8.0.RELEASE
</version>
<artifactId>
micrometer-registry-prometheus
</artifactId>
</dependency>
...
...
order-application-service/src/main/resources/application.properties
View file @
4afe8621
...
...
@@ -10,8 +10,8 @@ spring.redis.pool.max-active = 100
jasypt.encryptor.bean
=
jasyptStringEncryptorFreemud
##### eureka
###eureka.instance.preferIpAddress = true
eureka.client.register-with-eureka
=
tru
e
eureka.client.fetch-registry
=
tru
e
eureka.client.register-with-eureka
=
fals
e
eureka.client.fetch-registry
=
fals
e
eureka.client.serviceUrl.defaultZone
=
http://localhost:8080/eureka/
eureka.instance.prefer-ip-address
=
true
eureka.instance.instance-id
=
${spring.cloud.client.ipAddress}:${server.port}
...
...
@@ -273,11 +273,11 @@ open.store.adapter.callback.service.url =
alloc.url
=
saas.activityapplicationclient.feign.url
=
endpoints.enabled
=
false
endpoints.info.enabled
=
true
endpoints.health.enabled
=
true
endpoints.prometheus.enabled
=
true
management.security.enabled
=
false
endpoints.enabled
=
false
endpoints.info.enabled
=
true
endpoints.health.enabled
=
true
endpoints.prometheus.enabled
=
true
management.security.enabled
=
false
eureka.instance.preferIpAddress
=
true
...
...
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