public GaugeHostedService(ILogger <GaugeHostedService> log, GaugeMetric gaugeMetric, GaugeOption option) : base(option)
 {
     this.log         = log;
     this.gaugeMetric = gaugeMetric;
     this.option      = option;
 }
Exemple #2
0
 protected HostedServiceTemplate(GaugeOption option)
 {
     this.option = option;
     interval    = option.delay;
 }
 public GaugeMetric(IMetricsRoot root, GaugeOption option)
 {
     this.root   = root;
     this.option = option;
 }