コード例 #1
0
 public static IReportFactory AddInfluxDb(
     this IReportFactory factory,
     InfluxDBReporterSettings settings,
     IFilterMetrics filter = null)
 {
     factory.AddProvider(new InfluxDbReporterProvider(settings, filter));
     return(factory);
 }
コード例 #2
0
 public static IReportFactory AddElasticSearch(
     this IReportFactory factory,
     ElasticSearchReporterSettings settings,
     IFilterMetrics filter = null)
 {
     factory.AddProvider(new ElasticSearchReporterProvider(settings, filter));
     return(factory);
 }
コード例 #3
0
 public static IReportFactory AddGraphite(
     this IReportFactory factory,
     GraphiteReporterSettings settings,
     IFilterMetrics filter = null)
 {
     factory.AddProvider(new GraphiteReporterProvider(settings, filter));
     return(factory);
 }
コード例 #4
0
 public static IReportFactory AddTextFile(this IReportFactory factory,
                                          ITextFileReporterSettings settings, IMetricsFilter filter = null)
 {
     factory.AddProvider(new TextFileReporterProvider(settings, filter));
     return(factory);
 }