code: func (fl *Flags) Register(f *flag.FlagSet) {
  	f.Var(&fl.TargetType, "ts-mon-target-type",
  		"the type of target that is being monitored ("+targetTypeEnum.Choices()+")")
  	f.StringVar(&fl.DeviceHostname, "ts-mon-device-hostname", fl.DeviceHostname,
  		"name of this device")
  	f.StringVar(&fl.DeviceRegion, "ts-mon-device-region", fl.DeviceRegion,
  		"name of the region this devices lives in")
  	f.StringVar(&fl.DeviceRole, "ts-mon-device-role", fl.DeviceRole,
  		"role of the device")
  	f.StringVar(&fl.DeviceNetwork, "ts-mon-device-network", fl.DeviceNetwork,
  		"name of the network this device is connected to")
  	f.StringVar(&fl.TaskServiceName, "ts-mon-task-service-name", fl.TaskServiceName,
  		"name of the service being monitored")
  	f.StringVar(&fl.TaskJobName, "ts-mon-task-job-name", fl.TaskJobName,
  		"name of this job instance of the task")
  	f.StringVar(&fl.TaskRegion, "ts-mon-task-region", fl.TaskRegion,
  		"name of the region in which this task is running")
  	f.StringVar(&fl.TaskHostname, "ts-mon-task-hostname", fl.TaskHostname,
  		"name of the host on which this task is running")
  	f.IntVar(&fl.TaskNumber, "ts-mon-task-number", fl.TaskNumber,
  		"number (e.g. for replication) of this instance of this task")
  	f.BoolVar(&fl.AutoGenHostname, "ts-mon-autogen-hostname", fl.AutoGenHostname,
  		"Indicate that the hostname is autogenerated. "+
  			"This option must be set on autoscaled GCE VMs, Kubernetes pods, "+
  			"or any other hosts with dynamically generated names.")
  }
docs: // Register adds tsmon target related flags to a FlagSet.