Skip to content

Commit 15a5693

Browse files
committed
fix: ibmmq manager entity synthesis rule
1 parent a10c442 commit 15a5693

2 files changed

Lines changed: 43 additions & 4 deletions

File tree

entity-types/infra-ibmmq_manager/definition.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ synthesis:
1818
- attribute: metricName
1919
prefix: ibmmq_qmgr
2020
- attribute: instrumentation.provider
21-
present: false
21+
value: newRelic
2222
tags:
2323
clusterName:
2424

@@ -35,7 +35,7 @@ synthesis:
3535
- attribute: metricName
3636
prefix: ibmmq_channel
3737
- attribute: instrumentation.provider
38-
present: false
38+
value: newRelic
3939
tags:
4040
clusterName:
4141

@@ -52,7 +52,7 @@ synthesis:
5252
- attribute: metricName
5353
prefix: ibmmq_subscription
5454
- attribute: instrumentation.provider
55-
present: false
55+
value: newRelic
5656
tags:
5757
clusterName:
5858

entity-types/infra-ibmmq_manager/tests/Metric.json

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,44 @@
5252
},
5353
"timestamp": 1747699200000,
5454
"unit": "1"
55-
}
55+
},
56+
{
57+
"collector.name": "infrastructure-agent",
58+
"collector.version": "1.57.2",
59+
"endTimestamp": 1783933200000,
60+
"host.fullHostname": "RTPMQPRD03.crbcloud.com",
61+
"host.hostname": "RTPMQPRD03",
62+
"host.instanceType": "m6a.large",
63+
"host.operatingSystem": "windows",
64+
"host.windowsFamily": "Server",
65+
"host.windowsPlatform": "Microsoft Windows Server 2022 Datacenter",
66+
"host.windowsVersion": "10.0.20348.5256 Build 20348.5256",
67+
"hostStatus": "running",
68+
"ibmmq_qmgr_failed_mqset_count": {
69+
"type": "gauge",
70+
"count": 2,
71+
"sum": 0,
72+
"min": 0,
73+
"max": 0,
74+
"latest": 0
75+
},
76+
"instrumentation.name": "ibmmq",
77+
"instrumentation.provider": "newRelic",
78+
"instrumentation.version": "0.4.3",
79+
"metricName": "ibmmq_qmgr_failed_mqset_count",
80+
"newrelic.agentVersion": "1.57.2",
81+
"newrelic.cloudIntegrations.providerAccountId": "127075",
82+
"newrelic.cloudIntegrations.providerAccountName": "Shared_Services",
83+
"newrelic.cloudIntegrations.providerExternalId": "193244750463",
84+
"newrelic.source": "metricAPI",
85+
"nr.dataPointCount": 2,
86+
"nr.duration": 60000,
87+
"nr.endTimestampRange": 1783933200000,
88+
"platform": "WINDOWS_NT",
89+
"qmgr": "CRBRTPMGR2",
90+
"scrapedTargetKind": "user_provided",
91+
"scrapedTargetName": "i-00377dd840f8ee5ce:9157",
92+
"scrapedTargetURL": "http://localhost:9157/metrics",
93+
"timestamp": 1783933140000
94+
}
5695
]

0 commit comments

Comments
 (0)