Skip to content

Commit 979e3f3

Browse files
authored
Add debug log line for external tags (#18774)
* Add debug log line for external tags * Add changelog
1 parent 96c2b3d commit 979e3f3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

vsphere/changelog.d/18774.fixed

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add debug log line for host tags.

vsphere/datadog_checks/vsphere/vsphere.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,7 @@ def submit_external_host_tags(self):
616616
mor_tags = mor_props['tags'] + mor_tags
617617
tags = [t for t in mor_tags if t.split(':')[0] not in self._config.excluded_host_tags]
618618
tags.extend(self._config.base_tags)
619+
self.log.debug("Submitting host tags for %s: %s", hostname, tags)
619620
external_host_tags.append((hostname, {self.__NAMESPACE__: tags}))
620621

621622
if external_host_tags:

0 commit comments

Comments
 (0)