Test normalizeLabel, normalizeNodeLabel, splitInstanceKey, breakerStateToValue, sanitizeInstanceLabels, makeMetricKey, and makeNodeMetricKey with 36 test cases covering edge cases like empty strings, whitespace, and invalid inputs.