File tree Expand file tree Collapse file tree 3 files changed +26
-15
lines changed
api-gateway/src/main/resources Expand file tree Collapse file tree 3 files changed +26
-15
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ management:
52
52
show-detail : always
53
53
web :
54
54
exposure :
55
- include : hystrix.stream, prometheus
55
+ include : hystrix.stream # , prometheus
56
56
57
57
58
58
Original file line number Diff line number Diff line change 1
- global :
2
- scrape_interval : 15s
1
+ # global:
2
+ # scrape_interval: 15s
3
3
4
- scrape_configs :
5
- - job_name : ' prometheus'
6
- scrape_interval : 5s
7
-
8
- static_configs :
9
- - targets : [ 'localhost:9090' ]
10
-
11
- - job_name : ' spring-actuator'
12
- metrics_path : ' /actuator/prometheus'
13
- scrape_interval : 5s
14
- static_configs :
15
- - targets : [ '192.168.0.9 :8080' ]
4
+ # scrape_configs:
5
+ # - job_name: 'prometheus'
6
+ # scrape_interval: 5s
7
+ #
8
+ # static_configs:
9
+ # - targets: [ 'localhost:9090' ]
10
+ #
11
+ # - job_name: 'spring-actuator'
12
+ # metrics_path: '/actuator/prometheus'
13
+ # scrape_interval: 5s
14
+ # static_configs:
15
+ # - targets: [ 'localhost :8080' ]
16
16
# docker pull prom/prometheus
17
17
# docker run -d -p 9090:9090 -v <PATH_TO_prometheus.yml_FILE>:/etc/prometheus/prometheus.yml prom/prometheus
18
18
# docker run -d -p 3000:3000 grafana/grafana
Original file line number Diff line number Diff line change
1
+ FROM openjdk:11-jre-slim
2
+
3
+
4
+ ARG JAR_FILE=target/*.jar
5
+ COPY ${JAR_FILE} app.jar
6
+ ENTRYPOINT ["java" ,"-jar" ,"/app.jar" ]
7
+ EXPOSE 8761
8
+
9
+
10
+ # docker build -t cevher/microservices-service-registry .
11
+ # docker run -p 8761:8761 cevher/microservices-service-registry
You can’t perform that action at this time.
0 commit comments