From 5f3c6bbb64eadb4a6e53db3ae3ee2b6babaf739f Mon Sep 17 00:00:00 2001 From: aprasad Date: Tue, 30 Jun 2026 15:44:23 +0530 Subject: [PATCH 1/2] Update Object Storage entity identifier to oci.resourceId OCI metrics stream processor now normalizes all resourceId dimension key variants (resourceID, ResourceId, ResourceID) to the canonical "resourceId". Update the Object Storage synthesis rule to match. Entity GUID is unaffected as it is derived from the identifier value (the OCID), not the attribute name. NR-579120 Co-Authored-By: Claude (claude-opus-4-6) --- entity-types/infra-ociobjectstoragebucket/definition.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/entity-types/infra-ociobjectstoragebucket/definition.yml b/entity-types/infra-ociobjectstoragebucket/definition.yml index 845c38449a..733686c685 100644 --- a/entity-types/infra-ociobjectstoragebucket/definition.yml +++ b/entity-types/infra-ociobjectstoragebucket/definition.yml @@ -14,14 +14,14 @@ synthesis: entityTagNames: [newrelic.cloudIntegrations.providerAccountName, providerAccountName] multiValue: false rules: - - ruleName: infra_ociobjectstoragebucket_oci_resourceID - identifier: oci.resourceID + - ruleName: infra_ociobjectstoragebucket_oci_resourceId + identifier: oci.resourceId name: oci.resourceDisplayName legacyFeatures: overrideGuidType: true encodeIdentifierInGUID: true conditions: - - attribute: oci.resourceID + - attribute: oci.resourceId prefix: "ocid1.bucket" - attribute: oci.namespace value: "oci_objectstorage" From 63824a830e7a688c1588cc2b9aea96ba7e567b41 Mon Sep 17 00:00:00 2001 From: aprasad Date: Tue, 30 Jun 2026 16:07:13 +0530 Subject: [PATCH 2/2] Fix test data to use oci.resourceId Update test Metric.json to use the normalized key name oci.resourceId (lowercase 'd') to match the updated synthesis rule. Co-Authored-By: Claude (claude-opus-4-6) --- entity-types/infra-ociobjectstoragebucket/tests/Metric.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entity-types/infra-ociobjectstoragebucket/tests/Metric.json b/entity-types/infra-ociobjectstoragebucket/tests/Metric.json index 8831d9a760..168ba41fd8 100644 --- a/entity-types/infra-ociobjectstoragebucket/tests/Metric.json +++ b/entity-types/infra-ociobjectstoragebucket/tests/Metric.json @@ -3,7 +3,7 @@ "oci.compartmentId": "ocid1.compartment.oc1..aaaaaaaabbbbbbccccccccdddddddeeeeeeefffffffgggggggghhhhhhhhiiiiiiiiijjjjjjjj", "oci.namespace": "oci_objectstorage", "oci.region": "ap-hyderabad-1", - "oci.resourceID": "ocid1.bucket.oc1.ap-hyderabad-1.aaaaaaaabbbbbbccccccccdddddddeeeeeeefffffffgggggggghhhhhhhhiiiiiiiiijjjjjjjj", + "oci.resourceId": "ocid1.bucket.oc1.ap-hyderabad-1.aaaaaaaabbbbbbccccccccdddddddeeeeeeefffffffgggggggghhhhhhhhiiiiiiiiijjjjjjjj", "oci.resourceDisplayName": "test", "oci.displayName": "test", "collector.name": "oci-monitor",