forked from NetApp/harvest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathharvest.cue
54 lines (46 loc) · 1.05 KB
/
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
48
49
50
51
52
53
54
package harvest
Exporters: [Name=_]: #Prom | #Influx
label: [string]: string
#Admin: {
addr?: string
}
#Prom: {
local_http_addr?: "0.0.0.0" | "localhost" | "127.0.0.1"
addr?: string // deprecated
exporter: "Prometheus"
port?: int
port_range?: string
allow_addrs_regex?: [...string]
add_meta_tags?: bool
}
#Influx: {
addr?: string // one of addr|url
url?: string
exporter: "InfluxDB"
bucket: string
org: string
token?: string
allow_addrs_regex: [...string]
}
#CollectorDef: {
[Name=_]: [...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
client_timeout?: string
collectors?: [...#CollectorDef] | [...string]
exporters: [...string]
log: [...string]
labels?: [...label]
}