public static IReportFactory AddInfluxDb(this IReportFactory factory, IMetricsFilter filter = null) { var settings = new InfluxDbReporterSettings(); factory.AddInfluxDb(settings, filter); return(factory); }
public static IReportFactory AddInfluxDb(this IReportFactory factory, string database, Uri baseAddress, IMetricsFilter filter = null) { var settings = new InfluxDBReporterSettings { InfluxDbSettings = new InfluxDBSettings(database, baseAddress) }; factory.AddInfluxDb(settings, filter); return(factory); }