enabled property

bool enabled
getter/setter pair

Master switch to enable/disable all metrics collection.

Implementation

static bool enabled = false;