Collecting additional metrics regarding session quality

To better understand the quality of sessions in our app we would like to collect additional metrics such as latency, bitrate, connection drops and packet loss.

Is it possible to collect these metrics in a nodejs app? If any of those metrics are readily available, where do we find them? If we need custom implementations to produce those values, how should we do it?

Regarding packet loss, we know it’s provided out of the box, but we’re having trouble interpreting it’s values. It scales with the number of participants and in a recent session it went up to several million %. When divided by the number of participants (1500) the packet loss per participant amounted to 200%. Is it supposed to be this way?