Monitor metrics with Amazon CloudWatch
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 | Dimensions | Unit | Description |
---|---|---|---|
Failure | Operation, SignalingChannelName | Count | '0' is emitted if the Operation mentioned in dimension returns 200 status code response. '1' otherwise. |
Latency | Operation, SignalingChannelName | Milliseconds | The time measured from when the service receives the request until the service returns the response. |
MessagesTransferred.Count | SignalingChannelName | Count | Total number of messages transferred (sent and received) for a given channel. |
The Operation
dimension can apply to any of 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 | Dimensions | Unit | Description |
---|---|---|---|
TURNConnectedMinutes | SignalingChannelName | Count | '1' is emitted for each TURN allocation that is used to stream data through in a minute. |