(self, name, snmp_value, forced_type, tags, options, extract_value_pattern)
Convert the values reported as pysnmp-Managed Objects to values and
        report them to the aggregator.
Convert the values reported as pysnmp-Managed Objects to values and
        report them to the aggregator.
Convert the values reported as pysnmp - Managed Objects to values and report them to the aggregator .
def submit_metric(self, name, snmp_value, forced_type, tags, options, extract_value_pattern):
        # type: (str, Any, Optional[str], List[str], dict, Optional[Pattern]) -> None
        """
        Convert the values reported as pysnmp-Managed Objects to values and
        report them to the aggregator.
        """
        try:
            self._do_submit_metric(name, snmp_value, forced_type, tags, options, extract_value_pattern)
        except Exception as e:
            msg = (
                'Unable to submit metric `{}` with '
                'value=`{}` ({}), forced_type=`{}`, tags=`{}`, options=`{}`, extract_value_pattern=`{}`: {}'.format(
                    name, snmp_value, type(snmp_value), forced_type, tags, options, extract_value_pattern, e
                )
            )
            self.log.warning(msg)
            self.log.debug(msg, exc_info=True)
def submit_metric ( self , name , snmp_value , forced_type , tags , options , extract_value_pattern ) : # type: (str, Any, Optional[str], List[str], dict, Optional[Pattern]) -> None try : self . _do_submit_metric ( name , snmp_value , forced_type , tags , options , extract_value_pattern ) except Exception as e : msg = ( 'Unable to submit metric `{}` with ' 'value=`{}` ({}), forced_type=`{}`, tags=`{}`, options=`{}`, extract_value_pattern=`{}`: {}' . format ( name , snmp_value , type ( snmp_value ) , forced_type , tags , options , extract_value_pattern , e ) ) self . log . warning ( msg ) self . log . debug ( msg , exc_info = True )