(self, name: str, value: float = 1, tags: Dict[str, str] = None, documentation: str = '')
See https://prometheus.io/docs/concepts/metric_types/#counter
See https://prometheus.io/docs/concepts/metric_types/#counter
See https : // prometheus . io / docs / concepts / metric_types / #counter
def _counter(self, name: str, value: float = 1, tags: Dict[str, str] = None, documentation: str = ''):
        """See https://prometheus.io/docs/concepts/metric_types/#counter"""
        try:
            self._get_metric(PCounter, name, tags, documentation).inc(value)
        except ValueError:
            pass
def _counter ( self , name : str , value : float = 1 , tags : Dict [ str , str ] = None , documentation : str = '' ) : try : self . _get_metric ( PCounter , name , tags , documentation ) . inc ( value ) except ValueError : pass