(metrics chan<- prometheus.Metric)
| 161 | } |
| 162 | |
| 163 | func (s *ServerTailnet) Collect(metrics chan<- prometheus.Metric) { |
| 164 | s.connsPerAgent.Collect(metrics) |
| 165 | s.totalConns.Collect(metrics) |
| 166 | } |
| 167 | |
| 168 | type ServerTailnet struct { |
| 169 | ctx context.Context |