forked from NetApp/harvest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathharvest.cue
47 lines (40 loc) · 872 Bytes
/
harvest.cue
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
package harvest
Exporters: [Name=_]: #Prom | #Influx | #PromConsul
#Prom: {
addr: string
exporter: "Prometheus"
port?: int
port_range?: string
allow_addrs_regex?: [...string]
}
#PromConsul: {
addr: string
exporter: "PrometheusConsul"
service_name: string
tags: [...string]
}
#Influx: {
addr?: string // one of addr|url
url?: string
exporter: "InfluxDB"
bucket: string
org: string
token?: string
allow_addrs_regex: [...string]
}
Pollers: [Name=_]: #Poller
#Poller: {
datacenter?: string
auth_style?: "basic_auth" | "certificate_auth"
ssl_cert?: string
ssl_key?: string
username?: string
password?: string
use_insecure_tls?: bool
is_kfs?: bool
addr?: string
log_max_bytes?: int
log_max_files?: int
collectors: [...string]
exporters: [...string]
}