Monitor Kinesis Video Streams with WebRTC - Kinesis Video Streams
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Monitor Kinesis Video Streams with WebRTC

You can monitor an Amazon Kinesis Video Streams with WebRTC using Amazon CloudWatch, which collects and processes raw data from Amazon Kinesis Video Streams with WebRTC into readable, near real-time metrics. These statistics are recorded for a period of 15 months, so that you can access historical information and gain a better perspective on how your web application or service is performing.

Amazon Kinesis Video Streams provides the following metrics:

Signaling metrics

This section provides information on how to monitor and troubleshoot signaling-related issues using CloudWatch Logs.

Metric name Description Unit Dimensions
Failure '0' is emitted if the Operation mentioned in dimension returns 200 status code response. '1' otherwise. Count Operation, SignalingChannelName
Latency Measures the time it takes for the service to receive a request and return a response. Milliseconds Operation, SignalingChannelName
MessagesTransferred.Count The total number of messages sent and received for a channel. Count SignalingChannelName

The Operation dimension applies to the following APIs:

  • ConnectAsMaster

  • ConnectAsViewer

  • SendSdpOffer

  • SendSdpAnswer

  • SendCandidate

  • SendAlexaOfferToMaster

  • GetIceServerConfig

  • Disconnect

TURN metrics

This section provides information on how to monitor and troubleshoot TURN-related issues using CloudWatch Logs.

Metric name Description Unit Dimensions
TURNConnectedMinutes '1' is emitted for each TURN allocation that is used to stream data through in a minute. Count SignalingChannelName

WebRTC ingestion metrics

This section provides information on how to monitor and troubleshoot WebRTC ingestion-related issues using CloudWatch Logs.

Metric name Description Unit Dimensions
Failure A value of '0' is emitted if the Operation referenced in dimension returns a 200 status code; otherwise a value of '1' is emitted. Count Operation, SignalingChannelName
TotalBitrate Total bitrate sent by the MASTER participant bps Operation, ChannelName
TotalPacketCount Total number of packets sent by the MASTER participant during the period. Count Operation, ChannelName

For WebRTC ingestion metrics, the Operation dimension applies to the following API: JoinStorageSession.