NewMultiTRegistry creates MultiTRegistry.
(tGatherers ...TransactionalGatherer)
| 1002 | |
| 1003 | // NewMultiTRegistry creates MultiTRegistry. |
| 1004 | func NewMultiTRegistry(tGatherers ...TransactionalGatherer) *MultiTRegistry { |
| 1005 | return &MultiTRegistry{ |
| 1006 | tGatherers: tGatherers, |
| 1007 | } |
| 1008 | } |
| 1009 | |
| 1010 | // Gather implements TransactionalGatherer interface. |
| 1011 | func (r *MultiTRegistry) Gather() (mfs []*dto.MetricFamily, done func(), err error) { |
no outgoing calls