private GaugeMetric <bool> GetOrAdd(MetricName name, GaugeMetric <bool> metric)
        {
            if (_store.Contains(name))
            {
                return(_store[name]);
            }
            var added = _store.AddOrUpdate(name, metric);

            return(added ?? metric);
        }
 public bool TryGetValue(MetricName name, out GaugeMetric <bool> metric)
 {
     return(_metrics.TryGetValue(name, out metric));
 }
 public GaugeMetric <bool> GetOrAdd(MetricName name, GaugeMetric <bool> metric)
 {
     return(_metrics.GetOrAdd(name, metric));
 }