(names []string, values []string)
| 59 | } |
| 60 | |
| 61 | func buildTestLabels(names []string, values []string) labels.Labels { |
| 62 | builder := NewLabelBuilder(0, 0, newTestDrainSanitizer(SpanNameSanitizationDisabled), newTestLabelLimiter()) |
| 63 | for i := range names { |
| 64 | builder.Add(names[i], values[i]) |
| 65 | } |
| 66 | lbls, _ := builder.CloseAndBuildLabels() |
| 67 | return lbls |
| 68 | } |
| 69 | |
| 70 | // TODO: rewrite tests to use mocked limiter instead of this |
| 71 | func (r *ManagedRegistry) activeSeries() uint32 { |
no test coverage detected