enable static method

void enable()

Enables metrics collection.

Implementation

static void enable() {
  _enabled = true;
}