dragonfly

Форк
0
54 строки · 1.3 Кб
1
# my global config
2
global:
3
  scrape_interval:     5s
4
  evaluation_interval: 5s
5

6
  # Attach these labels to any time series or alerts when communicating with
7
  # external systems (federation, remote storage, Alertmanager).
8
  external_labels:
9
      monitor: 'my-project'
10

11
# Load and evaluate rules in this file every 'evaluation_interval' seconds.
12
# rule_files:
13
  # - 'alert.rules'
14
  # - "first.rules"
15
  # - "second.rules"
16

17
# alert
18
# alerting:
19
#   alertmanagers:
20
#   - scheme: http
21
#     static_configs:
22
#     - targets:
23
#       - "alertmanager:9093"
24

25
# A scrape configuration containing exactly one endpoint to scrape:
26
# Here it's Prometheus itself.
27
scrape_configs:
28
  # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
29

30
  - job_name: dragonfly
31
    scrape_interval: 1s
32
    static_configs:
33
      - targets: ['host.docker.internal:6379']
34

35
  - job_name: 'prometheus'
36

37
    # Override the global default and scrape targets from this job every 5 seconds.
38
    scrape_interval: 1s
39

40
    static_configs:
41
         - targets: ['localhost:9090']
42

43

44
  - job_name: 'node-exporter'
45
    scrape_interval: 1s
46
    static_configs:
47
      - targets: ['node-exporter:9100']
48
        labels:
49
          instance: node
50

51
  - job_name: 'memcached-exporter'
52
    scrape_interval: 1s
53
    static_configs:
54
      - targets: ['memcached-exporter:9150']
55

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.