code: func Options(pkgs []*packages.Package) ([]interface{}, error) {
  	var options []interface{}
  	for _, p := range pkgs {
  		for _, f := range p.Syntax {
  			opts, err := FileOptions(f)
  			if err != nil {
  				return nil, err
  			}
  			options = append(options, opts...)
  		}
  	}
  	return options, nil
  }
docs: // Options scans the provided list of packages for options structs used when
  // creating metrics and returns instances that are recreated from the source
  // tree.