@@ -184,98 +184,98 @@ processors:
184
184
- action: aggregate_labels
185
185
# label_set is the allowlist of labels to keep after aggregation
186
186
label_set: [status, operation]
187
- aggregation_type: sum
187
+ aggregation_type: max
188
188
- include: declared_resources
189
189
action: update
190
190
new_name: current_declared_resources
191
191
operations:
192
192
- action: aggregate_labels
193
193
label_set: []
194
- aggregation_type: sum
194
+ aggregation_type: max
195
195
- include: kcc_resource_count
196
196
action: update
197
197
operations:
198
198
- action: aggregate_labels
199
199
label_set: [resourcegroup]
200
- aggregation_type: sum
200
+ aggregation_type: max
201
201
- include: reconciler_errors
202
202
action: update
203
203
new_name: last_reconciler_errors
204
204
operations:
205
205
- action: aggregate_labels
206
206
label_set: [component, errorclass]
207
- aggregation_type: sum
207
+ aggregation_type: max
208
208
- include: reconcile_duration_seconds
209
209
action: update
210
210
operations:
211
211
- action: aggregate_labels
212
212
label_set: [status]
213
- aggregation_type: sum
213
+ aggregation_type: max
214
214
- include: rg_reconcile_duration_seconds
215
215
action: update
216
216
operations:
217
217
- action: aggregate_labels
218
218
label_set: [stallreason]
219
- aggregation_type: sum
219
+ aggregation_type: max
220
220
- include: last_sync_timestamp
221
221
action: update
222
222
operations:
223
223
- action: aggregate_labels
224
224
label_set: [status]
225
- aggregation_type: sum
225
+ aggregation_type: max
226
226
- include: parser_duration_seconds
227
227
action: update
228
228
operations:
229
229
- action: aggregate_labels
230
230
label_set: [status, source, trigger]
231
- aggregation_type: sum
231
+ aggregation_type: max
232
232
- include: pipeline_error_observed
233
233
action: update
234
234
new_name: last_pipeline_error_observed
235
235
operations:
236
236
- action: aggregate_labels
237
237
label_set: [name, component, reconciler]
238
- aggregation_type: sum
238
+ aggregation_type: max
239
239
- include: apply_operations_total
240
240
action: update
241
241
new_name: apply_operations_count
242
242
operations:
243
243
- action: aggregate_labels
244
244
label_set: [controller, operation, status]
245
- aggregation_type: sum
245
+ aggregation_type: max
246
246
- include: apply_duration_seconds
247
247
action: update
248
248
operations:
249
249
- action: aggregate_labels
250
250
label_set: [status]
251
- aggregation_type: sum
251
+ aggregation_type: max
252
252
- include: resource_fights_total
253
253
action: update
254
254
new_name: resource_fights_count
255
255
operations:
256
256
- action: aggregate_labels
257
257
label_set: [name, component, reconciler]
258
- aggregation_type: sum
258
+ aggregation_type: max
259
259
- include: resource_conflicts_total
260
260
action: update
261
261
new_name: resource_conflicts_count
262
262
operations:
263
263
- action: aggregate_labels
264
264
label_set: []
265
- aggregation_type: sum
265
+ aggregation_type: max
266
266
- include: internal_errors_total
267
267
action: update
268
268
new_name: internal_errors_count
269
269
operations:
270
270
- action: aggregate_labels
271
271
label_set: []
272
- aggregation_type: sum
272
+ aggregation_type: max
273
273
- include: remediate_duration_seconds
274
274
action: update
275
275
operations:
276
276
- action: aggregate_labels
277
277
label_set: [status]
278
- aggregation_type: sum
278
+ aggregation_type: max
279
279
extensions:
280
280
health_check:
281
281
service:
0 commit comments