protected internal static void clearMetrics() { var meters = processEngineConfiguration.MetricsRegistry.Meters.Values; foreach (var meter in meters) { //meter.AndClear; } managementService.DeleteMetrics(DateTime.MaxValue); processEngineConfiguration.SetDbMetricsReporterActivate(false); }