Stats collect v2 (#1291)
* initial commit * add correct label * clean up * more cleanup on adding stats * cleanup * move things to pub and sub monitors, ensure stats are correctly updated * fix merge conflict * Fix panic on MacOS (#1296) * fixing last feedback Co-authored-by: Raja Subramanian <raja.gobi@tutanota.com>
This commit is contained in:
co-authored by
Raja Subramanian
parent
0ca80a4fa7
commit
4d6f0cd0f7
@@ -409,7 +409,6 @@ func (t *PCTransport) setICEConnectedAt(at time.Time) {
|
||||
// This prevents reset of connected at time if ICE goes `Connected` -> `Disconnected` -> `Connected`.
|
||||
//
|
||||
t.iceConnectedAt = at
|
||||
prometheus.ServiceOperationCounter.WithLabelValues("ice_connection", "success", "").Add(1)
|
||||
}
|
||||
t.lock.Unlock()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user