public override Gauge <double> CreateDoubleGauge(string name, bool monotonic = true) { if (!this.doubleGauges.TryGetValue(name, out var gauge)) { gauge = new GaugeSDK <double>(name); this.doubleGauges.Add(name, gauge); } return(gauge); }
public override Gauge <long> CreateInt64Gauge(string name, bool monotonic = true) { if (!this.longGauges.TryGetValue(name, out var gauge)) { gauge = new GaugeSDK <long>(name); this.longGauges.Add(name, gauge); } return(gauge); }