def METHOD_NAME(self):
    """
    A Metric family and its samples.
    This is a base class to be used by instrumentation client. Custom collectors should use ``bentoml.metrics.metrics_core.GaugeMetricFamily``, ``bentoml.metrics.metrics_core.CounterMetricFamily``, ``bentoml.metrics.metrics_core.SummaryMetricFamily`` instead.
    """
    return partial(self.prometheus_client.METHOD_NAME, registry=self.registry)