luoyb
2021-01-31 d9a1c41b0adb5ca2263348e1cc4e8b7bbdafc35d
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
global:
  scrape_interval:     15s
  evaluation_interval: 15s
 
scrape_configs:
  - job_name: 'prometheus'
    static_configs:
      - targets: ['YOUR-IP:8403']
  - job_name: 'node_exporter'
    static_configs:
      - targets: ['YOUR-IP:8405']
        labels:
          instance: 'node_exporter'
  - job_name: 'redis_exporter'
    static_configs:
      - targets: ['YOUR-IP:8408']
        labels:
          instance: 'redis_exporter'
  - job_name: 'mysql_exporter'
    static_configs:
      - targets: ['YOUR-IP:8409']
        labels:
          instance: 'mysql_exporter'
  - job_name: 'cadvisor'
    static_configs:
      - targets: ['YOUR-IP:8407']
        labels:
          instance: 'cadvisor'
 
  - job_name: 'febs-server-system-actuator'
    metrics_path: '/actuator/prometheus'
    scrape_interval: 5s
    static_configs:
      - targets: ['YOUR-IP:8201']
        labels:
          instance: 'febs-server-system'
  - job_name: 'febs-server-auth-actuator'
    metrics_path: '/actuator/prometheus'
    scrape_interval: 5s
    static_configs:
      - targets: ['YOUR-IP:8101']
        labels:
          instance: 'febs-auth'
  - job_name: 'febs-server-test-actuator'
    metrics_path: '/actuator/prometheus'
    scrape_interval: 5s
    static_configs:
      - targets: ['YOUR-IP:8202']
        labels:
          instance: 'febs-server-test'
  - job_name: 'febs-server-job-actuator'
    metrics_path: '/actuator/prometheus'
    scrape_interval: 5s
    static_configs:
      - targets: ['YOUR-IP:8204']
        labels:
          instance: 'febs-server-job'
  - job_name: 'febs-tx-manager-actuator'
    metrics_path: '/actuator/prometheus'
    scrape_interval: 5s
    static_configs:
      - targets: ['YOUR-IP:8501']
        labels:
          instance: 'febs-tx-manager'
rule_files:
  - 'memory_over.yml'
  - 'server_down.yml'
alerting:
  alertmanagers:
    - static_configs:
        - targets: ["YOUR-IP:8406"]