Skip to content

Commit f33f21e

Browse files
committed
prometheous
1 parent aef1765 commit f33f21e

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

.DS_Store

0 Bytes
Binary file not shown.

prometheous/prometheus.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
global:
2+
scrape_interval: 10s
3+
evaluation_interval: 10s
4+
5+
scrape_configs:
6+
- job_name: 'employee_service'
7+
metrics_path: '/actuator/prometheus'
8+
static_configs:
9+
- targets: ['emplpoyee-service:8086']
10+
labels:
11+
application: 'Employee Service Application'
12+
- job_name: 'order_service'
13+
metrics_path: '/actuator/prometheus'
14+
static_configs:
15+
- targets: ['order-service:8085']
16+
labels:
17+
application: 'Order Service Application'
18+
- job_name: 'inventory_service'
19+
metrics_path: '/actuator/prometheus'
20+
static_configs:
21+
- targets: ['inventory-service:8084']
22+
labels:
23+
application: 'Inventory Service Application'
24+
- job_name: 'branch_service'
25+
metrics_path: '/actuator/prometheus'
26+
static_configs:
27+
- targets: ['branch-service:8082']
28+
labels:
29+
application: 'Branch Service Application'
30+
- job_name: 'supplier_service'
31+
metrics_path: '/actuator/prometheus'
32+
static_configs:
33+
- targets: ['supplier-service:8087']
34+
labels:
35+
application: 'Supplier Service Application'

0 commit comments

Comments
 (0)