

# Monitoring AWS Elemental MediaConnect with Amazon CloudWatch metrics
<a name="monitor-with-cloudwatch"></a>

You can monitor AWS Elemental MediaConnect using CloudWatch, which collects raw data and processes it into readable, near real-time metrics. These metrics are kept for 15 months, so that you can access historical information and gain a better perspective on how your web application or service is performing. Most MediaConnect metrics can be accessed in periods as short as one second. You can also set alarms that watch for certain thresholds, and send notifications or take actions when those thresholds are met. For more information, see the [Amazon CloudWatch User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/).

You can view CloudWatch metrics for your flows directly on the MediaConnect console. On the console, you can view these metrics in periods as short as one second or as long as 30 minutes.

**Note**  
MediaConnect Gateway metrics are not available in high resolution periods (one second). You must select a period of at least one minute.

# Definition of a metric for MediaConnect datapoints
<a name="monitor-with-cloudwatch-metric-info"></a>

AWS Elemental MediaConnect collects data that is the basis for metrics. It collects these *datapoints* every second and sends them immediately to Amazon CloudWatch. You can use CloudWatch to generate *metrics* for these datapoints.

A metric is a collection of datapoints that has had an aggregation (a *statistic*) applied and that has a *period* and a *time range*. For example, you can request the Dropped packets metric as an average (the statistic) for a 1 minute period over 10 minutes (the time range). This result of this request is 10 metrics (because the range divided by the period is 10). 

## Period
<a name="emx-metrics-about-period"></a>

Most MediaConnect metrics have a *high resolution period*, which means that the minimum period is one second. MediaConnect Gateway metrics are the only metrics not available in a high resolution period. 

## Time range
<a name="emx-metrics-about-time-range"></a>

Each period has a *maximum time range*. For example, if you specify 1 day as the time range, you won't be able to retrieve metrics with a 10 second period.

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metric-info.html)

Periods don't have a *minimum time range*. But there is a point where the statistic you apply becomes meaningless if you have a low period. For example, assume that you set the period to one second. This means that CloudWatch retrieves one datapoint. You can't obtain an average, a minimum or a maximum on one datapoint. However, this doesn't mean that the metric is meaningless. Instead, the metric is for the raw datapoint, with no statistic.

## Maximum storage time
<a name="emx-metrics-about-storage"></a>

Metrics are available for the last 15 months. Make sure that you specify a period that allows the time range that you want.

# Viewing metrics for a MediaConnect flow
<a name="emx-metrics-view"></a>

You can view some metrics in the MediaConnect console. You can view all metrics in the CloudWatch console. You can also retrieve metrics using the CLI, the REST API, or any AWS SDK.

On the CloudWatch console, the minimum refresh rate for metrics is 30 seconds.

**To view metrics on the MediaConnect console**

You can view some metrics in the MediaConnect console. You can view the current metrics, going back from 1 hour to 1 week. (To view other metrics or to view historical metrics, you must use the CloudWatch console.)

1. Open the MediaConnect console at [https://console.aws.amazon.com/mediaconnect/](https://console.aws.amazon.com/mediaconnect/).

1. In the navigation pane, choose **Flows**. On the **Flows** page, choose the flow you want. The **Details** page appears. 

1. Choose the **Health** tab. The metrics that MediaConnect supports on this tab appears.

1. Choose the period and time range. For example, **Past 1 day (5 min period)**.

**To view metrics using the CloudWatch console**

On the CloudWatch console you can view all MediaConnect metrics for any range of time — the current metrics or historical metrics. There is a charge to view metrics on the CloudWatch console.

1. Open the CloudWatch console at [https://console.aws.amazon.com/cloudwatch/](https://console.aws.amazon.com/cloudwatch/).

1. In the navigation pane, choose **Metrics**, then choose **All metrics**. In the bottom half of the page, the **Browse** tab shows cards with names. 

   No cards appear if you are completely new to AWS, and you haven't performed an action that creates metrics in any service.

1. Select the card that is named **AWS/MediaConnect**. 

   This card appears only if you have started at least one flow in the last 15 months in the AWS Region that is currently selected for CloudWatch. This card won't appear if have never started a MediaConnect flow. In this case, come back to this procedure after you have created and started a flow.

   (A card named **MediaConnect** might appear in the custom namespace section of the page. This card is for the old namespace for MediaConnect metrics. The two namespaces became duplicates of each other in September of 2022, so there is no advantage to choosing this card. Always choose **AWS/MediaConnect**.)

1. The **Browse** tab in the bottom half of the page now shows dimensions. Choose a metric dimension. For example, choose **Flow ARN**.

   The **Browse** tab now shows a table with one column that shows the chosen dimension (for example, Flow ARN) and one column that shows all the metrics. You can sort the table.

1. Select one or more rows. As soon as you select a row, it appears in the graph in the top half of the page.

1. In the bottom half of the page, choose the **Graphed metrics** tab. 

1. On the choices on the right of the tab, specify the **Statistic** and the **Period**. 

   When you choose the period, the graph refreshes to show the [maximum time range for that period](monitor-with-cloudwatch-metric-info.md#emx-metrics-about-time-range). If the graph is now empty on the left, you can adjust the timeline in the choices at the top right of the graph. Choose a lower number so that the full space is filled up. For example, change **1w** to **1d**.

**To view metrics using the AWS CLI**
+ At a command prompt, use the following command:

  ```
  aws cloudwatch list-metrics --namespace "AWS/MediaConnect"
  ```

# AWS Elemental MediaConnect metrics to monitor flow health
<a name="monitor-with-cloudwatch-metrics-flow-health"></a>

AWS Elemental MediaConnect sends metrics to CloudWatch. You can review specific metrics to evaluate the health of your flow. If the flow is unhealthy, these metrics can help you determine where the issue originates. For details about each metric, see the tables in this section.

For information about source metrics, see [Metrics to monitor flow source health](monitor-with-cloudwatch-metrics-source-health.md).

**Note**  
Metrics tracked by MediaConnect adhere to the standard as defined by the TR 101 290 spec.

**Topics**
+ [Flow metrics](#monitor-with-cloudwatch-metrics-flow-health-flow)
+ [TR 101 290 Priority 1 metrics](#monitor-with-cloudwatch-metrics-flow-health-p1)
+ [TR 101 290 Priority 2 metrics](#monitor-with-cloudwatch-metrics-flow-health-p2)
+ [Content quality metrics](#monitor-with-cloudwatch-metrics-content-quality-metrics)
+ [Maintenance metrics](#monitor-with-cloudwatch-metrics-flow-health-maintenance)

## Flow metrics
<a name="monitor-with-cloudwatch-metrics-flow-health-flow"></a>

The following table lists network metrics that AWS Elemental MediaConnect sends to CloudWatch.


| Metric | Description | 
| --- | --- | 
| ARQRecovered |  The number of dropped packets that were recovered by automatic repeat request (ARQ). This metric doesn't apply to flows that receive content from an entitlement or to flows that have multiple sources. For flows that have multiple sources, use the SourceARQRecovered metric to view data for each source. Units: Count Valid dimensions:  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
| ARQRequests |  The number of retransmitted packets that were requested through automatic repeat request (ARQ) and received. This metric doesn't apply to flows that receive content from an entitlement or to flows that have multiple sources. For flows that have multiple sources, use the SourceARQRequests metric to view data for each source. Units: Count Valid dimensions:  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
| BitRate |  The bitrate of the incoming (source) video. Units: bits per second (bps) Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
| Connected |  The status of the source. A value of 1 indicates that the source is connected and a value of 0 (zero) indicates that the source is disconnected. This metric applies only to sources that use the Zixi, SRT, or RIST protocols. Units: None Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
|  ConsecutiveDrops  |  The number of data packets that were dropped in a row during transmission of data to or from MediaConnect. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
|  ConsecutiveNotRecovered  |  The number of data packets that were not recovered in a row. After a data packet is dropped, error correction attempts to recover that packet. This metric helps to identify extended periods of data packets that were dropped and not recovered. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
| Disconnections |  The number of times that the source status changed from connected to disconnected. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
| DroppedPackets |  The number of packets that were lost during transit. This value is measured before any error correction takes place. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
|  FailoverSwitches  |  The total number of times the flow switches back and forth between sources when using the * Failover* mode for source failover.  Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
| FECPackets |  The number of packets that were transmitted using forward error correction (FEC) and received. This metric applies only to flows that have one source that uses the RTP-FEC or Zixi protocols. It doesn't apply to flows that receive content from an entitlement or to flows that have multiple sources. For flows that have multiple sources, use the SourceFECPackets metric to view data for each source. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
| FECRecovered |  The number of packets that were transmitted using forward error correction (FEC), lost during transit, and recovered. This metric applies only to flows that have one source that uses the RTP-FEC or Zixi protocols. It doesn't apply to flows that receive content from an entitlement or to flows that have multiple sources. For flows that have multiple sources, use the SourceFECRecovered metric to view data for each source. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
| MergeActive |  The merge status of all sources on the flow. A value of 1 indicates that all sources are merged. A value of 0 (zero) indicates that at least one source is not actively merged with 2022-7.  Units: None Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
| MergeLatency |  The maximum value for SourceMergeLatency. Units: Milliseconds Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
| NotRecoveredPackets |  The number of packets that were lost during transit and were not recovered by error correction. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
| OverflowPackets |  The number of packets that were lost in transit because the video required more buffer than was available. This metric doesn't apply to flows that receive content from an entitlement or to flows that have multiple sources. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
| PacketLossPercent |  The percentage of packets that were lost during transit, even if they were recovered. Units: Percent Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
| RecoveredPackets |  The number of packets that were lost during transit, but recovered. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
| RoundTripTime |  The amount of time it takes for the source to send a signal and receive an acknowledgment from AWS Elemental MediaConnect. This metric doesn't apply to flows that receive content from an entitlement or to flows that have multiple sources. For flows that have multiple sources, use the SourceRoundTripTime metric to view data for each source. Units: Milliseconds Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
| TotalPackets |  The total number of packets that were received. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 

## TR 101 290 Priority 1 metrics
<a name="monitor-with-cloudwatch-metrics-flow-health-p1"></a>

The following table lists TR 101 290 Priority 1 metrics that AWS Elemental MediaConnect sends to CloudWatch.


| Metric | Description | 
| --- | --- | 
| ContinuityCounter |  The number of times that a continuity error occurred. This error indicates an incorrect packet order or lost packets. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
| PATError |  The number of times that a program association table (PAT) error occurred. This error indicates that the PAT is missing. The PAT lists the programs that are available in a transport stream (TS) and points to the program map tables (PMTs). The decoder needs the PAT to do its job. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
| PIDError |  The number of times that a packet identifier (PID) error occurred. This error indicates that a PID is missing its associated data stream. The PIDs are identifiers that provide the location of the video, audio, and data streams. This error can occur after the transport stream has been multiplexed and then remultiplexed. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
| PMTError |  The number of times that a program map table (PMT) error occurred. This error happens when the PMT is not received at least every 500 milliseconds (ms). Each PMT contains a list of PIDs, which help decoders reassemble data. The decoder needs the PMTs to do its job. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
| TSByteError |  The number of times that a transport stream byte error occurred. This error indicates that the sync byte did not appear after the prescribed number of bytes. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
| TSSyncLoss |  The number of times that a TS sync loss error occurred. This error happens after two or more consecutive TS byte errors. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 

## TR 101 290 Priority 2 metrics
<a name="monitor-with-cloudwatch-metrics-flow-health-p2"></a>

The following table lists TR 101 290 Priority 2 metrics that AWS Elemental MediaConnect sends to CloudWatch.


| Metric | Description | 
| --- | --- | 
| CATError |  The number of times that a conditional access table (CAT) error occurred. This error indicates that the CAT is not present. The CAT tells the integrated receiver decoder (IRD) where to find management messages for the conditional access (CA) systems that are in use. Units: Count Valid dimensions:  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
| CRCError |  The number of times that a cyclic redundancy check (CRC) error occurred. This error happens when a CRC determines that data is corrupted. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
| PCRAccuracyError |  The number of times that a program clock register (PCR) accuracy error occurred. This error happens when the value of the transmitted PCR differs from what is expected by more than 500 nanoseconds (ns). When a stream is encoded, the encoder assigns periodic PCR values of the encoder's program clock. The decoder relies on these values to ensure that the stream is kept in sync. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
| PCRError |  The number of times that a PCR error occurred. This error happens when PCR values are not sent frequently enough. The service relies on consistent, frequent PCRs to reset the local 27 MHz system clock. Although the error occurs when the interval exceeds 100 milliseconds (ms), best practices dictate that PCRs should be received at least every 40 ms.  Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
| PTSError |  The number of times that a presentation timestamp (PTS) error occurred. This error happens when a presentation timestamp (PTS) is not received at least every 700 ms. This can occur if the PTS is sent less frequently or not at all. The most common cause of this error is when the transport stream (TS) is scrambled. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
| TransportError |  The number of times that a primary transport error occurred. This error indicates that the TS packet is unusable. When this error occurs, ignore all other TR 101 290 errors for this packet. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 

## Content quality metrics
<a name="monitor-with-cloudwatch-metrics-content-quality-metrics"></a>

The following table lists the content quality metrics that AWS Elemental MediaConnect sends to CloudWatch.


| Metric | Description | 
| --- | --- | 
|  AudioStreamMissing  |  Monitors instances when the expected audio stream is not detected in the content. A value of 1 indicates that the audio stream is missing from the source.  Units: None Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
|  BlackFramesBreaching  |  Monitors instances when the duration of black frames in the video exceeds the specified threshold. A value of 1 indicates that the duration is breaching the specified threshold and a value of 0 (zero) indicates that the duration is not breaching the specified threshold.  Units: None Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
|  FrozenFramesBreaching  |  Monitors instances when the video remains unchanged for longer than the specified threshold. A value of 1 indicates that the duration is breaching the specified threshold and a value of 0 (zero) indicates that the duration is not breaching the specified threshold.  Units: None Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
|  SilentAudioBreaching  |  Monitors instances when the duration of silent audio exceeds the specified threshold. A value of 1 indicates that the duration is breaching the specified threshold and a value of 0 (zero) indicates that the duration is not breaching the specified threshold.  Units: None Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
|  TimecodePresent  |  Indicates whether a valid timecode is present in the media stream. A value of 1 indicates that a valid timecode is present in the media stream and a value of 0 (zero) indicates that a valid timecode is not present in the media stream.  Units: None Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
|  VideoStreamMissing  |  Monitors instances when the expected video stream is absent from the content. A value of 1 indicates that the video stream is missing from the source.  Units: None Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 

## Maintenance metrics
<a name="monitor-with-cloudwatch-metrics-flow-health-maintenance"></a>

The following table lists flow maintenance metrics that AWS Elemental MediaConnect sends to CloudWatch.


| Metric | Description | 
| --- | --- | 
|  MaintenanceCanceled  |  Maintenance for this flow is cancelled by MediaConnect.  Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
|  MaintenanceFailed  |  Maintenance did not complete successfully for this flow.  Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
|  MaintenanceRescheduled  |  MediaConnect is unable to perform maintenance at the previously scheduled date and time. A new date and time has been automatically assigned by MediaConnect for this flow's maintenance.  Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
| MaintenanceScheduled |  Maintenance is scheduled for the flow. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
| MaintenanceStarted |  Maintenance has started and is currently in progress for this flow.  Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 
| MaintenanceSucceeded |  Maintenance completed successfully for this flow.  Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-flow-health.html)  | 

# AWS Elemental MediaConnect metrics to monitor flow source health
<a name="monitor-with-cloudwatch-metrics-source-health"></a>

AWS Elemental MediaConnect sends metrics to CloudWatch. You can review specific metrics to evaluate the health of the source of your flow. If the flow is unhealthy, these metrics can help you determine whether the issue originates with the source. For details about each metric, see the tables in this section.

For information about flow metrics, see [Metrics to monitor flow health](monitor-with-cloudwatch-metrics-flow-health.md).

**Note**  
Metrics tracked by MediaConnect adhere to the standard as defined by the TR 101 290 spec.

**Topics**
+ [Source metrics for transport stream protocols](#monitor-with-cloudwatch-metrics-source-health-source)
+ [Source metrics for NDI®](#monitor-with-cloudwatch-metrics-source-health-source-ndi)
+ [Source metrics for CDI](#monitor-with-cloudwatch-metrics-source-health-source-cdi)
+ [Source metrics for router connections](#monitor-with-cloudwatch-metrics-source-health-source-router)
+ [TR 101 290 Priority 1 metrics](#monitor-with-cloudwatch-metrics-source-health-p1)
+ [TR 101 290 Priority 2 metrics](#monitor-with-cloudwatch-metrics-source-health-p2)

## Source metrics for transport stream protocols
<a name="monitor-with-cloudwatch-metrics-source-health-source"></a>

The following table lists source metrics that AWS Elemental MediaConnect sends to CloudWatch.


| Metric | Description | 
| --- | --- | 
| SourceARQRecovered |  The number of dropped packets that were recovered by automatic repeat request (ARQ). This metric applies to sources that use the RIST, Zixi, or SRT protocol. It doesn't apply to flows that receive content from an entitlement. Units: Count Valid dimensions:  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceARQRequests |  The number of retransmitted packets that were requested through automatic repeat request (ARQ) and received. This metric applies to sources that use the RIST, Zixi, or SRT protocol. It doesn't apply to flows that receive content from an entitlement. Units: Count Valid dimensions:  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceBitRate |  The bitrate of the incoming (source) video. Units: bits per second (bps) Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  Both MediaConnect and the Zixi protocol use bandwidth optimization techniques that can affect bitrate measurements:   In flows with Zixi sources, Zixi often optimizes network usage by substituting repetitive content packets with null packets.   For entitlements, MediaConnect performs similar optimization between the content originator's flow and the subscriber's flow.   For example, in a 30 Mbps stream with repetitive content (like a black slate), either optimization might reduce the bitrate to 5 Mbps. These bitrate fluctuations are normal and don't affect content quality, but they might be noticeable in your bitrate monitoring. We recommend that you monitor source health as a combination of `SourceBitRate` and other metrics such as `SourceContinuityCounter` and `SourceNotRecoveredPackets`.   | 
| SourceConnected |  The status of the source. A value of 1 indicates that the source is connected and a value of 0 (zero) indicates that the source is disconnected. This metric applies only to sources that use the Zixi or SRT protocol. Units: None Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceDisconnections |  The number of times that the source status changed from connected to disconnected. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceDroppedPackets |  The number of packets that were lost during transit. This value is measured before any error correction takes place. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceFECPackets |  The number of packets that were transmitted using forward error correction (FEC) and received. This metric applies only to sources that use the RTP-FEC or Zixi protocols. It doesn't apply to flows that receive content from an entitlement. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceFECRecovered |  The number of packets that were transmitted using forward error correction (FEC), lost during transit, and recovered. This metric applies only to sources that use the RTP-FEC or Zixi protocols. It doesn't apply to flows that receive content from an entitlement. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceMergeActive |  An indication of the status of the source with respect to other sources. This metric is useful when the flow has multiple sources for failover and you are using the Merge failover mode. A value of 1 indicates that the flow has multiple sources and that this source is actively in use, with 2022-7 merge. A value of 0 (zero) indicates that the flow is not using the source to form the stream. Units: None Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceSelected |  An indication if a source is being used as the input for flow ingest. This metric applies if your flow uses source failover, and the failover mode is set to *Failover*. A value of 1 indicates that the source is being used as the input. A value of 0 (zero) indicates that the flow is being used as the backup stream. Units: None Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceMergeLatency |  The amount of time that this source trails the primary source. If this source is the primary source, the value is 0 (zero). Units: Milliseconds Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceMergeStatusWarnMismatch | A status metric warning that the flow is receiving mismatched sources. This means that any dropped packets will not be recovered and will result in poor network reliability. This metric only applies to sources using merge mode failover. Merge mode failover requires both sources to be binary identical. To be binary identical, the sources must originate from the same encoder. This will ensure the sources can share missing packets, as the packets are identical.Units: CountValid dimensions:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html) | 
| SourceMergeStatusWarnSolo |  A status metric warning that the flow is only receiving one source. This means any dropped packets will not be recovered and will result in poor network reliability. This metric only applies to sources using **merge mode** failover. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceNotRecoveredPackets |  The number of packets that were lost during transit and were not recovered by error correction. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceMissingPackets |  A packet was missing from both source streams, this means the packet could not be recovered. This metric only applies to sources using **merge mode** failover. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceOverflowPackets |  The number of packets that were lost in transit because the video required more buffer than was available. This metric doesn't apply to flows that receive content from an entitlement or to flows that have multiple sources. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourcePacketLossPercent |  The percentage of packets that were lost during transit, even if they were recovered. Units: Percent Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceRecoveredPackets |  The number of packets that were lost during transit, but recovered. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceRoundTripTime |  The amount of time it takes for the source to send a signal and receive an acknowledgment from AWS Elemental MediaConnect. This metric applies to sources that use the RIST, Zixi, or SRT protocol. It doesn't apply to flows that receive content from an entitlement. Units: Milliseconds Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceTotalPackets |  The total number of packets that were received. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceTotalBytes |  Total amount of bytes transferred to MediaConnect from the source. Units: Bytes Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceConsecutiveDrops |  The number of data packets that were dropped in a row during transmission of data to MediaConnect. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceConsecutiveNotRecovered |  The number of data packets that were not recovered in a row. After a data packet is dropped, error correction attempts to recover that packet. This metric helps to identify extended periods of data packets that were dropped and not recovered. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceJitter |  The current network jitter, measured in milliseconds. Network jitter is a measurement of changes in latency. An increase in network jitter indicates inconsistency in the latency and can negatively impact quality. Units: milliseconds (ms) Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceLatency |  The stream latency of the source. Latency is the time it takes for data packets to travel from your source to MediaConnect. Units: milliseconds (ms) Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceUptime |  The number of seconds that the source has been active. If the source is disconnected or has a connection timeout, this metric resets to zero. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 

## Source metrics for NDI®
<a name="monitor-with-cloudwatch-metrics-source-health-source-ndi"></a>

The following table lists NDI source metrics that AWS Elemental MediaConnect sends to CloudWatch.


| Metric | Description | 
| --- | --- | 
|  SourceAudioFrames  |  The number of audio frames received by the NDI source. This metric applies to NDI sources only. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
|  SourceConnected  |  The status of the source. A value of 1 indicates that the source is connected to an NDI sender and a value of 0 (zero) indicates that the source is disconnected.  Units: None Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
|  SourceDiscoveredSources  |  The total number of available NDI senders discovered by the NDI source. This metric applies to NDI sources only. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
|  SourceVideoFrames  |  The number of video frames received by the NDI source. This metric applies to NDI sources only. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 

## Source metrics for CDI
<a name="monitor-with-cloudwatch-metrics-source-health-source-cdi"></a>

The following table lists CDI source metrics that AWS Elemental MediaConnect sends to CloudWatch.


| Metric | Description | 
| --- | --- | 
|  SourceDroppedPayloads  |  Payloads that were lost during transit to MediaConnect from the source. A payload is a frame of video or an audio sample. Payloads can consist of multiple packets. Payload metrics are only applicable when using CDI.  Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
|  SourceLatePayloads  |  Packets of a payload that arrive outside of the configured **Max sync buffer** time frame. A payload is a frame of video or an audio sample. Payloads can consist of multiple packets. Payload metrics are only applicable when using CDI.  Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
|  SourceTotalPayloads  |  Total amount of payloads delivered to MediaConnect from the source. A payload is a frame of video or an audio sample. Payloads can consist of multiple packets. Payload metrics are only applicable when using CDI.  Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 

## Source metrics for router connections
<a name="monitor-with-cloudwatch-metrics-source-health-source-router"></a>

The following table lists source metrics that AWS Elemental MediaConnect sends to CloudWatch when a flow source receives content from a router output. 


| Metric | Description | 
| --- | --- | 
| SourceBitRate |  The bitrate of the incoming (source) video. Units: bits per second (bps) Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceContinuityCounter |  The number of continuity counter errors in the transport stream. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceLatency |  The stream latency of the source. Latency is the time it takes for data packets to travel from the source to MediaConnect. Units: Milliseconds Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceNotRecoveredPackets |  The number of packets that were lost during transit and were not recovered by error correction. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceRecoveredPackets |  The number of packets that were recovered through retransmission. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceTotalPackets |  The total number of packets that were received. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceUptime |  The number of seconds that the source has been active. If the source is disconnected or has a connection timeout, this metric resets to zero. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 

In addition to the preceding metrics, all TR 101 290 Priority 1 and Priority 2 metrics are also published for router-connected sources. For details about those metrics, see [TR 101 290 Priority 1 metrics](#monitor-with-cloudwatch-metrics-source-health-p1) and [TR 101 290 Priority 2 metrics](#monitor-with-cloudwatch-metrics-source-health-p2).

## TR 101 290 Priority 1 metrics
<a name="monitor-with-cloudwatch-metrics-source-health-p1"></a>

The following table lists TR 101 290 Priority 1 metrics that AWS Elemental MediaConnect sends to CloudWatch.

 These metrics apply only to transport stream protocols. 


| Metric | Description | 
| --- | --- | 
| SourceContinuityCounter |  The number of times that a continuity error occurred. This error indicates an incorrect packet order or lost packets. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourcePATError |  The number of times that a program association table (PAT) error occurred. This error indicates that the PAT is missing. The PAT lists the programs that are available in a transport stream (TS) and points to the program map tables (PMTs). The decoder needs the PAT to do its job. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourcePIDError |  The number of times that a packet identifier (PID) error occurred. This error indicates that a PID is missing its associated data stream. The PIDs are identifiers that provide the location of the video, audio, and data streams. This error can occur after the TS has been multiplexed and then remultiplexed. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourcePMTError |  The number of times that a program map table (PMT) error occurred. This error happens when the PMT is not received at least every 500 milliseconds (ms). Each PMT contains a list of PIDs, which help decoders reassemble data. The decoder needs the PMTs to do its job. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceTSByteError |  The number of times that a TS byte error occurred. This error indicates that the sync byte did not appear after the prescribed number of bytes. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceTSSyncLoss |  The number of times that a TS sync loss error occurred. This error happens after two or more consecutive TS byte errors. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 

## TR 101 290 Priority 2 metrics
<a name="monitor-with-cloudwatch-metrics-source-health-p2"></a>

The following table lists TR 101 290 Priority 2 metrics that AWS Elemental MediaConnect sends to CloudWatch.

 These metrics apply only to transport stream protocols. 


| Metric | Description | 
| --- | --- | 
| SourceCATError |  The number of times that a conditional access table (CAT) error occurred. This error indicates that the CAT is not present. The CAT tells the integrated receiver decoder (IRD) where to find management messages for the conditional access (CA) systems that are in use. Units: Count Valid dimensions:  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceCRCError |  The number of times that a cyclic redundancy check (CRC) error occurred. This error happens when a CRC determines that data is corrupted. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourcePCRAccuracyError |  The number of times that a program clock register (PCR) accuracy error occurred. This error happens when the value of the transmitted PCR differs from what is expected by more than 500 nanoseconds (ns). When a stream is encoded, the encoder assigns periodic PCR values from the encoder's program clock. The decoder relies on these values to ensure that the stream is kept in sync. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourcePCRError |  The number of times that a PCR error occurred. This error happens when PCR values are not sent frequently enough. The service relies on consistent, frequent PCRs to reset the local 27 MHz system clock. Although the error occurs when the interval exceeds 100 milliseconds (ms), best practices dictate that PCRs should be received at least every 40 ms.  Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourcePTSError |  The number of times that a presentation timestamp (PTS) error occurred. This error happens when a presentation timestamp (PTS) is not received at least every 700 ms. This can occur if the PTS is sent less frequently or not at all. The most common cause of this error is when the TS is scrambled. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 
| SourceTransportError |  The number of times that a primary transport error occurred. This error indicates that the TS packet is unusable. When this error occurs, ignore all other TR 101 290 errors for this packet. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-source-health.html)  | 

# AWS Elemental MediaConnect metrics to monitor flow output health
<a name="monitor-with-cloudwatch-metrics-output-health"></a>

AWS Elemental MediaConnect sends metrics to CloudWatch. You can review specific metrics to evaluate the health of the output of your flow. 

**Topics**
+ [Output metrics for transport stream protocols](#monitor-with-cloudwatch-metrics-output-health-ts)
+ [Output metrics for NDI®](#monitor-with-cloudwatch-metrics-output-health-ndi)
+ [Output metrics for CDI protocols](#monitor-with-cloudwatch-metrics-output-health-cdi)
+ [Output metrics for router connections](#monitor-with-cloudwatch-metrics-output-health-router)

## Output metrics for transport stream protocols
<a name="monitor-with-cloudwatch-metrics-output-health-ts"></a>


| Metric | Description | 
| --- | --- | 
| ConnectedOutputs |  The number of outputs that are currently connected.  This metric applies to outputs that use the Zixi or SRT protocol.  Units: Count Valid dimensions:  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-output-health.html)  | 
| OutputARQRequests |  The number of retransmitted packets that were requested through automatic repeat request (ARQ) and received.  This metric applies to outputs that use the SRT protocol or output to MediaLive. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-output-health.html)  | 
| OutputBitrate |  The bitrate of the outgoing (output) video.  This metric applies to outputs that use the SRT protocols or output to MediaLive. Units: bits per second (bps) Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-output-health.html)  Both MediaConnect and the Zixi protocol use bandwidth optimization techniques that can affect bitrate measurements:   In flows with Zixi outputs, Zixi often optimizes network usage by substituting repetitive content packets with null packets.   For entitlements, MediaConnect performs similar optimization between the content originator's flow and the subscriber's flow.   For example, in a 30 Mbps stream with repetitive content (like a black slate), either optimization might reduce the bitrate to 5 Mbps. These bitrate fluctuations are normal and don't affect content quality, but they might be noticeable in your bitrate monitoring. Additionally, the `OutputBitrate` value can vary depending on the selected protocol due to non-payload packets, retransmitted packets, packet headers, and other protocol-specific packets. Due to these factors, the bitrate value reported by this metric might vary between outputs.   | 
| OutputConnected |  The status of the output. A value of 1 indicates that the output is connected, and a value of 0 (zero) indicates that the output is disconnected.  This metric applies to outputs that use the Zixi or SRT protocol. Units: None Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-output-health.html)  | 
| OutputDisconnections |  The number of times that the output status changed from connected to disconnected.  This metric applies to outputs that use the Zixi or SRT protocol. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-output-health.html)  | 
| OutputNotRecoveredPackets |  The number of packets that were lost during transit and were not recovered by error correction.  This metric applies to outputs to MediaLive. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-output-health.html)  | 
| OutputResentPackets |  The number of packets that were retransmitted to the output destination.  This metric applies to outputs that use the SRT protocol or output to MediaLive. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-output-health.html)  | 
| OutputRoundTripTime |  The amount of time it takes for the output to send a signal and receive an acknowledgment from the output destination.  This metric applies to outputs that use the SRT protocol or output to MediaLive. Units: Milliseconds Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-output-health.html)  | 
| OutputTotalPackets |  The total number of packets that were sent to the output.  This metric applies to outputs that use the SRT protocols or output to MediaLive. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-output-health.html)  | 

## Output metrics for NDI®
<a name="monitor-with-cloudwatch-metrics-output-health-ndi"></a>


| Metric | Description | 
| --- | --- | 
|  OutputConnectedReceivers  |  The number of NDI receivers that are connected to the flow output. This metric applies to NDI outputs only. Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-output-health.html)  | 
|  OutputGeneratedAudioSamples  |  The number of audio samples that are sent to each individual NDI receiver. This metric applies to NDI outputs only.  This metric is published even if no receivers are currently connected. If multiple receivers are connected, keep in mind this value represents the number sent to each receiver, not the total across all receivers. The value is not multiplied based on the number of receivers. Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-output-health.html)  | 
|  OutputGeneratedVideoFrames  |  The number of video frames that are sent to each individual NDI receiver. This metric applies to NDI outputs only.  This metric is published even if no receivers are currently connected. If multiple receivers are connected, keep in mind this value represents the number sent to each receiver, not the total across all receivers. The value is not multiplied based on the number of receivers. Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-output-health.html)  | 

## Output metrics for CDI protocols
<a name="monitor-with-cloudwatch-metrics-output-health-cdi"></a>


| Metric | Description | 
| --- | --- | 
| OutputDroppedPayloads |  Payloads that were lost during transit from MediaConnect to the output. A payload is a frame of video or an audio sample. Payloads can consist of multiple packets. Payload metrics are only applicable when using CDI.  Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-output-health.html)  | 
| OutputLatePayloads |  Packets of a payload that arrive at the output outside of MediaConnect's internal buffer. A payload is a frame of video or an audio sample. Payloads can consist of multiple packets. Payload metrics are only applicable when using CDI.  Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-output-health.html)  | 
| OutputTotalBytes |  Total amount of bytes transferred from MediaConnect to the output.  This metric is only applicable when using CDI. Units: Bytes Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-output-health.html)  | 
| OutputTotalPayloads |  Total amount of payloads delivered from MediaConnect to the output. A payload is a frame of video or an audio sample. Payloads can consist of multiple packets. Payload metrics are only applicable when using CDI.  Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-output-health.html)  | 

## Output metrics for router connections
<a name="monitor-with-cloudwatch-metrics-output-health-router"></a>

The following table lists source metrics that MediaConnect sends to CloudWatch when a flow output sends content to a router input. 


| Metric | Description | 
| --- | --- | 
| OutputEnabled |  The status of the output. A value of 1 indicates that the output is enabled, and a value of 0 (zero) indicates that the output is disabled. Units: None Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-output-health.html)  | 
| OutputBitrate |  The bitrate of the outgoing (output) video. Units: bits per second (bps) Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-output-health.html)  | 

# AWS Elemental MediaConnect metrics to monitor router input health
<a name="monitor-with-cloudwatch-metrics-router-input-health"></a>

AWS Elemental MediaConnect sends metrics to CloudWatch. You can review specific metrics to evaluate the health of your router inputs. For details about each metric, see the tables in this section.

For information about flow metrics, see [Metrics to monitor flow health](monitor-with-cloudwatch-metrics-flow-health.md).

**Topics**
+ [Router input metrics](#monitor-with-cloudwatch-metrics-router-input)
+ [Failover metrics for router inputs](#monitor-with-cloudwatch-metrics-router-input-failover)
+ [Merge metrics for router inputs](#monitor-with-cloudwatch-metrics-router-input-merge)
+ [Router input metrics for MediaConnect flow connections](#monitor-with-cloudwatch-metrics-router-input-flow)

## Router input metrics
<a name="monitor-with-cloudwatch-metrics-router-input"></a>

The following table lists router input metrics that AWS Elemental MediaConnect sends to CloudWatch.


| Metric | Description | 
| --- | --- | 
| RouterInputARQRequests |  The number of retransmitted packets that were requested through automatic repeat request (ARQ). Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: RIST, SRT  | 
| RouterInputBitRate |  The bitrate of the payload, not including protocol overhead. Units: bits per second (bps) Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputCCErrors |  The number of times that a continuity error occurred. This error indicates an incorrect packet order or lost packets. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputConnected |  The status of the input. A value of 1 indicates that the input is connected, and a value of 0 (zero) indicates that the input is disconnected. Units: None Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: SRT  | 
| RouterInputDisconnections |  The number of times that the input status changed from connected to disconnected. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: SRT  | 
| RouterInputFECPackets |  The number of forward error correction packets. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: RTP/FEC  | 
| RouterInputJitter |  The jitter measurement specific to the protocol being used. Units: Milliseconds Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: RIST, SRT  | 
| RouterInputLatency |  The recovery latency of the input stream. Units: Milliseconds Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: RIST, SRT, RTP/FEC  | 
| RouterInputNotRecoveredPackets |  The number of packets that were lost during transit and were not recovered by error correction. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputRecoveredPackets |  The number of packets that were recovered through retransmission. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputRejections |  The number of times the connection was rejected by the peer. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: SRT  | 
| RouterInputRoundTripTime |  The amount of time it takes for the input to send a signal and receive an acknowledgment. Units: Milliseconds Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputTotalPackets |  The total number of packets received by the input. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputTR101PCRAccuracyError |  The number of PCR accuracy errors in the transport stream. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputTR101TSByteError |  The number of times that a transport stream byte error occurred. This error indicates that the sync byte did not appear after the prescribed number of bytes. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputTR101TSSyncLoss |  The number of transport stream sync loss errors. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputUptime |  The amount of time the input has been receiving data. Units: Seconds Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 

## Failover metrics for router inputs
<a name="monitor-with-cloudwatch-metrics-router-input-failover"></a>

When you configure a router input for failover, MediaConnect collects two sets of metrics: aggregate metrics for the overall router input, as well as source-level metrics to track the individual failover sources. 

### Aggregate failover metrics
<a name="cloudwatch-metrics-router-input-failover-aggregate"></a>

These metrics give you a view of the failover router input's performance. 


| Metric | Description | 
| --- | --- | 
| RouterInputFailoverActiveSource |  Index of the currently active source. Units: None Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputFailoverSwitches |  The total number of times the router input has switched sources. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: Protocols: All  | 
| RouterInputPostFailoverBitRate |  The bitrate of the payload after failover, not including protocol overhead.  Units: bits per second (bps) Valid dimensions:  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputPostFailoverCCErrors |  The number of continuity errors in the transport stream after failover. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputPostFailoverNotRecoveredPackets |  The number of unrecovered packets after failover. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputPostFailoverRecoveredPackets |  The number of recovered packets after failover. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputPostFailoverTR101PCRAccuracyError |  The number of PCR accuracy errors in the transport stream after failover. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputPostFailoverTR101TSByteError |  The number of times that a transport stream byte error occurred after failover. This error indicates that the sync byte did not appear after the prescribed number of bytes. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputPostFailoverTR101TSSyncLoss |  The number of transport stream sync loss errors after failover. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 

### Source-level failover metrics
<a name="cloudwatch-metrics-router-input-failover-source"></a>

For router inputs that are configured for failover, the basic router input metrics are also available with an additional `RouterInputFailoverSourceIndex` dimension. This enables you to monitor the performance of the first failover source (`RouterInputFailoverSourceIndex=0`) and the second failover source (`RouterInputFailoverSourceIndex=1`) separately.


| Metric | Description | 
| --- | --- | 
| RouterInputARQRequests |  The number of retransmitted packets that were requested through automatic repeat request (ARQ). Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: RIST, SRT  | 
| RouterInputBitRate |  The bitrate of the payload, not including protocol overhead.  Units: bits per second (bps) Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputCCErrors |  The number of times that a continuity error occurred. This error indicates an incorrect packet order or lost packets. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputConnected |  The status of the input. A value of 1 indicates that the input is connected, and a value of 0 (zero) indicates that the input is disconnected. Units: None Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: SRT  | 
| RouterInputDisconnections |  The number of times that the input status changed from connected to disconnected. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: SRT  | 
| RouterInputFECPackets |  The number of forward error correction packets. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: RTP/FEC  | 
| RouterInputJitter |  The jitter measurement specific to the protocol being used. Units: Milliseconds Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: RIST, SRT  | 
| RouterInputLatency |  The recovery latency of the input stream. Units: Milliseconds Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputNotRecoveredPackets |  The number of packets that were lost during transit and were not recovered by error correction. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputRecoveredPackets |  The number of packets that were recovered through retransmission. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputRejections |  The number of times the connection was rejected by the peer. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: SRT  | 
| RouterInputRoundTripTime |  The amount of time it takes for the input to send a signal and receive an acknowledgment. Units: Milliseconds Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputTotalPackets |  The total number of packets received by the input. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputTR101PCRAccuracyError |  The number of PCR accuracy errors in the transport stream. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputTR101TSByteError |  The number of times that a transport stream byte error occurred. This error indicates that the sync byte did not appear after the prescribed number of bytes. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputTR101TSSyncLoss |  The number of transport stream sync loss errors. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputUptime |  The amount of time the input has been receiving data. Units: Seconds Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 

## Merge metrics for router inputs
<a name="monitor-with-cloudwatch-metrics-router-input-merge"></a>

Similar to failover, when you configure a router input for merge, MediaConnect provides both aggregate and source-level metrics.

### Aggregate merge metrics
<a name="cloudwatch-metrics-router-input-merge-aggregate"></a>

These metrics give you a high-level, overall view of the merge input's performance. They include data that applies to the entire merge configuration, without differentiating between the two merge sources.


| Metric | Description | 
| --- | --- | 
| RouterInputMergeActive |  The merge status of all router input sources. A value of 1 indicates that all sources are merged. A value of 0 (zero) indicates that at least one source is not actively merged with 2022-7.  Units: None Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: RTP, RIST  | 
| RouterInputMergeSkew |  Maximum time skew between the two router input sources. Units: Milliseconds Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html)Protocols: RTP, RIST | 
| RouterInputPostMergeBitRate |  The bitrate of the payload after merge, not including protocol overhead.  Units: bits per second (bps) Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: RTP, RIST  | 
| RouterInputPostMergeCCErrors |  The number of continuity errors in the transport stream after merge. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: RTP, RIST  | 
| RouterInputPostMergeNotRecoveredPackets |  The number of unrecovered packets after merge. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: RTP, RIST  | 
| RouterInputPostMergeRecoveredPackets |  The number of recovered packets after merge. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: RTP, RIST  | 
| RouterInputPostMergeTR101PCRAccuracyError |  The number of PCR accuracy errors in the transport stream after merge. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputPostMergeTR101TSByteError |  The number of times that a transport stream byte error occurred after merge. This error indicates that the sync byte did not appear after the prescribed number of bytes. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputPostMergeTR101TSSyncLoss |  The number of transport stream sync loss errors after merge. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 

### Source-level merge metrics
<a name="cloudwatch-metrics-router-input-merge-source"></a>

For router inputs that are configured for merge, the basic router input metrics are also available with an additional `RouterInputMergeSourceIndex` dimension. This enables you to monitor the performance of the first merge source (`RouterInputMergeSourceIndex=0`) and the second merge source (`RouterInputMergeSourceIndex=1`) separately.


| Metric | Description | 
| --- | --- | 
| RouterInputARQRequests |  The number of retransmitted packets that were requested through automatic repeat request (ARQ). Units: Count Valid dimensions:  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputBitRate |  The bitrate of the payload, not including protocol overhead. Units: bits per second (bps) Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputCCErrors |  The number of times that a continuity error occurred. This error indicates an incorrect packet order or lost packets. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputConnected |  The status of the input. A value of 1 indicates that the input is connected, and a value of 0 (zero) indicates that the input is disconnected. Units: None Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: SRT  | 
| RouterInputDisconnections |  The number of times that the input status changed from connected to disconnected. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: SRT  | 
| RouterInputFECPackets |  The number of forward error correction packets. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: RTP/FEC  | 
| RouterInputJitter |  The jitter measurement specific to the protocol being used. Units: Milliseconds Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: RIST, SRT  | 
| RouterInputLatency |  The recovery latency of the input stream. Units: Milliseconds Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputNotRecoveredPackets |  The number of packets that were lost during transit and were not recovered by error correction. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputRecoveredPackets |  The number of packets that were recovered through retransmission. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputRejections |  The number of times the connection was rejected by the peer. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: SRT  | 
| RouterInputRoundTripTime |  The amount of time it takes for the input to send a signal and receive an acknowledgment. Units: Milliseconds Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputTotalPackets |  The total number of packets received by the input. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputTR101PCRAccuracyError |  The number of PCR accuracy errors in the transport stream. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputTR101TSByteError |  The number of times that a transport stream byte error occurred. This error indicates that the sync byte did not appear after the prescribed number of bytes. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputTR101TSSyncLoss |  The number of transport stream sync loss errors. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputUptime |  The amount of time the input has been receiving data. Units: Seconds Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 

## Router input metrics for MediaConnect flow connections
<a name="monitor-with-cloudwatch-metrics-router-input-flow"></a>

When a router input receives content from a MediaConnect flow, MediaConnect sends the following metrics to CloudWatch. 


| Metric | Description | 
| --- | --- | 
| RouterInputBitRate |  The bitrate of the payload, not including protocol overhead. Units: bits per second (bps) Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputCCErrors |  The number of times that a continuity error occurred. This error indicates an incorrect packet order or lost packets. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputLatency |  The recovery latency of the input stream. Units: Milliseconds Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: RIST, SRT, RTP/FEC  | 
| RouterInputNotRecoveredPackets |  The number of packets that were lost during transit and were not recovered by error correction. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputRecoveredPackets |  The number of packets that were recovered through retransmission. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputTR101PCRAccuracyError |  The number of PCR accuracy errors in the transport stream. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputTR101TSByteError |  The number of times that a transport stream byte error occurred. This error indicates that the sync byte did not appear after the prescribed number of bytes. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputTR101TSSyncLoss |  The number of transport stream sync loss errors. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 
| RouterInputUptime |  The amount of time the input has been receiving data. Units: Seconds Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-input-health.html) Protocols: All  | 

**Note**  
When no MediaConnect flow is connected to the router input, the UpstreamFlowOutputName and UpstreamFlowARN dimensions display as `<unconnected>`. 

# AWS Elemental MediaConnect metrics to monitor router output health
<a name="monitor-with-cloudwatch-metrics-router-output-health"></a>

AWS Elemental MediaConnect sends metrics to CloudWatch. You can review specific metrics to evaluate the health of your router outputs. For details about each metric, see the tables in this section.

For information about flow metrics, see [Metrics to monitor flow health](monitor-with-cloudwatch-metrics-flow-health.md).

**Topics**
+ [Standard output metrics](#monitor-with-cloudwatch-metrics-router-output)
+ [Router output metrics for MediaConnect flow connections](#monitor-with-cloudwatch-metrics-router-output-flow)
+ [Router output metrics for MediaLive connections](#monitor-with-cloudwatch-metrics-router-output-medialive)
+ [Route metrics](#monitor-with-cloudwatch-metrics-router-output-route)

## Standard output metrics
<a name="monitor-with-cloudwatch-metrics-router-output"></a>

The following table lists router standard output metrics that AWS Elemental MediaConnect sends to CloudWatch.


| Metric | Description | 
| --- | --- | 
| RouterOutputARQRequests |  The number of retransmitted packets that were requested through automatic repeat request (ARQ). Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-output-health.html) Protocols: RIST, SRT  | 
| RouterOutputBitRate |  The bitrate of the output stream payload, not including protocol overhead.  Units: bits per second (bps) Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-output-health.html) Protocols: All  | 
| RouterOutputConnected |  The status of the output. A value of 1 indicates that the output is connected, and a value of 0 (zero) indicates that the output is disconnected. Units: None Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-output-health.html) Protocols: SRT  | 
| RouterOutputDisconnections |  The number of times that the output status changed from connected to disconnected. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-output-health.html) Protocols: SRT  | 
| RouterOutputFECPackets |  The number of forward error correction packets sent by the output. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-output-health.html) Protocols: RTP/FEC  | 
| RouterOutputLatency |  The latency of the output stream. Units: Milliseconds Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-output-health.html) Protocols: SRT  | 
| RouterOutputRejections |  The number of times the connection was rejected by the peer. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-output-health.html) Protocols: SRT  | 
| RouterOutputResentPackets |  The number of packets that were retransmitted to the output destination.  Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-output-health.html) Protocols: RIST, SRT  | 
| RouterOutputRoundTripTime |  The amount of time it takes for the output to send a signal and receive an acknowledgment. Units: Milliseconds Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-output-health.html) Protocols: RIST, SRT  | 
| RouterOutputTotalPackets |  The total number of packets sent by the output. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-output-health.html) Protocols: All  | 

## Router output metrics for MediaConnect flow connections
<a name="monitor-with-cloudwatch-metrics-router-output-flow"></a>

When a router output sends content to a MediaConnect flow, MediaConnect sends the following metrics to CloudWatch.


| Metric | Description | 
| --- | --- | 
| RouterOutputBitRate |  The bitrate of the output stream payload, not including protocol overhead. Units: bits per second (bps) Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-output-health.html) Protocols: All  | 

**Note**  
When no AWS Elemental MediaConnect flow is connected to the router output, the DownstreamFlowSourceName and DownstreamFlowARN dimensions display as `<unconnected>`. 

## Router output metrics for MediaLive connections
<a name="monitor-with-cloudwatch-metrics-router-output-medialive"></a>

When a router output sends content to a MediaLive input, MediaConnect sends the following metrics to CloudWatch.


| Metric | Description | 
| --- | --- | 
| RouterOutputBitRate |  The bitrate of the output stream payload, not including protocol overhead. Units: bits per second (bps) Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-output-health.html) Protocols: All  | 

**Note**  
When no MediaLive input is connected to the router output, the DownstreamMediaLiveInputID dimension displays as `<unconnected>`. 

## Route metrics
<a name="monitor-with-cloudwatch-metrics-router-output-route"></a>

These metrics track the connection between a router input and a router output. MediaConnect publishes these metrics on the output side of the route.


| Metric | Description | 
| --- | --- | 
| RouteBitRate |  The bitrate of the content on the route between the router input and the router output. Units: bits per second (bps) Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-output-health.html) Protocols: All  | 
| RouteNotRecoveredPackets |  The number of packets lost between the router input and the router output. Units: Count Valid dimensions: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-router-output-health.html) Protocols: All  | 

**Note**  
When the router output is running but not connected to a router input, the RouterInputName, RouterInputID and RouterInputAvailabilityZone dimensions display as `<unrouted>`. 

# AWS Elemental MediaConnect metrics to monitor gateway health
<a name="monitor-with-cloudwatch-metrics-gateway-health"></a>

AWS Elemental MediaConnect sends metrics to CloudWatch. You can review specific metrics to evaluate the health of your gateways. If the flow in or out of the gateway is unhealthy, these metrics can help you determine where the issue originates from. For details about each metric, see the tables in this section.

**Note**  
MediaConnect Gateway metrics are not available in high resolution periods (one second). You must select a period of at least one minute.

**Topics**
+ [Gateway ingress metrics](#monitor-with-cloudwatch-metrics-gateway-ingress)
+ [Gateway ingress source metrics](#monitor-with-cloudwatch-metrics-gateway-ingress-source)
+ [Gateway egress metrics](#monitor-with-cloudwatch-metrics-gateway-egress)
+ [Gateway egress source metrics](#monitor-with-cloudwatch-metrics-gateway-egress-source)

## Gateway ingress metrics
<a name="monitor-with-cloudwatch-metrics-gateway-ingress"></a>

The following table lists gateway ingress metrics that AWS Elemental MediaConnect sends to CloudWatch.


| Metric | Description | 
| --- | --- | 
|  IngressBridgeBitRate  |  The bitrate of the ingress bridge's source, after the failover merge. This source originates from your local datacenter. Units: bits per second (bps) Valid dimension sets:  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html)  | 
|  IngressBridgeCATError  | The number of times that a conditional access table (CAT) error occurred. This error indicates that the CAT is not present. The CAT tells the integrated receiver decoder (IRD) where to find management messages for the conditional access (CA) systems that are in use.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeCRCError  | The number of times that a cyclic redundancy check (CRC) error occurred. This error happens when a CRC determines that data is corrupted.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeContinuityCounter  | The number of times that a continuity error occurred. This error indicates an incorrect packet order or lost packets.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeDroppedPackets  | The number of packets that were lost during transit. This value is measured before any error correction takes place.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeFailoverSwitches  | The total number of times the bridge switches back and forth between sources when using the Failover mode for source failover.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeMergeActive  | The merge status of all sources on the bridge. A value of 1 indicates that all sources are merged. A value of 0 (zero) indicates that at least one source is not actively merged with 2022-7.Units: NoneValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeNotRecoveredPackets  | The number of packets that were lost during transit and were not recovered by error correction.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgePATError  | The number of times that a program association table (PAT) error occurred. This error indicates that the PAT is missing. The PAT lists the programs that are available in a transport stream (TS) and points to the program map tables (PMTs). The decoder needs the PAT to do its job.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgePCRAccuracyError  | The number of times that a program clock register (PCR) accuracy error occurred. This error happens when the value of the transmitted PCR differs from what is expected by more than 500 nanoseconds (ns). When a stream is encoded, the encoder assigns periodic PCR values of the encoder's program clock. The decoder relies on these values to ensure that the stream is kept in sync.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgePCRError  | The number of times that a PCR error occurred. This error happens when PCR values are not sent frequently enough. The service relies on consistent, frequent PCRs to reset the local 27 MHz system clock. Although the error occurs when the interval exceeds 100 milliseconds (ms), best practices dictate that PCRs should be received at least every 40 ms.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgePIDError  | The number of times that a packet identifier (PID) error occurred. This error indicates that a PID is missing its associated data stream. The PIDs are identifiers that provide the location of the video, audio, and data streams. This error can occur after the transport stream has been multiplexed and then remultiplexed.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgePMTError  | The number of times that a program map table (PMT) error occurred. This error happens when the PMT is not received at least every 500 milliseconds (ms). Each PMT contains a list of PIDs, which help decoders reassemble data. The decoder needs the PMTs to do its job.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgePTSError  | The number of times that a presentation timestamp (PTS) error occurred. This error happens when a presentation timestamp (PTS) is not received at least every 700 ms. This can occur if the PTS is sent less frequently or not at all. The most common cause of this error is when the transport stream (TS) is scrambled.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgePacketLossPercent  | The percentage of packets that were lost during transit, even if they were recovered.Units: PercentValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeRecoveredPackets  | The number of packets that were lost during transit, but recovered.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeTSByteError  | The number of times that a transport stream byte error occurred. This error indicates that the sync byte did not appear after the prescribed number of bytes.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeTSSyncLoss  | The number of times that a transport stream sync loss error occurred. This error happens after two or more consecutive transport stream byte errors.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeTotalPackets  | The total number of packets that were received.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeTransportError  | The number of times that a primary transport error occurred. This error indicates that the transport stream packet is unusable. When this error occurs, ignore all other TR 101 290 errors for this packet.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 

## Gateway ingress source metrics
<a name="monitor-with-cloudwatch-metrics-gateway-ingress-source"></a>

The following table lists gateway ingress source metrics that AWS Elemental MediaConnect sends to CloudWatch.


| Metric | Description | 
| --- | --- | 
|  IngressBridgeSourceARQRecovered  |  The number of dropped packets that were recovered by automatic repeat request (ARQ). It doesn't apply to flows that receive content from an entitlement. Units: Count Valid dimension sets:  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html)  | 
|  IngressBridgeSourceARQRequests  | The number of retransmitted packets that were requested through automatic repeat request (ARQ) and received. It doesn't apply to flows that receive content from an entitlement.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeSourceBitRate  |  The bitrate of the ingress bridge's source, prior to any failover merge. This source originates from your local datacenter. Units: bits per second (bps) Valid dimension sets:  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html)  | 
|  IngressBridgeSourceCATError  | The number of times that a conditional access table (CAT) error occurred. This error indicates that the CAT is not present. The CAT tells the integrated receiver decoder (IRD) where to find management messages for the conditional access (CA) systems that are in use.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeSourceCRCError  | The number of times that a cyclic redundancy check (CRC) error occurred. This error happens when a CRC determines that data is corrupted.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeSourceContinuityCounter  | The number of times that a continuity error occurred. This error indicates an incorrect packet order or lost packets.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeSourceDroppedPackets  | The number of packets that were lost during transit. This value is measured before any error correction takes place.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeSourceFECPackets  | The number of packets that were transmitted using forward error correction (FEC) and received. It doesn't apply to flows that receive content from an entitlement.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeSourceFECRecovered  | The number of packets that were transmitted using forward error correction (FEC), lost during transit, and recovered. It doesn't apply to flows that receive content from an entitlement.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeSourceMergeActive  | An indication of the status of the source with respect to other sources. This metric is useful when the bridge has multiple sources for failover and you are using the Merge failover mode. A value of 1 indicates that the bridge has multiple sources and that this source is actively in use, with 2022-7 merge. A value of 0 (zero) indicates that the bridge is not using the source to form the stream.Units: NoneValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeSourceMergeLatency  | The amount of time that this source trails the primary source. If this source is the primary source, the value is 0 (zero).Units: MillisecondsValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeSourceNotRecoveredPackets  | The number of packets that were lost during transit and were not recovered by error correction.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeSourceOverflowPackets  | The number of packets that were lost in transit because the video required more buffer than was available. This metric doesn't apply to flows that receive content from an entitlement or to flows that have multiple sources.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeSourcePATError  | The number of times that a program association table (PAT) error occurred. This error indicates that the PAT is missing. The PAT lists the programs that are available in a transport stream (TS) and points to the program map tables (PMTs). The decoder needs the PAT to do its job.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeSourcePCRAccuracyError  | The number of times that a program clock register (PCR) accuracy error occurred. This error happens when the value of the transmitted PCR differs from what is expected by more than 500 nanoseconds (ns). When a stream is encoded, the encoder assigns periodic PCR values from the encoder's program clock. The decoder relies on these values to ensure that the stream is kept in sync.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeSourcePCRError  | The number of times that a PCR error occurred. This error happens when PCR values are not sent frequently enough. The service relies on consistent, frequent PCRs to reset the local 27 MHz system clock. Although the error occurs when the interval exceeds 100 milliseconds (ms), best practices dictate that PCRs should be received at least every 40 ms.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeSourcePIDError  | The number of times that a packet identifier (PID) error occurred. This error indicates that a PID is missing its associated data stream. The PIDs are identifiers that provide the location of the video, audio, and data streams. This error can occur after the transport stream has been multiplexed and then remultiplexed.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeSourcePMTError  | The number of times that a program map table (PMT) error occurred. This error happens when the PMT is not received at least every 500 milliseconds (ms). Each PMT contains a list of PIDs, which help decoders reassemble data. The decoder needs the PMTs to do its job.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeSourcePTSError  | The number of times that a presentation timestamp (PTS) error occurred. This error happens when a presentation timestamp (PTS) is not received at least every 700 ms. This can occur if the PTS is sent less frequently or not at all. The most common cause of this error is when the TS is scrambled.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeSourcePacketLossPercent  | The percentage of packets that were lost during transit, even if they were recovered.Units: PercentValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeSourceRecoveredPackets  | The number of packets that were lost during transit, but recovered.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeSourceRoundTripTime  | The amount of time it takes for the source to send a signal and receive an acknowledgment from AWS Elemental MediaConnect. It doesn't apply to flows that receive content from an entitlement. Units: Milliseconds Valid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeSourceTSByteError  | The number of times that a transport stream byte error occurred. This error indicates that the sync byte did not appear after the prescribed number of bytes.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeSourceTSSyncLoss  | The number of times that a transport stream sync loss error occurred. This error happens after two or more consecutive transport stream byte errors.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeSourceTotalPackets  | The total number of packets that were received.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  IngressBridgeSourceTransportError  | The number of times that a primary transport error occurred. This error indicates that the transport stream packet is unusable. When this error occurs, ignore all other TR 101 290 errors for this packet.Units: CountValid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 

## Gateway egress metrics
<a name="monitor-with-cloudwatch-metrics-gateway-egress"></a>

The following table lists gateway egress metrics that AWS Elemental MediaConnect sends to CloudWatch.


| Metric | Description | 
| --- | --- | 
|  EgressBridgeBitRate  |  The bitrate of the egress bridge's source, after the failover merge. This source originates from a MediaConnect flow. Units: bits per second (bps) Valid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html)  | 
|  EgressBridgeCATError  | The number of times that a conditional access table (CAT) error occurred. This error indicates that the CAT is not present. The CAT tells the integrated receiver decoder (IRD) where to find management messages for the conditional access (CA) systems that are in use.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgeCRCError  | The number of times that a cyclic redundancy check (CRC) error occurred. This error happens when a CRC determines that data is corrupted.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgeContinuityCounter  | The number of times that a continuity error occurred. This error indicates an incorrect packet order or lost packets.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgeDroppedPackets  | The number of packets that were lost during transit. This value is measured before any error correction takes place.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgeFailoverSwitches  | The total number of times the bridge switches back and forth between sources when using the Failover mode for source failover.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgeMergeActive  | The merge status of all sources on the bridge. A value of 1 indicates that all sources are merged. A value of 0 (zero) indicates that at least one source is not actively merged with 2022-7.Units: NoneValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgeNotRecoveredPackets  | The number of packets that were lost during transit and were not recovered by error correction.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgePATError  | The number of times that a program association table (PAT) error occurred. This error indicates that the PAT is missing. The PAT lists the programs that are available in a transport stream (TS) and points to the program map tables (PMTs). The decoder needs the PAT to do its job.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgePCRAccuracyError  | The number of times that a program clock register (PCR) accuracy error occurred. This error happens when the value of the transmitted PCR differs from what is expected by more than 500 nanoseconds (ns). When a stream is encoded, the encoder assigns periodic PCR values of the encoder's program clock. The decoder relies on these values to ensure that the stream is kept in sync.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgePCRError  | The number of times that a PCR error occurred. This error happens when PCR values are not sent frequently enough. The service relies on consistent, frequent PCRs to reset the local 27 MHz system clock. Although the error occurs when the interval exceeds 100 milliseconds (ms), best practices dictate that PCRs should be received at least every 40 ms.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgePIDError  | The number of times that a packet identifier (PID) error occurred. This error indicates that a PID is missing its associated data stream. The PIDs are identifiers that provide the location of the video, audio, and data streams. This error can occur after the transport stream has been multiplexed and then remultiplexed.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgePMTError  | The number of times that a program map table (PMT) error occurred. This error happens when the PMT is not received at least every 500 milliseconds (ms). Each PMT contains a list of PIDs, which help decoders reassemble data. The decoder needs the PMTs to do its job.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgePTSError  | The number of times that a presentation timestamp (PTS) error occurred. This error happens when a presentation timestamp (PTS) is not received at least every 700 ms. This can occur if the PTS is sent less frequently or not at all. The most common cause of this error is when the transport stream (TS) is scrambled.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgePacketLossPercent  | The percentage of packets that were lost during transit, even if they were recovered.Units: PercentValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgeRecoveredPackets  | The number of packets that were lost during transit, but recovered.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgeTSByteError  | The number of times that a transport stream byte error occurred. This error indicates that the sync byte did not appear after the prescribed number of bytes.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgeTSSyncLoss  | The number of times that a transport stream sync loss error occurred. This error happens after two or more consecutive transport stream byte errors.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgeTotalPackets  | The total number of packets that were received.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgeTransportError  | The number of times that a primary transport error occurred. This error indicates that the transport stream packet is unusable. When this error occurs, ignore all other TR 101 290 errors for this packet.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 

## Gateway egress source metrics
<a name="monitor-with-cloudwatch-metrics-gateway-egress-source"></a>

The following table lists gateway egress source metrics that AWS Elemental MediaConnect sends to CloudWatch.


| Metric | Description | 
| --- | --- | 
|  EgressBridgeSourceBitRate  |  The bitrate of the egress bridge's source, prior to any failover merge. This source originates from a MediaConnect flow. Units: bits per second (bps) Valid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html)  | 
|  EgressBridgeSourceCATError  | The number of times that a conditional access table (CAT) error occurred. This error indicates that the CAT is not present. The CAT tells the integrated receiver decoder (IRD) where to find management messages for the conditional access (CA) systems that are in use.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgeSourceCRCError  | The number of times that a cyclic redundancy check (CRC) error occurred. This error happens when a CRC determines that data is corrupted.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgeSourceContinuityCounter  | The number of times that a continuity error occurred. This error indicates an incorrect packet order or lost packets.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgeSourceDroppedPackets  | The number of packets that were lost during transit. This value is measured before any error correction takes place.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgeSourceMergeActive  | An indication of the status of the source with respect to other sources. This metric is useful when the bridge has multiple sources for failover and you are using the Merge failover mode. A value of 1 indicates that the bridge has multiple sources and that this source is actively in use, with 2022-7 merge. A value of 0 (zero) indicates that the bridge is not using the source to form the stream.Units: NoneValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgeSourceMergeLatency  | The amount of time that this source trails the primary source. If this source is the primary source, the value is 0 (zero).Units: MillisecondsValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgeSourceNotRecoveredPackets  | The number of packets that were lost during transit and were not recovered by error correction.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgeSourcePATError  | The number of times that a program association table (PAT) error occurred. This error indicates that the PAT is missing. The PAT lists the programs that are available in a transport stream (TS) and points to the program map tables (PMTs). The decoder needs the PAT to do its job.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgeSourcePCRAccuracyError  | The number of times that a program clock register (PCR) accuracy error occurred. This error happens when the value of the transmitted PCR differs from what is expected by more than 500 nanoseconds (ns). When a stream is encoded, the encoder assigns periodic PCR values from the encoder's program clock. The decoder relies on these values to ensure that the stream is kept in sync.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgeSourcePCRError  | The number of times that a PCR error occurred. This error happens when PCR values are not sent frequently enough. The service relies on consistent, frequent PCRs to reset the local 27 MHz system clock. Although the error occurs when the interval exceeds 100 milliseconds (ms), best practices dictate that PCRs should be received at least every 40 ms.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgeSourcePIDError  | The number of times that a packet identifier (PID) error occurred. This error indicates that a PID is missing its associated data stream. The PIDs are identifiers that provide the location of the video, audio, and data streams. This error can occur after the transport stream has been multiplexed and then remultiplexed.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgeSourcePMTError  | The number of times that a program map table (PMT) error occurred. This error happens when the PMT is not received at least every 500 milliseconds (ms). Each PMT contains a list of PIDs, which help decoders reassemble data. The decoder needs the PMTs to do its job.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgeSourcePTSError  | The number of times that a presentation timestamp (PTS) error occurred. This error happens when a presentation timestamp (PTS) is not received at least every 700 ms. This can occur if the PTS is sent less frequently or not at all. The most common cause of this error is when the TS is scrambled.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgeSourcePacketLossPercent  | The percentage of packets that were lost during transit, even if they were recovered.Units: PercentValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgeSourceRecoveredPackets  | The number of packets that were lost during transit, but recovered.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgeSourceTSByteError  | The number of times that a transport stream byte error occurred. This error indicates that the sync byte did not appear after the prescribed number of bytes.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgeSourceTSSyncLoss  |  The number of times that a transport stream sync loss error occurred. This error happens after two or more consecutive transport stream byte errors. Units: Count Valid dimension sets: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html)  | 
|  EgressBridgeSourceTotalPackets  | The total number of packets that were received.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 
|  EgressBridgeSourceTransportError  | The number of times that a primary transport error occurred. This error indicates that the transport stream packet is unusable. When this error occurs, ignore all other TR 101 290 errors for this packet.Units: CountValid dimension sets:[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/mediaconnect/latest/ug/monitor-with-cloudwatch-metrics-gateway-health.html) | 

# Using metrics to troubleshoot problems with your MediaConnect flow
<a name="monitor-with-cloudwatch-metrics-troubleshooting"></a>

You can monitor the health of your stream by reviewing the metrics that AWS Elemental MediaConnect sends to CloudWatch. In particular, if you encounter a problem on your MediaConnect flow, these metrics can help you isolate the problem. The specific metrics to watch depend on the protocol that your source uses. Review the lists below, which are sorted by source protocol.

**Topics**
+ [Metrics to watch if your source uses the RIST protocol](#monitor-with-cloudwatch-metrics-troubleshooting-rist)
+ [Metrics to watch if your source uses the RTP protocol](#monitor-with-cloudwatch-metrics-troubleshooting-rtp)
+ [Metrics to watch if your source uses the RTP-FEC protocol](#monitor-with-cloudwatch-metrics-troubleshooting-rtp-fec)
+ [Metrics to watch if your source uses the SRT protocol](#monitor-with-cloudwatch-metrics-troubleshooting-SRT)
+ [Metrics to watch if your source uses the Zixi push protocol](#monitor-with-cloudwatch-metrics-troubleshooting-zixi-push)
+ [Metrics to watch if your source comes from an entitlement](#monitor-with-cloudwatch-metrics-troubleshooting-entitlement)
+ [Metrics to watch if you are using gateways](#monitor-with-cloudwatch-metrics-troubleshooting-gateway)

## Metrics to watch if your source uses the RIST protocol
<a name="monitor-with-cloudwatch-metrics-troubleshooting-rist"></a>

If the protocol of your source is RIST, watch the metrics below to evaluate the health of your source.
+ `ARQRecovered`
+ `ARQRequests`
+ `DroppedPackets`
+ `NotRecoveredPackets`
+ `OverflowPackets`
+ `PacketLossPercent`
+ `RecoveredPackets`
+ `RoundTripTime`
+ `TotalPackets`

## Metrics to watch if your source uses the RTP protocol
<a name="monitor-with-cloudwatch-metrics-troubleshooting-rtp"></a>

If the protocol of your source is RTP, watch the metrics below to evaluate the health of your source.
+ `DroppedPackets`
+ `OverflowPackets`
+ `RoundTripTime`
+ `TotalPackets`

## Metrics to watch if your source uses the RTP-FEC protocol
<a name="monitor-with-cloudwatch-metrics-troubleshooting-rtp-fec"></a>

If the protocol of your source is RTP-FEC, watch the metrics below to evaluate the health of your source.
+ `DroppedPackets`
+ `FECPackets`
+ `FECRecovered`
+ `NotRecoveredPackets`
+ `OverflowPackets`
+ `RecoveredPackets`
+ `RoundTripTime`
+ `TotalPackets`

## Metrics to watch if your source uses the SRT protocol
<a name="monitor-with-cloudwatch-metrics-troubleshooting-SRT"></a>

If the protocol of your source is SRT (listener or caller), watch the metrics below to evaluate the health of your source.
+ `ARQRecovered`
+ `ARQRequests`
+ `DroppedPackets`
+ `NotRecoveredPackets`
+ `OverflowPackets`
+ `RecoveredPackets`
+ `RoundTripTime`
+ `TotalPackets`

## Metrics to watch if your source uses the Zixi push protocol
<a name="monitor-with-cloudwatch-metrics-troubleshooting-zixi-push"></a>

If the protocol of your source is Zixi push, watch the metrics below to evaluate the health of your source.
+ `ARQRecovered`
+ `ARQRequests`
+ `DroppedPackets`
+ `FECPackets`
+ `FECRecovered`
+ `NotRecoveredPackets`
+ `OverflowPackets`
+ `RecoveredPackets`
+ `RoundTripTime`
+ `TotalPackets`

## Metrics to watch if your source comes from an entitlement
<a name="monitor-with-cloudwatch-metrics-troubleshooting-entitlement"></a>

If your source comes from an entitlement that was granted to your account by another AWS account, watch the metrics below to evaluate the health of your source.
+ `ARQRecovered`
+ `ARQRequests`
+ `DroppedPackets`
+ `FECPackets`
+ `FECRecovered`
+ `NotRecoveredPackets`
+ `OverflowPackets`
+ `RecoveredPackets`
+ `RoundTripTime`
+ `TotalPackets`

## Metrics to watch if you are using gateways
<a name="monitor-with-cloudwatch-metrics-troubleshooting-gateway"></a>

Watch the metrics below to evaluate the health of your gateway.

### Metrics to watch if you are using a gateway with an ingress bridge
<a name="monitor-with-cloudwatch-metrics-troubleshooting-gateway-ingress"></a>

Watch the metrics below to evaluate the health of your gateway's ingress bridge. The recommended ingress bridge troubleshooting metrics are separated by protocol.
+ RTP
  + `IngressBridgeTotalPackets`
  + `IngressBridgeDroppedPackets`
  + `IngressBridgeSourceTotalPackets`
  + `IngressBridgeSourceDroppedPackets`
  + `IngressBridgeSourceOverflowPackets`
  + `IngressBridgeSourceRoundTripTime`
+ RTP-FEC
  + `IngressBridgeTotalPackets`
  + `IngressBridgeDroppedPackets`
  + `IngressBridgeRecoveredPackets`
  + `IngressBridgeNotRecoveredPackets`
  + `IngressBridgeSourceTotalPackets`
  + `IngressBridgeSourceDroppedPackets`
  + `IngressBridgeSourceRecoveredPackets`
  + `IngressBridgeSourceNotRecoveredPackets`
  + `IngressBridgeSourceOverflowPackets`
  + `IngressBridgeSourceFECPackets`
  + `IngressBridgeSourceFECRecovered`
  + `IngressBridgeSourceRoundTripTime`
+ UDP
  + `IngressBridgeTotalPackets`
  + `IngressBridgeSourceTotalPackets`
  + `IngressBridgeSourceOverflowPackets`

### Metrics to watch if you are using a gateway with an egress bridge
<a name="monitor-with-cloudwatch-metrics-troubleshooting-gateway-egress"></a>

Watch the metrics below to evaluate the health of your gateway's egress bridge.
+ `EgressBridgeTotalPackets`
+ `EgressBridgeDroppedPackets`
+ `EgressBridgeRecoveredPackets`
+ `EgressBridgeNotRecoveredPackets`
+ `EgressBridgeSourceTotalPackets`
+ `EgressBridgeSourceDroppedPackets`
+ `EgressBridgeSourceRecoveredPackets`
+ `EgressBridgeSourceNotRecoveredPackets`