deregister method

void deregister (Metric metric)

Deregister Metrics to make them not visible to Observatory.

Implementation

static void deregister(Metric metric) {
  ArgumentError.checkNotNull(metric, 'metric');
  _metrics.remove(metric.name);
}