File tree 2 files changed +27
-2
lines changed
orury-client/src/main/resources
2 files changed +27
-2
lines changed Original file line number Diff line number Diff line change 1
- server.port : 8085
1
+ server :
2
+ port : 8085
3
+ tomcat.mbeanregistry.enabled : true
2
4
debug : false
3
- management.endpoints.web.exposure.include : " * "
5
+ management.endpoints.web.exposure.include : " prometheus "
4
6
5
7
logging.level :
6
8
org.hibernate.SQL : debug
Original file line number Diff line number Diff line change
1
+ global :
2
+ scrape_interval : 15s
3
+ evaluation_interval : 15s
4
+ alerting :
5
+ alertmanagers :
6
+ - static_configs :
7
+ - targets :
8
+ # - alertmanager:9093
9
+
10
+ rule_files :
11
+ # - "first.rules"
12
+ # - "second.rules"
13
+
14
+ scrape_configs :
15
+ # - job_name: "prometheus"
16
+ # static_configs:
17
+ # - targets: [ "host.docker.internal:9090" ]
18
+ - job_name : " spring-actuator"
19
+ metrics_path : " /actuator/prometheus"
20
+ scrape_interval : 1s
21
+ static_configs :
22
+ - targets : [ "host.docker.internal:8085" ]
23
+ bearer_token : ${BEARER_TOKEN}
You can’t perform that action at this time.
0 commit comments