<commit_before><commit_msg>woohoo its creating checks<commit_after>package circonusgometrics

type BrokerDetail struct {
	CN      string   `json:"cn"`
	IP      string   `json:"ipaddress"`
	MinVer  int      `json:"minimum_version_required"`
	Modules []string `json:"modules"`
	Port    int      `json:"port"`
	Skew    string   `json:"skew"`
	Status  string   `json:"status"`
	Version int      `json:"version"`
}

type Broker struct {
	CID       string         `json:"_cid"`
	Details   []BrokerDetail `json:"_details"`
	Latitude  string         `json:"_latitude"`
	Longitude string         `json:"_longitude"`
	Name      string         `json:"name"`
	Tags      []string       `json:"tags"`
	Type      string         `json:"type"`
}

func (m *CirconusMetrics) getBrokerGroupId() int {
	bgi := m.BrokerGroupId
	if bgi == 0 {
		bgi = circonusTrapBroker
		// add lookup and leverage selection method unless we can add a method for the account admin to designate a "default" broker (maybe an overall then potentially by check type so that
		// if POST check_bundle {..., brokers: [], ...} is sent, the default broker for the checktype or the generic dfeault broker would be used)
	}
	return bgi
}
{'fraction_non_alphanumeric': 0.10774410774410774, 'fraction_numerical': 0.0008417508417508417, 'mean_word_length': 3.142857142857143, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7499461', 'n_tokens_mistral': 371, 'n_tokens_neox': 364, 'n_words': 121}