forked from narendergaddam/victoriametrics-rpm
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathprometheus.yml
41 lines (40 loc) · 1.04 KB
/
prometheus.yml
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
# https://docs.victoriametrics.com/
#
# https://github.com/VictoriaMetrics/VictoriaMetrics/blob/cluster/deployment/docker/prometheus.yml
#
# Example to use vmagent with VictoriaMetrics Cluster
#
# global:
# scrape_interval: 1s
# evaluation_interval: 1s
#
# scrape_configs:
# - job_name: 'vmagent'
# static_configs:
# - targets: ['vmagent:8429']
# - job_name: 'vmalert'
# static_configs:
# - targets: ['vmalert:8880']
# - job_name: 'vminsert'
# static_configs:
# - targets: ['vminsert:8480']
# - job_name: 'vmselect'
# static_configs:
# - targets: ['vmselect:8481']
# - job_name: 'vmstorage'
# static_configs:
# - targets: ['vmstorage:8482']
#
# Example to use vmagent with VictoriaMetrics Single
global:
scrape_interval: 10s
scrape_configs:
- job_name: 'vmagent'
static_configs:
- targets: ['127.0.0.1:8429']
# - job_name: 'vmalert'
# static_configs:
# - targets: ['127.0.0.1:8880']
- job_name: 'victoriametrics'
static_configs:
- targets: ['127.0.0.1:8428']