@SuppressWarnings("unchecked") private void initGaugeWhitelist(){
  Set<String> set=new HashSet<String>();
  set.add("server_connections");
  set.add("client_connections");
  set.add("dnode_client_connections");
  set.add("peer_connections");
  String s=GaugeWhitelist.get();
  if (!s.isEmpty()) {
    String[] parts=s.split(",");
    if (parts != null && parts.length > 0) {
      set.addAll(Arrays.asList(parts));
    }
  }
  gaugeFilter.set(set);
}

@ SuppressWarnings ( "unchecked" ) private void initGaugeWhitelist ( ) { Set < String > set = new HashSet < String > ( ) ; set . add ( "server_connections" ) ; set . add ( "client_connections" ) ; set . add ( "dnode_client_connections" ) ; set . add ( "peer_connections" ) ; String s = GaugeWhitelist . get ( ) ; if ( ! s . isEmpty ( ) ) { String [ ] parts = s . split ( "," ) ; if ( parts != null && parts . length > 0 ) { set . addAll ( Arrays . asList ( parts ) ) ; } } gaugeFilter . set ( set ) ; }
helper that tracks the gauge whitelist using defaults and what is set in the fast property
