@@ -140,25 +140,25 @@ var (
140
140
Metrics : map [string ][]* labelValues {
141
141
"scheduler_framework_extension_point_duration_seconds" : {
142
142
{
143
- label : extensionPointsLabelName ,
144
- values : metrics .ExtentionPoints ,
143
+ Label : extensionPointsLabelName ,
144
+ Values : metrics .ExtentionPoints ,
145
145
},
146
146
},
147
147
"scheduler_scheduling_attempt_duration_seconds" : {
148
148
{
149
- label : resultLabelName ,
150
- values : []string {metrics .ScheduledResult , metrics .UnschedulableResult , metrics .ErrorResult },
149
+ Label : resultLabelName ,
150
+ Values : []string {metrics .ScheduledResult , metrics .UnschedulableResult , metrics .ErrorResult },
151
151
},
152
152
},
153
153
"scheduler_pod_scheduling_duration_seconds" : nil ,
154
154
"scheduler_plugin_execution_duration_seconds" : {
155
155
{
156
- label : pluginLabelName ,
157
- values : PluginNames ,
156
+ Label : pluginLabelName ,
157
+ Values : PluginNames ,
158
158
},
159
159
{
160
- label : extensionPointsLabelName ,
161
- values : metrics .ExtentionPoints ,
160
+ Label : extensionPointsLabelName ,
161
+ Values : metrics .ExtentionPoints ,
162
162
},
163
163
},
164
164
},
@@ -167,18 +167,18 @@ var (
167
167
qHintMetrics = map [string ][]* labelValues {
168
168
"scheduler_queueing_hint_execution_duration_seconds" : {
169
169
{
170
- label : pluginLabelName ,
171
- values : PluginNames ,
170
+ Label : pluginLabelName ,
171
+ Values : PluginNames ,
172
172
},
173
173
{
174
- label : eventLabelName ,
175
- values : schedframework .AllClusterEventLabels (),
174
+ Label : eventLabelName ,
175
+ Values : schedframework .AllClusterEventLabels (),
176
176
},
177
177
},
178
178
"scheduler_event_handling_duration_seconds" : {
179
179
{
180
- label : eventLabelName ,
181
- values : schedframework .AllClusterEventLabels (),
180
+ Label : eventLabelName ,
181
+ Values : schedframework .AllClusterEventLabels (),
182
182
},
183
183
},
184
184
}
0 commit comments