code: func (s *Store) ServiceChecksByNodeMeta(ws memdb.WatchSet, serviceName string,
  	filters map[string]string) (uint64, structs.HealthChecks, error) {
  
  	tx := s.db.Txn(false)
  	defer tx.Abort()
  
  	// Get the table index.
  	idx := maxIndexForService(tx, serviceName, true, true)
  	// Return the checks.
  	iter, err := tx.Get("checks", "service", serviceName)
  	if err != nil {
  		return 0, nil, fmt.Errorf("failed check lookup: %s", err)
  	}
  	ws.Add(iter.WatchCh())
  
  	return s.parseChecksByNodeMeta(tx, ws, idx, iter, filters)
  }
docs: // ServiceChecksByNodeMeta is used to get all checks associated with a
  // given service ID, filtered by the given node metadata values. The query
  // is performed against a service _name_ instead of a service ID.