mirror of
https://github.com/sprockets/sprockets-statsd.git
synced 2024-11-21 19:28:35 +00:00
Add debug message when metric is injected
This commit is contained in:
parent
6d60b314c5
commit
d551369c8d
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue