public override Counter <double> CreateDoubleCounter(string name, bool monotonic = true) { if (!this.doubleCounters.TryGetValue(name, out var counter)) { counter = new CounterSDK <double>(name); this.doubleCounters.Add(name, counter); } return(counter); }
public override Counter <long> CreateInt64Counter(string name, bool monotonic = true) { if (!this.longCounters.TryGetValue(name, out var counter)) { counter = new CounterSDK <long>(name); this.longCounters.Add(name, counter); } return(counter); }