示例#1
0
 public HttpDiagnosticsService(IServiceConfiguration configuration)
 {
     this.configuration = configuration;
     collector          = new TimeSeriesCollector();
     carbonWriter       = CarbonWriterFactory.Instance();
     graphDataHandler   = new GraphDataHandler(collector);
 }
示例#2
0
 public GraphDataHandler(TimeSeriesCollector collector)
 {
     this.collector = collector;
 }