about summary refs log tree commit diff
path: root/bundles/prometheus/files/prometheus.yml
blob: 0614c8c0c74e6afd572a5ac92738ba851560e0f2 (plain) (blame)
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
global:
  scrape_interval: 60s
  scrape_timeout: 30s
  # evaluation_interval: 30s
  # body_size_limit: 15MB
  # sample_limit: 1500
  # target_limit: 30
  # label_limit: 30
  # label_name_length_limit: 200
  # label_value_length_limit: 200

rule_files:
  - rule_*.yml

scrape_configs:

  - job_name: prometheus
    static_configs:
    - targets: [localhost:9090]
      labels:
        instance: inazuma

  - job_name: service-discovery
    file_sd_configs:
      - files:
          - /etc/prometheus/services/*.json
          - /etc/prometheus/services/*.yaml
          - /etc/prometheus/services/*.yml