public LocalDataChannelMetrics(MetricsRegistry registry)
 {
     _registry     = registry;
     _failures     = _registry.MakeMeter(LocalFailuresOptions);
     _frameRead    = _registry.MakeMeter(LocalFrameReadOptions);
     _frameWritten = _registry.MakeMeter(LocalFrameWrittenOptions);
     _bytesRead    = _registry.MakeMeter(LocalBytesReadOptions);
     _bytesWritten = _registry.MakeMeter(LocalBytesWrittenOptions);
 }
 public RemoteDataChannelMetrics(MetricsRegistry registry)
 {
     _registry     = registry;
     _failures     = _registry.MakeMeter(RemoteFailuresOptions);
     _frameRead    = _registry.MakeMeter(RemoteFrameReadOptions);
     _frameWritten = _registry.MakeMeter(RemoteFrameWrittenOptions);
     _bytesRead    = _registry.MakeMeter(RemoteBytesReadOptions);
     _bytesWritten = _registry.MakeMeter(RemoteBytesWrittenOptions);
 }