| 10 | ) |
| 11 | |
| 12 | type counter struct { |
| 13 | //nolint unused |
| 14 | metric |
| 15 | metricName string |
| 16 | |
| 17 | // seriesMtx is used to sync modifications to the map, not to the data in series |
| 18 | seriesMtx sync.RWMutex |
| 19 | series map[uint64]*counterSeries |
| 20 | seriesDemand *Cardinality |
| 21 | |
| 22 | lifecycler Limiter |
| 23 | |
| 24 | externalLabels map[string]string |
| 25 | } |
| 26 | |
| 27 | type counterSeries struct { |
| 28 | labels labels.Labels |
nothing calls this directly
no outgoing calls
no test coverage detected