(hd HistogramData)
| 556 | } |
| 557 | |
| 558 | func (h *HistogramDataCollector) Add(hd HistogramData) { |
| 559 | h.dataMu.Lock() |
| 560 | defer h.dataMu.Unlock() |
| 561 | |
| 562 | h.data.AddHistogramData(hd) |
| 563 | } |
| 564 | |
| 565 | // UserRegistry holds a Prometheus registry associated to a specific user. |
| 566 | type UserRegistry struct { |
no test coverage detected