Ejemplo n.º 1
0
        public static IReportFactory AddInfluxDb(this IReportFactory factory, IMetricsFilter filter = null)
        {
            var settings = new InfluxDbReporterSettings();

            factory.AddInfluxDb(settings, filter);
            return(factory);
        }
Ejemplo n.º 2
0
        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);
        }