(newActive map[IDLabelKey]int)
| 79 | } |
| 80 | |
| 81 | func (l *label) replaceActive(newActive map[IDLabelKey]int) { |
| 82 | l.active.Store(newActive) |
| 83 | } |
| 84 | |
| 85 | // toIDKey converts a string-based LabelKey to an int-based IDLabelKey. |
| 86 | // Returns false if either name or value is not found in the caches. |