File tree Expand file tree Collapse file tree 4 files changed +291
-212
lines changed Expand file tree Collapse file tree 4 files changed +291
-212
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,11 @@ groups:
16
16
group1 :
17
17
username : group1_user
18
18
password : group1_pass
19
+ flakey :
20
+ username : " Administrator"
21
+ password : " Password"
22
+ disabled_metrics :
23
+ - " ethernet_interfaces"
19
24
` ` `
20
25
Note that the ` ` ` default``` entry is useful as it avoids an error
21
26
condition that is discussed in [this issue][2].
@@ -74,7 +79,6 @@ curl '127.0.0.1:9123/redfish?target=10.10.12.23&collectlogs=true'
74
79
75
80
The `collectlogs` query parameter can be included in Prometheus config.
76
81
77
-
78
82
# ## Log collection count
79
83
80
84
To restrict the number of logs collected for all log services :
@@ -114,6 +118,34 @@ hosts:
114
118
Sel: -1
115
119
` ` `
116
120
121
+ # # Disabling collection of specific groups of metrics
122
+
123
+ Sometimes it isn't possible to gather all metrics from a BMC because
124
+ it doesn't conform to the Redfish standard due to a bug. Or perhaps
125
+ you don't need all the metrics. In either case, basic support exists
126
+ for skipping specific metric groups at the `default`, `group` or
127
+ `host` level :
128
+
129
+ ` ` ` yaml
130
+ hosts:
131
+ 10.36.48.24:
132
+ username: admin
133
+ password: pass
134
+ disabled_metrics:
135
+ - "ethernet_interfaces"
136
+ default:
137
+ username: admin
138
+ password: pass
139
+ disabled_metrics:
140
+ - "memory"
141
+ - "processor"
142
+ - "storage"
143
+ - "pcie_devices"
144
+ - "network_interfaces"
145
+ - "ethernet_interfaces"
146
+ - "simple_storage"
147
+ - "pcie_functions"
148
+ ` ` `
117
149
118
150
# # Building
119
151
You can’t perform that action at this time.
0 commit comments