File tree Expand file tree Collapse file tree 8 files changed +24
-7
lines changed Expand file tree Collapse file tree 8 files changed +24
-7
lines changed Original file line number Diff line number Diff line change @@ -50,4 +50,5 @@ REDIS_URL=redis://localhost:6379
50
50
51
51
# === PROMETHEUS ===
52
52
PROMETHEUS_ENABLED = true
53
- PROMETHEUS_MODE = http_requests_total
53
+ # PROMETHEUS_MODE=http_requests_total
54
+ PROMETHEUS_MODE = all
Original file line number Diff line number Diff line change @@ -49,4 +49,5 @@ REDIS_URL=redis://localhost:6379
49
49
50
50
# === PROMETHEUS ===
51
51
PROMETHEUS_ENABLED = true
52
- PROMETHEUS_MODE = http_requests_total
52
+ # PROMETHEUS_MODE=http_requests_total
53
+ PROMETHEUS_MODE = all
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ services:
31
31
image : prom/prometheus
32
32
container_name : prometheus
33
33
volumes :
34
+ - prometheus_data:/prometheus
34
35
- ./prometheus.yml:/etc/prometheus/prometheus.yml
35
36
ports :
36
37
- " 9090:9090"
@@ -51,4 +52,7 @@ services:
51
52
image : redislabs/redisinsight:1.14.0
52
53
container_name : redisinsight
53
54
ports :
54
- - " 8001:8001"
55
+ - " 8001:8001"
56
+
57
+ volumes :
58
+ prometheus_data :
Original file line number Diff line number Diff line change @@ -53,4 +53,3 @@ REDIS_URL=redis://localhost:6379
53
53
PROMETHEUS_ENABLED = true
54
54
# PROMETHEUS_MODE=http_requests_total
55
55
PROMETHEUS_MODE = all
56
-
Original file line number Diff line number Diff line change @@ -50,4 +50,5 @@ REDIS_URL=redis://localhost:6379
50
50
51
51
# === PROMETHEUS ===
52
52
PROMETHEUS_ENABLED = true
53
- PROMETHEUS_MODE = http_requests_total
53
+ # PROMETHEUS_MODE=http_requests_total
54
+ PROMETHEUS_MODE = all
Original file line number Diff line number Diff line change @@ -36,4 +36,5 @@ REDIS_URL=redis://localhost:6379
36
36
37
37
# === PROMETHEUS ===
38
38
PROMETHEUS_ENABLED = true
39
- PROMETHEUS_MODE = http_requests_total
39
+ # PROMETHEUS_MODE=http_requests_total
40
+ PROMETHEUS_MODE = all
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ services:
31
31
image : prom/prometheus
32
32
container_name : prometheus
33
33
volumes :
34
+ - prometheus_data:/prometheus
34
35
- ./prometheus.yml:/etc/prometheus/prometheus.yml
35
36
ports :
36
37
- " 9090:9090"
@@ -51,4 +52,7 @@ services:
51
52
image : redislabs/redisinsight:1.14.0
52
53
container_name : redisinsight
53
54
ports :
54
- - " 8001:8001"
55
+ - " 8001:8001"
56
+
57
+ volumes :
58
+ prometheus_data :
Original file line number Diff line number Diff line change @@ -13,3 +13,9 @@ scrape_configs:
13
13
static_configs :
14
14
- targets :
15
15
- host.docker.internal:3002
16
+
17
+ - job_name : ' backend-springboot'
18
+ metrics_path : ' /prometheus'
19
+ static_configs :
20
+ - targets :
21
+ - host.docker.internal:3003
You can’t perform that action at this time.
0 commit comments