diff --git a/twemproxy/datadog_checks/twemproxy/twemproxy.py b/twemproxy/datadog_checks/twemproxy/twemproxy.py
index <HASH>..<HASH> 100644
--- a/twemproxy/datadog_checks/twemproxy/twemproxy.py
+++ b/twemproxy/datadog_checks/twemproxy/twemproxy.py
@@ -101,10 +101,11 @@ class Twemproxy(AgentCheck):
             except Exception as e:
                 self.log.error('Could not submit metric: %s: %s', repr(row), e)
 
-        if version is None:
-            self.log.warning('Error collecting Twemproxy version')
-        else:
-            self.set_metadata('version', version)
+        if self.is_metadata_collection_enabled():
+            if version is None:
+                self.log.warning('Error collecting Twemproxy version')
+            else:
+                self.set_metadata('version', version)
 
     def _get_data(self, instance):
         host = instance.get('host')
Don't collect version if metadata is not enabled (#<I>)

* Collect metadata behind a flag



* Don't log if metadata isn't enabled