-
Notifications
You must be signed in to change notification settings - Fork 16
/
config.yaml
64 lines (63 loc) · 2.24 KB
/
config.yaml
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
55
56
57
58
59
60
61
62
63
64
# Copyright 2023 Canonical Ltd.
# See LICENSE file for licensing details.
#
options:
hardware-exporter-port:
type: int
default: 10200
description: |
Start the prometheus hardware exporter at "hardware-exporter-port". By default,
it will start at port 10200.
smartctl-exporter-port:
type: int
default: 10201
description: |
Start the prometheus smartctl exporter at "smartctl-exporter-port". By default,
it will start at port 10201.
dcgm-snap-channel:
type: string
default: "latest/stable"
description: |
Channel to install the DCGM snap if the hardware has NVIDIA GPU. By default, it will install
from latest/stable
smartctl-exporter-snap-channel:
type: string
default: "latest/stable"
description: |
Channel to install the Smartctl exporter snap if the hardware has smart disk. By default, it will install
from latest/stable.
exporter-log-level:
type: string
default: "INFO"
description: |
Start the prometheus exporter with log level "exporter-log-level". By
default, it will set to INFO. Allowed values are "DEBUG", "INFO",
"WARNING", "ERROR", "CRITICAL". Values other than those will result in
failure of the exporter.
collect-timeout:
type: int
default: 10
description: |
Timeout for collectors' shell commands in seconds. Changing this will also change
the scrape_timeout config option for prometheus for the cos-agent relation with
grafana-agent.
This value is also used for the redfish client's timeout parameter.
The value of this timeout should not be greater than prometheus scrape_interval (which
is 60 seconds by default), as it greater would cause the scrape_timeout to be
greater than scrape_interval.
redfish-username:
type: string
default: ""
description: |
BMC username to be used by the redfish collector.
redfish-password:
type: string
default: ""
description: |
BMC password to be used by the redfish collector.
redfish-disable:
type: boolean
default: false
description: |
Boolean flag to force disabling the Redfish collector. The collector will normally be run if
Redfish support is detected on the unit.