@@ -69,7 +69,7 @@ public void failedReconciliation(CustomResourceID customResourceID, RuntimeExcep
69
69
}
70
70
71
71
private void incrementCounter (CustomResourceID id , String counterName , String ... additionalTags ) {
72
- var tags = List .of ("namespace" , id .getNamespace ().orElse ("" ),
72
+ var tags = List .of ("name" , id . getName (), " namespace" , id .getNamespace ().orElse ("" ),
73
73
"scope" , id .getNamespace ().isPresent () ? "namespace" : "cluster" ,
74
74
"type" , "reconciliation" );
75
75
if (additionalTags != null && additionalTags .length > 0 ) {
@@ -81,7 +81,7 @@ private void incrementCounter(CustomResourceID id, String counterName, String...
81
81
82
82
private void incrementCounter (Event event , String counterName , String ... additionalTags ) {
83
83
final var id = event .getRelatedCustomResourceID ();
84
- var tags = List .of ("namespace" , id .getNamespace ().orElse ("" ),
84
+ var tags = List .of ("name" , id . getName (), " namespace" , id .getNamespace ().orElse ("" ),
85
85
"scope" , id .getNamespace ().isPresent () ? "namespace" : "cluster" ,
86
86
"type" , event .getClass ().getSimpleName ());
87
87
if (additionalTags != null && additionalTags .length > 0 ) {
0 commit comments