Skip to content

Commit 5c86885

Browse files
committed
Use correct track type for NDM metadata
1 parent 6d8c377 commit 5c86885

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cisco_aci/tests/test_fabric.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def test_fabric_mocked(aggregator):
4848
check.check({})
4949

5050
if six.PY3:
51-
ndm_metadata = aggregator.get_event_platform_events("ndm")
51+
ndm_metadata = aggregator.get_event_platform_events("network-devices-metadata")
5252
device_metadata = [dm for dm in ndm_metadata if 'devices' in dm and len(dm['devices']) > 0]
5353
interface_metadata = [im for im in ndm_metadata if 'interfaces' in im and len(im['interfaces']) > 0]
5454

datadog_checks_base/datadog_checks/base/checks/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ def ndm_metadata(self, raw_event):
666666
# type: (str) -> None
667667
if raw_event is None:
668668
return
669-
aggregator.submit_event_platform_event(self, self.check_id, to_native_string(raw_event), "ndm")
669+
aggregator.submit_event_platform_event(self, self.check_id, to_native_string(raw_event), "network-devices-metadata")
670670

671671
def should_send_metric(self, metric_name):
672672
return not self._metric_excluded(metric_name) and self._metric_included(metric_name)

0 commit comments

Comments
 (0)