private MetricsEntryResult RunCheck(IServiceScope scope, MetricCaller caller, string text)
        {
            IMetric metric = caller.Factory(scope.ServiceProvider);

            if (text == null)
            {
                throw new ArgumentNullException($"{nameof(text)}", "Stream argument should be provided");
            }

            MetricsEntryResult result = metric.CheckMetric(text);

            return(result);
        }