code: func getStringValue(labels map[string]string, labelName string, defaultValue string) string {
  	if value, ok := labels[labelName]; ok && len(value) > 0 {
  		return value
  	}
  	return defaultValue
  }
docs: // getStringValue get string value associated to a label