Add debug message when metric is injected

This commit is contained in:
Andrew Rabert 2022-03-28 14:10:10 -04:00
parent 6d60b314c5
commit d551369c8d

View file

@ -305,6 +305,7 @@ class Connector(AbstractConnector):
"""
payload = f'{self.prefix}{path}:{value}|{type_code}'
self.logger.debug('injecting metric %s', payload)
try:
self.processor.enqueue(payload.encode('utf-8'))
self._enqueue_log_guard.reset()