Skip to content

Commit be32a59

Browse files
committed
[fix/#12] 모니터링 env 환경변수 제거
1 parent 349b5c9 commit be32a59

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

loki-config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
auth_enabled: false
22

33
server:
4-
http_listen_port: ${LOKI_PORT}
4+
http_listen_port: 3100
55

66
ingester:
77
wal:

promtail-config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
server:
2-
http_listen_port: ${PROMTAIL_PORT}
2+
http_listen_port: 9080
33

44
positions:
55
filename: /tmp/positions.yaml

src/main/resources/prometheus.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
global:
2-
scrape_interval: ${PROMETHEUS_SCRAPE_INTERVAL}
2+
scrape_interval: 5s
33

44
scrape_configs:
55
- job_name: 'prometheus'
@@ -9,4 +9,4 @@ scrape_configs:
99
- job_name: 'moplus_server'
1010
metrics_path: '/actuator/prometheus'
1111
static_configs:
12-
- targets: ['${PROMETHEUS_TARGET_BACKEND}']
12+
- targets: back:8080

0 commit comments

Comments
 (0)