forked from RushCrew/rush-deal
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprometheus.yml
More file actions
84 lines (75 loc) · 2.45 KB
/
prometheus.yml
File metadata and controls
84 lines (75 loc) · 2.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
global:
scrape_interval: 10s
scrape_configs:
- job_name: "discovery-service"
metrics_path: "/actuator/prometheus"
static_configs:
- targets: ["host.docker.internal:8761"]
metric_relabel_configs:
- source_labels: [__name__]
target_label: application
replacement: "discovery-service"
- job_name: "api-gateway"
metrics_path: "/actuator/prometheus"
static_configs:
- targets: ["host.docker.internal:8080"]
metric_relabel_configs:
- source_labels: [__name__]
target_label: application
replacement: "api-gateway"
- job_name: "auth-service"
metrics_path: "/actuator/prometheus"
static_configs:
- targets: ["host.docker.internal:8000"]
metric_relabel_configs:
- source_labels: [__name__]
target_label: application
replacement: "auth-service"
- job_name: "user-service"
metrics_path: "/actuator/prometheus"
static_configs:
- targets: ["host.docker.internal:8060"]
metric_relabel_configs:
- source_labels: [__name__]
target_label: application
replacement: "user-service"
- job_name: "payment-service"
metrics_path: "/actuator/prometheus"
static_configs:
- targets: ["host.docker.internal:8010"]
metric_relabel_configs:
- source_labels: [__name__]
target_label: application
replacement: "payment-service"
- job_name: "order-service"
metrics_path: "/actuator/prometheus"
static_configs:
- targets: ["host.docker.internal:8050"]
metric_relabel_configs:
- source_labels: [__name__]
target_label: application
replacement: "order-service"
- job_name: "product-service"
metrics_path: "/actuator/prometheus"
static_configs:
- targets: ["host.docker.internal:8020"]
metric_relabel_configs:
- source_labels: [__name__]
target_label: application
replacement: "product-service"
- job_name: "timedeal-service"
metrics_path: "/actuator/prometheus"
static_configs:
- targets: ["host.docker.internal:8030"]
metric_relabel_configs:
- source_labels: [__name__]
target_label: application
replacement: "timedeal-service"
- job_name: "queue-service"
metrics_path: "/actuator/prometheus"
static_configs:
- targets: ["host.docker.internal:8040"]
metric_relabel_configs:
- source_labels: [__name__]
target_label: application
replacement: "queue-service"