Skip to content

Commit 4392e36

Browse files
fix: promote OCIMYSQLDATABASE entity definition to production (#3033)
NR-577618 - Fix synthesis rule: use oci.resourceName (exists in metric data) instead of oci.resourceDisplayName (does not exist), which caused entity synthesis to fail silently - Promote from staging (.stg.yml) to production (.yml) for catalog visibility - Update test file to match real oci-metric-streams payload Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 859cd94 commit 4392e36

5 files changed

Lines changed: 20 additions & 19 deletions

File tree

entity-types/infra-ocimysqldatabase/definition.stg.yml renamed to entity-types/infra-ocimysqldatabase/definition.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ synthesis:
1919
rules:
2020
- ruleName: infra_ocimysqldatabase_oci_resourceId
2121
identifier: oci.resourceId
22-
name: oci.resourceDisplayName
22+
name: oci.resourceName
2323
legacyFeatures:
2424
overrideGuidType: true
2525
encodeIdentifierInGUID: true

entity-types/infra-ocimysqldatabase/golden_metrics.stg.yml renamed to entity-types/infra-ocimysqldatabase/golden_metrics.yml

File renamed without changes.

entity-types/infra-ocimysqldatabase/summary_metrics.stg.yml renamed to entity-types/infra-ocimysqldatabase/summary_metrics.yml

File renamed without changes.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[
2+
{
3+
"oci.compartmentId": "ocid1.compartment.oc1..aaaaaaaay26rs4myciv3iobbuxil2k47akp2fexsv2bwurkvjkv6u7y7e25q",
4+
"oci.namespace": "oci_mysql_database",
5+
"oci.region": "us-ashburn-1",
6+
"oci.resourceId": "ocid1.mysqldbsystem.oc1.iad.aaaaaaaaqcz5yw6puypl2vcdvk6dnf46qwiuohvywy64fkkud4cs5juyb3ga",
7+
"oci.resourceName": "test-user-1",
8+
"oci.resourceType": "mysql",
9+
"oci.accountId": "ocid1.tenancy.oc1..aaaaaaaaslaq5synueyzouxaimk3szzf66iw6od7xyiam5myn4lqhcsfu5fq",
10+
"oci.accountName": "oci_test_1",
11+
"collector.name": "oci-metric-streams",
12+
"instrumentation.provider": "oci",
13+
"metricName": "oci.mysql.database.cpuutilization",
14+
"newrelic.cloudIntegrations.providerAccountId": "69877",
15+
"newrelic.cloudIntegrations.providerAccountName": "oci_test_1",
16+
"newrelic.cloudIntegrations.providerExternalId": "ocid1.tenancy.oc1..aaaaaaaaslaq5synueyzouxaimk3szzf66iw6od7xyiam5myn4lqhcsfu5fq",
17+
"newrelic.source": "metricAPI"
18+
}
19+
]

entity-types/infra-ocimysqldatabase/tests/Metric.stg.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)