Avoid using global instance of ConfigFlags in core monitoring code. This requires changes to GenericMonitoringTool. Currently the change is backwards compatible. If flags are not passed the global instance is taken.
ConfigFlags
GenericMonitoringTool
/cc @fwinkl @ponyisi @jchapman