(name, value string)
| 36 | } |
| 37 | |
| 38 | func NewLabelKey(name, value string) LabelKey { |
| 39 | return LabelKey{ |
| 40 | Name: name, |
| 41 | Value: value, |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | // IDLabelKey is the internal int-based key used for compact map storage. |
| 46 | // Avoids storing millions of duplicate string objects in memory. |
no outgoing calls