public Task ConsumeFault <T>(ConsumeContext <T> context, TimeSpan duration, string consumerType,
                                     Exception exception) where T : class
        {
            var messageType = typeof(T).Name;

            PrometheusMetrics.ErrorCounter(messageType).Inc();

            return(Task.CompletedTask);
        }
 internal void CountError() => PrometheusMetrics.ErrorCounter(_messageType).Inc();