code: func SetLabels(labels map[string]string,
  	cmdLabels services.CommandLabels) ServerOption {
  	return func(s *Server) error {
  		// make sure to clone labels to avoid
  		// concurrent writes to the map during reloads
  		cmdLabels = cmdLabels.Clone()
  		for name, label := range cmdLabels {
  			if label.GetPeriod() < time.Second {
  				label.SetPeriod(time.Second)
  				cmdLabels[name] = label
  				log.Warningf("label period can't be less that 1 second. Period for label '%v' was set to 1 second", name)
  			}
  		}
  		s.labels = labels
  		s.cmdLabels = cmdLabels
  		return nil
  	}
  }
docs: // SetLabels sets dynamic and static labels that server will report to the
  // auth servers