Skip to content

Commit c9c1070

Browse files
add tests for nri-bundle rules
1 parent 891beca commit c9c1070

2 files changed

Lines changed: 86 additions & 0 deletions

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[
2+
{
3+
"clusterName": "cnc-v-ccu-monitor",
4+
"createdAt": 1747263194,
5+
"displayName": "default",
6+
"entityGuid": "MTIxNDgyNzF8SU5GUkF8TkF8NjQ3Mjg2MDQwMjg3OTMwMTc1Mw",
7+
"entityId": "6472860402879301753",
8+
"entityKey": "k8s:cnc-v-ccu-monitor:namespace:default",
9+
"entityName": "k8s:cnc-v-ccu-monitor:namespace:default",
10+
"entityType": "KUBERNETES_NAMESPACE",
11+
"event_type": "K8sNamespaceSample",
12+
"externalKey": "k8s:cnc-v-ccu-monitor:namespace:default",
13+
"integrationName": "com.newrelic.kubernetes",
14+
"integrationVersion": "3.33.1",
15+
"namespace": "default",
16+
"namespaceName": "default",
17+
"nr.ingestTimeMs": 1769513540000,
18+
"reportingAgent": "i-0b7e67d3117b004b7",
19+
"status": "Active",
20+
"timestamp": 1769513539000
21+
}
22+
]
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
[
2+
{
3+
"clusterName": "cnc-v-ccu-monitor",
4+
"createdAt": 1747688330,
5+
"deploymentName": "cnc-apm-golang-demo-deployment",
6+
"displayName": "cnc-apm-golang-demo-deployment-56d6cf578f",
7+
"entityGuid": "MTIxNDgyNzF8SU5GUkF8TkF8NTkwNTIwMTczNjYyMjU0NTAxMA",
8+
"entityId": "5905201736622545010",
9+
"entityKey": "k8s:cnc-v-ccu-monitor:default:replicaset:cnc-apm-golang-demo-deployment-56d6cf578f",
10+
"entityName": "k8s:cnc-v-ccu-monitor:default:replicaset:cnc-apm-golang-demo-deployment-56d6cf578f",
11+
"entityType": "KUBERNETES_REPLICASET",
12+
"event_type": "K8sReplicasetSample",
13+
"externalKey": "k8s:cnc-v-ccu-monitor:default:replicaset:cnc-apm-golang-demo-deployment-56d6cf578f",
14+
"integrationName": "com.newrelic.kubernetes",
15+
"integrationVersion": "3.33.1",
16+
"metadataGeneration": 1,
17+
"namespace": "default",
18+
"namespaceName": "default",
19+
"nr.ingestTimeMs": 1769513615000,
20+
"observedGeneration": 1,
21+
"ownerIsController": "true",
22+
"ownerKind": "Deployment",
23+
"ownerName": "cnc-apm-golang-demo-deployment",
24+
"podsDesired": 1,
25+
"podsFullyLabeled": 1,
26+
"podsMissing": 0,
27+
"podsReady": 1,
28+
"podsTotal": 1,
29+
"replicasetName": "cnc-apm-golang-demo-deployment-56d6cf578f",
30+
"reportingAgent": "i-0b7e67d3117b004b7",
31+
"timestamp": 1769513614000
32+
},
33+
{
34+
"clusterName": "cnc-v-ccu-monitor",
35+
"createdAt": 1747424224,
36+
"deploymentName": "newrelic-nri-metadata-injection",
37+
"displayName": "newrelic-nri-metadata-injection-845b9dbdb",
38+
"entityGuid": "MTIxNDgyNzF8SU5GUkF8TkF8NzI0MzI5NzAxMTczNTM0OTQ3MA",
39+
"entityId": "7243297011735349470",
40+
"entityKey": "k8s:cnc-v-ccu-monitor:newrelic:replicaset:newrelic-nri-metadata-injection-845b9dbdb",
41+
"entityName": "k8s:cnc-v-ccu-monitor:newrelic:replicaset:newrelic-nri-metadata-injection-845b9dbdb",
42+
"entityType": "KUBERNETES_REPLICASET",
43+
"event_type": "K8sReplicasetSample",
44+
"externalKey": "k8s:cnc-v-ccu-monitor:newrelic:replicaset:newrelic-nri-metadata-injection-845b9dbdb",
45+
"integrationName": "com.newrelic.kubernetes",
46+
"integrationVersion": "3.33.1",
47+
"metadataGeneration": 1,
48+
"namespace": "newrelic",
49+
"namespaceName": "newrelic",
50+
"nr.ingestTimeMs": 1769513615000,
51+
"observedGeneration": 1,
52+
"ownerIsController": "true",
53+
"ownerKind": "Deployment",
54+
"ownerName": "newrelic-nri-metadata-injection",
55+
"podsDesired": 1,
56+
"podsFullyLabeled": 1,
57+
"podsMissing": 0,
58+
"podsReady": 1,
59+
"podsTotal": 1,
60+
"replicasetName": "newrelic-nri-metadata-injection-845b9dbdb",
61+
"reportingAgent": "i-0b7e67d3117b004b7",
62+
"timestamp": 1769513614000
63+
}
64+
]

0 commit comments

Comments
 (0)