code: private long getDashboardRefreshRate(final DashboardConfig selectedDashboardConfig) {
  		if (selectedDashboardConfig == null) {
  			return DEFAULT_DASHBOARD_REFRESH_RATE;
  		}
  
  		return TimeUnit.SECONDS.toMillis(selectedDashboardConfig.getRefresh());
  	}
docs: Returns dashboard refresh rate in ms.
  Used at UI for refreshing the dashboard.
  
  @param selectedDashboardConfig {@link DashboardConfig}
  @return dashboard refresh rate in ms