#NEWLINE# def send( self , subname , value , timestamp = None ) : #NEWLINE# #INDENT# 'Send the data to statsd via self.connection\n\n        :keyword subname: The subname to report the data to (appended to the\n            client name)\n        :type subname: str\n        :keyword value: The raw value to send\n        ' #NEWLINE# if ( timestamp is None ) : #NEWLINE# #INDENT# ts = int ( dt . datetime . now ( ) . strftime ( '%s' ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# ts = timestamp #NEWLINE# #UNINDENT# name = self . _get_name ( self . name , subname ) #NEWLINE# self . logger . info ( ( '%s: %s %s' % ( name , value , ts ) ) ) #NEWLINE# return statsd . Client . _send ( self , { #NEWLINE# #INDENT# name : ( '%s|r|%s' % ( value , timestamp ) ) , #NEWLINE# #UNINDENT# } )