---
title: AWS MediaConnect
description: AWS Elemental MediaConnect is a high-quality transport service for live video.
breadcrumbs: Docs > Integrations > AWS MediaConnect
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# AWS MediaConnect
Integration version2.0.0
{% callout %}
# Important note for users on the following Datadog sites: us2.ddog-gov.com

{% alert level="info" %}
To find out if this integration is available in your organization, see your [Datadog Integrations](https://app.datadoghq.com/integrations) page or ask your organization administrator.

To initiate an exception request to enable this integration for your organization, email [support@ddog-gov.com](mailto:support@ddog-gov.com).
{% /alert %}

{% /callout %}

## Overview{% #overview %}

AWS Elemental MediaConnect is a transport service for live video.

Enable this integration to see all your Elemental MediaConnect metrics in Datadog.

## Setup{% #setup %}

### Installation{% #installation %}

If you haven't already, set up the [Amazon Web Services integration](https://docs.datadoghq.com/integrations/amazon_web_services.md) first.

### Metric collection{% #metric-collection %}

1. In the [AWS integration page](https://app.datadoghq.com/integrations/amazon-web-services), ensure that `MediaConnect` is enabled under the `Metric Collection` tab.
1. Install the [Datadog - AWS Elemental MediaConnect integration](https://app.datadoghq.com/integrations/amazon-mediaconnect).

### Log collection{% #log-collection %}

#### Enable logging{% #enable-logging %}

Configure AWS Elemental MediaConnect to send logs either to a S3 bucket or to CloudWatch.

**Note**: If you log to a S3 bucket, make sure that `amazon_mediaconnect` is set as *Target prefix*.

#### Send logs to Datadog{% #send-logs-to-datadog %}

1. If you haven't already, set up the [Datadog Forwarder Lambda function](https://docs.datadoghq.com/logs/guide/forwarder.md).

1. Once the Lambda function is installed, manually add a trigger on the S3 bucket or CloudWatch log group that contains your AWS Elemental MediaConnect logs in the AWS console:

   - [Add a manual trigger on the S3 bucket](https://docs.datadoghq.com/logs/guide/send-aws-services-logs-with-the-datadog-lambda-function.md#collecting-logs-from-s3-buckets)
   - [Add a manual trigger on the CloudWatch Log Group](https://docs.datadoghq.com/logs/guide/send-aws-services-logs-with-the-datadog-lambda-function.md#collecting-logs-from-cloudwatch-log-group)

## Data Collected{% #data-collected %}

### Metrics{% #metrics %}

|  |
|  |
| **aws.mediaconnect.arqrecovered**(count)                                  | The number of dropped packets that were recovered by automatic repeat request (ARQ).*Shown as packet*                                                                                                                                                                                                                                                                                                   |
| **aws.mediaconnect.arqrequests**(count)                                   | The number of retransmitted packets that were requested through automatic repeat request (ARQ) and received.*Shown as request*                                                                                                                                                                                                                                                                          |
| **aws.mediaconnect.audio_stream_missing**(gauge)                        | 1 when the expected audio stream is not detected in the content, 0 otherwise.                                                                                                                                                                                                                                                                                                                           |
| **aws.mediaconnect.bit_rate**(rate)                                      | The average bitrate of the video in bits/sec*Shown as bit*                                                                                                                                                                                                                                                                                                                                              |
| **aws.mediaconnect.bit_rate.maximum**(rate)                              | The maximum bitrate of the video in bits/sec*Shown as bit*                                                                                                                                                                                                                                                                                                                                              |
| **aws.mediaconnect.bit_rate.minimum**(rate)                              | The minimum bitrate of the video in bits/sec*Shown as bit*                                                                                                                                                                                                                                                                                                                                              |
| **aws.mediaconnect.black_frames_breaching**(gauge)                      | 1 when the duration of black frames in the video exceeds the configured threshold, 0 otherwise.                                                                                                                                                                                                                                                                                                         |
| **aws.mediaconnect.caterror**(count)                                      | The number of times that a conditional access table (CAT) error occurred.*Shown as error*                                                                                                                                                                                                                                                                                                               |
| **aws.mediaconnect.connected**(gauge)                                     | The status of the source (average value). A value of 1 indicates that the source is connected and a value of 0 (zero) indicates that the source is disconnected.                                                                                                                                                                                                                                        |
| **aws.mediaconnect.connected.maximum**(gauge)                             | The status of the source (maximum value). A value of 1 indicates that the source is connected and a value of 0 (zero) indicates that the source is disconnected.                                                                                                                                                                                                                                        |
| **aws.mediaconnect.connected.minimum**(gauge)                             | The status of the source (minimum value). A value of 1 indicates that the source is connected and a value of 0 (zero) indicates that the source is disconnected.                                                                                                                                                                                                                                        |
| **aws.mediaconnect.connected_outputs**(gauge)                            | The average number of outputs that are currently connected.                                                                                                                                                                                                                                                                                                                                             |
| **aws.mediaconnect.connected_outputs.maximum**(gauge)                    | The maximum number of outputs that are currently connected.                                                                                                                                                                                                                                                                                                                                             |
| **aws.mediaconnect.connected_outputs.minimum**(gauge)                    | The minimum number of outputs that are currently connected.                                                                                                                                                                                                                                                                                                                                             |
| **aws.mediaconnect.consecutive_drops**(gauge)                            | The number of data packets that were dropped in a row during transmission of data to or from MediaConnect.*Shown as packet*                                                                                                                                                                                                                                                                             |
| **aws.mediaconnect.consecutive_not_recovered**(gauge)                   | The number of data packets that were not recovered in a row after being dropped.*Shown as packet*                                                                                                                                                                                                                                                                                                       |
| **aws.mediaconnect.continuity_counter**(count)                           | The number of times that a continuity error occurred.*Shown as error*                                                                                                                                                                                                                                                                                                                                   |
| **aws.mediaconnect.crcerror**(count)                                      | The number of times that a cyclic redundancy check (CRC) error occurred.*Shown as error*                                                                                                                                                                                                                                                                                                                |
| **aws.mediaconnect.disconnections**(count)                                | The number of times that the source status changed from connected to disconnected.                                                                                                                                                                                                                                                                                                                      |
| **aws.mediaconnect.dropped_packets**(count)                              | The number of packets that were lost during transit. This value is measured before any error correction takes place.*Shown as packet*                                                                                                                                                                                                                                                                   |
| **aws.mediaconnect.failover_switches**(count)                            | The total number of times the flow switches back and forth between sources when using the Failover mode for source failover.                                                                                                                                                                                                                                                                            |
| **aws.mediaconnect.fecpackets**(count)                                    | The number of packets that were transmitted using forward error correction (FEC) and received.*Shown as packet*                                                                                                                                                                                                                                                                                         |
| **aws.mediaconnect.fecrecovered**(count)                                  | The number of packets that were transmitted using forward error correction (FEC) lost during transit and recovered.*Shown as packet*                                                                                                                                                                                                                                                                    |
| **aws.mediaconnect.frozen_frames_breaching**(gauge)                     | 1 when the video remains unchanged for longer than the configured threshold, 0 otherwise.                                                                                                                                                                                                                                                                                                               |
| **aws.mediaconnect.maintenance_canceled**(gauge)                         | Maintenance for this flow is cancelled by MediaConnect.                                                                                                                                                                                                                                                                                                                                                 |
| **aws.mediaconnect.maintenance_failed**(gauge)                           | Maintenance did not complete successfully for this flow.                                                                                                                                                                                                                                                                                                                                                |
| **aws.mediaconnect.maintenance_rescheduled**(gauge)                      | 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.                                                                                                                                                                                                               |
| **aws.mediaconnect.maintenance_scheduled**(gauge)                        | Maintenance is scheduled for the flow.                                                                                                                                                                                                                                                                                                                                                                  |
| **aws.mediaconnect.maintenance_started**(gauge)                          | Maintenance has started and is currently in progress for this flow.                                                                                                                                                                                                                                                                                                                                     |
| **aws.mediaconnect.maintenance_succeed**(gauge)                          | Maintenance completed successfully for this flow.                                                                                                                                                                                                                                                                                                                                                       |
| **aws.mediaconnect.merge_active**(gauge)                                 | The merge status of all sources on the flow. A value of 1 indicates that all sources are merged.                                                                                                                                                                                                                                                                                                        |
| **aws.mediaconnect.merge_latency**(gauge)                                | The maximum value for SourceMergeLatency.*Shown as millisecond*                                                                                                                                                                                                                                                                                                                                         |
| **aws.mediaconnect.not_recovered_packets**(count)                       | The number of packets that were lost during transit and never recovered.*Shown as packet*                                                                                                                                                                                                                                                                                                               |
| **aws.mediaconnect.output_arq_requests**(count)                         | The number of retransmitted packets that were requested through automatic repeat request (ARQ) and received. Applies to outputs that use the SRT protocol or output to MediaLive.*Shown as request*                                                                                                                                                                                                     |
| **aws.mediaconnect.output_bit_rate**(rate)                              | The bitrate of the outgoing (output) video. Applies to outputs that use the SRT protocol or output to MediaLive.*Shown as bit*                                                                                                                                                                                                                                                                          |
| **aws.mediaconnect.output_connected**(gauge)                             | The status of the output (average value). A value of 1 indicates that the source is connected and a value of 0 (zero) indicates that the source is disconnected.                                                                                                                                                                                                                                        |
| **aws.mediaconnect.output_connected.maximum**(gauge)                     | The status of the output (maximum value). A value of 1 indicates that the source is connected and a value of 0 (zero) indicates that the source is disconnected.                                                                                                                                                                                                                                        |
| **aws.mediaconnect.output_connected.minimum**(gauge)                     | The status of the output (minimum value). A value of 1 indicates that the source is connected and a value of 0 (zero) indicates that the source is disconnected.                                                                                                                                                                                                                                        |
| **aws.mediaconnect.output_connected_receivers**(gauge)                  | The number of NDI receivers that are connected to the flow output. Applies to NDI outputs only.                                                                                                                                                                                                                                                                                                         |
| **aws.mediaconnect.output_disconnections**(count)                        | The number of times that the output status changed from connected to disconnected.                                                                                                                                                                                                                                                                                                                      |
| **aws.mediaconnect.output_dropped_payloads**(count)                     | 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.                                                                                                                                                                                 |
| **aws.mediaconnect.output_enabled**(gauge)                               | 1 when the output is enabled, 0 when disabled.                                                                                                                                                                                                                                                                                                                                                          |
| **aws.mediaconnect.output_generated_audio_samples**(count)             | The number of audio samples sent to each individual NDI receiver. Applies to NDI outputs only.*Shown as sample*                                                                                                                                                                                                                                                                                         |
| **aws.mediaconnect.output_generated_video_frames**(count)              | The number of video frames sent to each individual NDI receiver. Applies to NDI outputs only.*Shown as frame*                                                                                                                                                                                                                                                                                           |
| **aws.mediaconnect.output_latency**(gauge)                               | The latency of the output connection.*Shown as millisecond*                                                                                                                                                                                                                                                                                                                                             |
| **aws.mediaconnect.output_not_recovered_packets**(count)               | The number of packets that were lost during transit and were not recovered by error correction. Applies to outputs to MediaLive.*Shown as packet*                                                                                                                                                                                                                                                       |
| **aws.mediaconnect.output_reject_code**(gauge)                          | A code indicating the reason the last connection attempt to this output was rejected.                                                                                                                                                                                                                                                                                                                   |
| **aws.mediaconnect.output_rejections**(count)                            | The number of times a connection to this output was rejected by the peer.                                                                                                                                                                                                                                                                                                                               |
| **aws.mediaconnect.output_resent_packets**(count)                       | The number of packets that were retransmitted to the output destination. Applies to outputs that use the SRT protocol or output to MediaLive.*Shown as packet*                                                                                                                                                                                                                                          |
| **aws.mediaconnect.output_round_trip_time**(gauge)                     | The amount of time it takes for the output to send a signal and receive an acknowledgement from the output destination.*Shown as millisecond*                                                                                                                                                                                                                                                           |
| **aws.mediaconnect.output_total_bytes**(count)                          | Total amount of bytes transferred from MediaConnect to the output.*Shown as byte*                                                                                                                                                                                                                                                                                                                       |
| **aws.mediaconnect.output_total_packets**(count)                        | The total number of packets that were sent to the output. Applies to outputs that use the SRT protocol or output to MediaLive.*Shown as packet*                                                                                                                                                                                                                                                         |
| **aws.mediaconnect.output_total_payloads**(count)                       | 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.                                                                                                                                                                                     |
| **aws.mediaconnect.overflow_packets**(count)                             | The number of packets that were lost in transit because the video required more buffer than was available.*Shown as packet*                                                                                                                                                                                                                                                                             |
| **aws.mediaconnect.packet_loss_percent**(gauge)                         | The average percentage of packets that were lost during transit even if they were recovered.*Shown as percent*                                                                                                                                                                                                                                                                                          |
| **aws.mediaconnect.packet_loss_percent.maximum**(gauge)                 | The maximum percentage of packets that were lost during transit even if they were recovered.*Shown as percent*                                                                                                                                                                                                                                                                                          |
| **aws.mediaconnect.packet_loss_percent.minimum**(gauge)                 | The minimum percentage of packets that were lost during transit even if they were recovered.*Shown as percent*                                                                                                                                                                                                                                                                                          |
| **aws.mediaconnect.paterror**(count)                                      | The number of times that a program association table (PAT) error occurred. This error indicates that the PAT is missing.*Shown as error*                                                                                                                                                                                                                                                                |
| **aws.mediaconnect.pcraccuracy_error**(count)                            | The number of times that a program clock register (PCR) accuracy error occurred.*Shown as error*                                                                                                                                                                                                                                                                                                        |
| **aws.mediaconnect.pcrerror**(count)                                      | The number of times that a PCR error occurred. This error happens when PCR values are not sent frequently enough.*Shown as error*                                                                                                                                                                                                                                                                       |
| **aws.mediaconnect.piderror**(count)                                      | The number of times that a packet identifier (PID) error occurred.*Shown as error*                                                                                                                                                                                                                                                                                                                      |
| **aws.mediaconnect.pmterror**(count)                                      | The number of times that a program map table (PMT) error occurred.*Shown as error*                                                                                                                                                                                                                                                                                                                      |
| **aws.mediaconnect.ptserror**(count)                                      | 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.*Shown as error*                                                                                                                                                                                                                   |
| **aws.mediaconnect.recovered_packets**(count)                            | The number of packets that were lost during transit but recovered.*Shown as packet*                                                                                                                                                                                                                                                                                                                     |
| **aws.mediaconnect.round_trip_time**(gauge)                             | The average amount of time it takes for the source to send a signal and receive an acknowledgement from AWS Elemental MediaConnect.*Shown as millisecond*                                                                                                                                                                                                                                               |
| **aws.mediaconnect.round_trip_time.maximum**(gauge)                     | The maximum amount of time it takes for the source to send a signal and receive an acknowledgement from AWS Elemental MediaConnect.*Shown as millisecond*                                                                                                                                                                                                                                               |
| **aws.mediaconnect.round_trip_time.minimum**(gauge)                     | The minimum amount of time it takes for the source to send a signal and receive an acknowledgement from AWS Elemental MediaConnect.*Shown as millisecond*                                                                                                                                                                                                                                               |
| **aws.mediaconnect.route_bit_rate**(rate)                               | The bitrate of the content on the route between the router input and the router output.*Shown as bit*                                                                                                                                                                                                                                                                                                   |
| **aws.mediaconnect.route_fabric_recovery_latency**(gauge)              | The recovery latency of the routing fabric for this route.*Shown as millisecond*                                                                                                                                                                                                                                                                                                                        |
| **aws.mediaconnect.route_not_recovered_packets**(count)                | The number of packets lost between the router input and the router output on this route.*Shown as packet*                                                                                                                                                                                                                                                                                               |
| **aws.mediaconnect.router_input_arq_requests**(count)                  | The number of retransmitted packets that were requested through automatic repeat request (ARQ) on this router input.*Shown as request*                                                                                                                                                                                                                                                                  |
| **aws.mediaconnect.router_input_bit_rate**(rate)                       | The bitrate of the input stream payload, not including protocol overhead.*Shown as bit*                                                                                                                                                                                                                                                                                                                 |
| **aws.mediaconnect.router_input_cc_errors**(count)                     | The number of continuity counter errors on this router input.*Shown as error*                                                                                                                                                                                                                                                                                                                           |
| **aws.mediaconnect.router_input_connected**(gauge)                      | 1 when the router input is connected, 0 when disconnected.                                                                                                                                                                                                                                                                                                                                              |
| **aws.mediaconnect.router_input_disconnections**(count)                 | The number of times the router input status changed from connected to disconnected.                                                                                                                                                                                                                                                                                                                     |
| **aws.mediaconnect.router_input_jitter**(gauge)                         | The current network jitter on this router input, measured in milliseconds.*Shown as millisecond*                                                                                                                                                                                                                                                                                                        |
| **aws.mediaconnect.router_input_latency**(gauge)                        | The latency of the input stream on this router input.*Shown as millisecond*                                                                                                                                                                                                                                                                                                                             |
| **aws.mediaconnect.router_input_not_recovered_packets**(count)        | The number of packets that were lost and not recovered by error correction on this router input.*Shown as packet*                                                                                                                                                                                                                                                                                       |
| **aws.mediaconnect.router_input_recovered_packets**(count)             | The number of packets that were lost during transit but recovered on this router input.*Shown as packet*                                                                                                                                                                                                                                                                                                |
| **aws.mediaconnect.router_input_rejections**(count)                     | The number of times a connection to this router input was rejected by the peer.                                                                                                                                                                                                                                                                                                                         |
| **aws.mediaconnect.router_input_round_trip_time**(gauge)              | The amount of time it takes for the router input to send a signal and receive an acknowledgement.*Shown as millisecond*                                                                                                                                                                                                                                                                                 |
| **aws.mediaconnect.router_input_timecode_present**(gauge)              | 1 when a valid timecode is present on this router input's stream, 0 otherwise.                                                                                                                                                                                                                                                                                                                          |
| **aws.mediaconnect.router_input_total_packets**(count)                 | The total number of packets received on this router input.*Shown as packet*                                                                                                                                                                                                                                                                                                                             |
| **aws.mediaconnect.router_input_tr101_pcraccuracy_error**(count)      | The number of times a program clock register (PCR) accuracy error occurred on this router input.*Shown as error*                                                                                                                                                                                                                                                                                        |
| **aws.mediaconnect.router_input_tr101_tsbyte_error**(count)           | The number of times a transport stream (TS) byte error occurred on this router input.*Shown as error*                                                                                                                                                                                                                                                                                                   |
| **aws.mediaconnect.router_input_tr101_tssync_loss**(count)            | The number of times a TS sync loss error occurred on this router input.*Shown as error*                                                                                                                                                                                                                                                                                                                 |
| **aws.mediaconnect.router_input_up_time**(gauge)                       | The number of seconds this router input has been active. Resets to zero on disconnect.*Shown as second*                                                                                                                                                                                                                                                                                                 |
| **aws.mediaconnect.router_output_arq_requests**(count)                 | The number of retransmitted packets that were requested through automatic repeat request (ARQ) on this router output.*Shown as request*                                                                                                                                                                                                                                                                 |
| **aws.mediaconnect.router_output_bit_rate**(rate)                      | The bitrate of the output stream payload, not including protocol overhead.*Shown as bit*                                                                                                                                                                                                                                                                                                                |
| **aws.mediaconnect.router_output_connected**(gauge)                     | 1 when the router output is connected, 0 when disconnected.                                                                                                                                                                                                                                                                                                                                             |
| **aws.mediaconnect.router_output_disconnections**(count)                | The number of times the router output status changed from connected to disconnected.                                                                                                                                                                                                                                                                                                                    |
| **aws.mediaconnect.router_output_latency**(gauge)                       | The latency of the output stream on this router output.*Shown as millisecond*                                                                                                                                                                                                                                                                                                                           |
| **aws.mediaconnect.router_output_reject_code**(gauge)                  | A code indicating the reason the last connection on this router output was rejected.                                                                                                                                                                                                                                                                                                                    |
| **aws.mediaconnect.router_output_rejections**(count)                    | The number of times the connection on this router output was rejected by the peer.                                                                                                                                                                                                                                                                                                                      |
| **aws.mediaconnect.router_output_resent_packets**(count)               | The number of packets that were retransmitted to the output destination on this router output.*Shown as packet*                                                                                                                                                                                                                                                                                         |
| **aws.mediaconnect.router_output_round_trip_time**(gauge)             | The amount of time it takes for the router output to send a signal and receive an acknowledgement.*Shown as millisecond*                                                                                                                                                                                                                                                                                |
| **aws.mediaconnect.router_output_total_packets**(count)                | The total number of packets sent by this router output.*Shown as packet*                                                                                                                                                                                                                                                                                                                                |
| **aws.mediaconnect.silent_audio_breaching**(gauge)                      | 1 when the duration of silent audio exceeds the configured threshold, 0 otherwise.                                                                                                                                                                                                                                                                                                                      |
| **aws.mediaconnect.source_arqrecovered**(count)                          | The number of dropped packets that were recovered by automatic repeat request (ARQ). This metric applies only to sources that use the RIST protocol or the Zixi protocol. It doesn't apply to flows that receive content from an entitlement.*Shown as packet*                                                                                                                                          |
| **aws.mediaconnect.source_arqrequests**(count)                           | The number of retransmitted packets that were requested through automatic repeat request (ARQ) and received.*Shown as request*                                                                                                                                                                                                                                                                          |
| **aws.mediaconnect.source_audio_frames**(count)                         | The number of audio frames received by the NDI source. Applies to NDI sources only.*Shown as frame*                                                                                                                                                                                                                                                                                                     |
| **aws.mediaconnect.source_bit_rate**(rate)                              | The average bitrate of the incoming (source) video.*Shown as bit*                                                                                                                                                                                                                                                                                                                                       |
| **aws.mediaconnect.source_bit_rate.maximum**(rate)                      | The maximum bitrate of the incoming (source) video.*Shown as bit*                                                                                                                                                                                                                                                                                                                                       |
| **aws.mediaconnect.source_bit_rate.minimum**(rate)                      | The minimum bitrate of the incoming (source) video.*Shown as bit*                                                                                                                                                                                                                                                                                                                                       |
| **aws.mediaconnect.source_caterror**(count)                              | The number of times that a conditional access table (CAT) error occurred.*Shown as error*                                                                                                                                                                                                                                                                                                               |
| **aws.mediaconnect.source_connected**(gauge)                             | The status of the source (average value). A value of 1 indicates that the source is connected and a value of 0 (zero) indicates that the source is disconnected.                                                                                                                                                                                                                                        |
| **aws.mediaconnect.source_connected.maximum**(gauge)                     | The status of the source (maximum value). A value of 1 indicates that the source is connected and a value of 0 (zero) indicates that the source is disconnected.                                                                                                                                                                                                                                        |
| **aws.mediaconnect.source_connected.minimum**(gauge)                     | The status of the source (minimum value). A value of 1 indicates that the source is connected and a value of 0 (zero) indicates that the source is disconnected.                                                                                                                                                                                                                                        |
| **aws.mediaconnect.source_consecutive_drops**(gauge)                    | The number of data packets that were dropped in a row during transmission of data to MediaConnect.*Shown as packet*                                                                                                                                                                                                                                                                                     |
| **aws.mediaconnect.source_consecutive_not_recovered**(gauge)           | The number of data packets that were not recovered in a row after being dropped.*Shown as packet*                                                                                                                                                                                                                                                                                                       |
| **aws.mediaconnect.source_continuity_counter**(count)                   | The number of times that a continuity error occurred.*Shown as error*                                                                                                                                                                                                                                                                                                                                   |
| **aws.mediaconnect.source_crcerror**(count)                              | The number of times that a cyclic redundancy check (CRC) error occurred.*Shown as error*                                                                                                                                                                                                                                                                                                                |
| **aws.mediaconnect.source_disconnections**(count)                        | The number of times that the source status changed from connected to disconnected.                                                                                                                                                                                                                                                                                                                      |
| **aws.mediaconnect.source_discovered_sources**(gauge)                   | The total number of available NDI senders discovered by the NDI source. Applies to NDI sources only.                                                                                                                                                                                                                                                                                                    |
| **aws.mediaconnect.source_dropped_packets**(count)                      | The number of packets that were lost during transit. This value is measured before any error correction takes place.*Shown as packet*                                                                                                                                                                                                                                                                   |
| **aws.mediaconnect.source_dropped_payloads**(count)                     | 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.                                                                                                                                                                                 |
| **aws.mediaconnect.source_fecpackets**(count)                            | The number of packets that were transmitted using forward error correction (FEC) and received.*Shown as packet*                                                                                                                                                                                                                                                                                         |
| **aws.mediaconnect.source_fecrecovered**(count)                          | The number of packets that were transmitted using forward error correction (FEC) lost during transit and recovered.*Shown as packet*                                                                                                                                                                                                                                                                    |
| **aws.mediaconnect.source_jitter**(gauge)                                | The current network jitter of the source, measured in milliseconds.*Shown as millisecond*                                                                                                                                                                                                                                                                                                               |
| **aws.mediaconnect.source_late_payloads**(count)                        | 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.                                                                                                                                                                  |
| **aws.mediaconnect.source_latency**(gauge)                               | The stream latency of the source, the time for data packets to travel from the source to MediaConnect.*Shown as millisecond*                                                                                                                                                                                                                                                                            |
| **aws.mediaconnect.source_merge_active**(gauge)                         | 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. |
| **aws.mediaconnect.source_merge_latency**(gauge)                        | The average amount of time that this source trails the primary source. If this source is the primary source, the value is 0 (zero).*Shown as millisecond*                                                                                                                                                                                                                                               |
| **aws.mediaconnect.source_merge_latency.maximum**(gauge)                | The maximum amount of time that this source trails the primary source. If this source is the primary source, the value is 0 (zero).*Shown as millisecond*                                                                                                                                                                                                                                               |
| **aws.mediaconnect.source_merge_latency.minimum**(gauge)                | The minimum amount of time that this source trails the primary source. If this source is the primary source, the value is 0 (zero).*Shown as millisecond*                                                                                                                                                                                                                                               |
| **aws.mediaconnect.source_merge_status_warn_mismatch**(gauge)         | A status metric warning that the flow is receiving mismatched sources (average value). 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.                                                                                                                                            |
| **aws.mediaconnect.source_merge_status_warn_mismatch.maximum**(gauge) | A status metric warning that the flow is receiving mismatched sources (maximum value). 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.                                                                                                                                            |
| **aws.mediaconnect.source_merge_status_warn_mismatch.minimum**(gauge) | A status metric warning that the flow is receiving mismatched sources (minimum value). 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.                                                                                                                                            |
| **aws.mediaconnect.source_merge_status_warn_solo**(gauge)             | A status metric warning that the flow is only receiving one source (average value). 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.                                                                                                                                                    |
| **aws.mediaconnect.source_merge_status_warn_solo.maximum**(gauge)     | A status metric warning that the flow is only receiving one source (maximum value). 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.                                                                                                                                                    |
| **aws.mediaconnect.source_merge_status_warn_solo.minimum**(gauge)     | A status metric warning that the flow is only receiving one source (minimum value). 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.                                                                                                                                                    |
| **aws.mediaconnect.source_missing_packets**(count)                      | 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.*Shown as packet*                                                                                                                                                                                                                            |
| **aws.mediaconnect.source_not_recovered_packets**(count)               | The number of packets that were lost during transit and were not recovered by error correction.*Shown as packet*                                                                                                                                                                                                                                                                                        |
| **aws.mediaconnect.source_overflow_packets**(count)                     | The number of packets that were lost in transit because the video required more buffer than was available.*Shown as packet*                                                                                                                                                                                                                                                                             |
| **aws.mediaconnect.source_packet_loss_percent**(gauge)                 | The average percentage of packets that were lost during transit even if they were recovered.*Shown as percent*                                                                                                                                                                                                                                                                                          |
| **aws.mediaconnect.source_packet_loss_percent.maximum**(gauge)         | The maximum percentage of packets that were lost during transit even if they were recovered.*Shown as percent*                                                                                                                                                                                                                                                                                          |
| **aws.mediaconnect.source_packet_loss_percent.minimum**(gauge)         | The minimum percentage of packets that were lost during transit even if they were recovered.*Shown as percent*                                                                                                                                                                                                                                                                                          |
| **aws.mediaconnect.source_paterror**(count)                              | The number of times that a program association table (PAT) error occurred. This error indicates that the PAT is missing.*Shown as error*                                                                                                                                                                                                                                                                |
| **aws.mediaconnect.source_pcraccuracy_error**(count)                    | The number of times that a program clock register (PCR) accuracy error occurred.*Shown as error*                                                                                                                                                                                                                                                                                                        |
| **aws.mediaconnect.source_pcrerror**(count)                              | The number of times that a PCR error occurred. This error happens when PCR values are not sent frequently enough.*Shown as error*                                                                                                                                                                                                                                                                       |
| **aws.mediaconnect.source_piderror**(count)                              | The number of times that a packet identifier (PID) error occurred.*Shown as error*                                                                                                                                                                                                                                                                                                                      |
| **aws.mediaconnect.source_pmterror**(count)                              | The number of times that a program map table (PMT) error occurred.*Shown as error*                                                                                                                                                                                                                                                                                                                      |
| **aws.mediaconnect.source_ptserror**(count)                              | 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.*Shown as error*                                                                                                                                                                                                                   |
| **aws.mediaconnect.source_recovered_packets**(count)                    | The number of packets that were lost during transit but recovered.*Shown as packet*                                                                                                                                                                                                                                                                                                                     |
| **aws.mediaconnect.source_reject_code**(gauge)                          | A code indicating the reason the last connection attempt from this source was rejected.                                                                                                                                                                                                                                                                                                                 |
| **aws.mediaconnect.source_rejections**(count)                            | The number of times a connection attempt from this source was rejected by the peer.                                                                                                                                                                                                                                                                                                                     |
| **aws.mediaconnect.source_round_trip_time**(gauge)                     | The average amount of time it takes for the source to send a signal and receive an acknowledgement from AWS Elemental MediaConnect.*Shown as millisecond*                                                                                                                                                                                                                                               |
| **aws.mediaconnect.source_round_trip_time.maximum**(gauge)             | The maximum amount of time it takes for the source to send a signal and receive an acknowledgement from AWS Elemental MediaConnect.*Shown as millisecond*                                                                                                                                                                                                                                               |
| **aws.mediaconnect.source_round_trip_time.minimum**(gauge)             | The minimum amount of time it takes for the source to send a signal and receive an acknowledgement from AWS Elemental MediaConnect.*Shown as millisecond*                                                                                                                                                                                                                                               |
| **aws.mediaconnect.source_selected**(gauge)                              | An indication if a source is being used as the input for flow ingest.                                                                                                                                                                                                                                                                                                                                   |
| **aws.mediaconnect.source_total_bytes**(count)                          | Total amount of bytes transferred to MediaConnect from the source.*Shown as byte*                                                                                                                                                                                                                                                                                                                       |
| **aws.mediaconnect.source_total_packets**(count)                        | The total number of packets that were received.*Shown as packet*                                                                                                                                                                                                                                                                                                                                        |
| **aws.mediaconnect.source_total_payloads**(count)                       | 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.                                                                                                                                                                                     |
| **aws.mediaconnect.source_transport_error**(count)                      | The number of times that a primary transport error occurred.*Shown as error*                                                                                                                                                                                                                                                                                                                            |
| **aws.mediaconnect.source_tsbyte_error**(count)                         | The number of times that a transport stream (TS) byte error occurred.*Shown as error*                                                                                                                                                                                                                                                                                                                   |
| **aws.mediaconnect.source_tssync_loss**(count)                          | The number of times that a TS sync loss error occurred.*Shown as error*                                                                                                                                                                                                                                                                                                                                 |
| **aws.mediaconnect.source_up_time**(gauge)                              | The number of seconds that the source has been active. Resets to zero on disconnect or connection timeout.*Shown as second*                                                                                                                                                                                                                                                                             |
| **aws.mediaconnect.source_video_frames**(count)                         | The number of video frames received by the NDI source. Applies to NDI sources only.*Shown as frame*                                                                                                                                                                                                                                                                                                     |
| **aws.mediaconnect.timecode_present**(gauge)                             | 1 when a valid timecode is present in the media stream, 0 otherwise.                                                                                                                                                                                                                                                                                                                                    |
| **aws.mediaconnect.total_packets**(count)                                | The total number of packets that were received.*Shown as packet*                                                                                                                                                                                                                                                                                                                                        |
| **aws.mediaconnect.transport_error**(count)                              | The number of times that a primary transport error occurred.*Shown as error*                                                                                                                                                                                                                                                                                                                            |
| **aws.mediaconnect.tsbyte_error**(count)                                 | The number of times that a transport stream (TS) byte error occurred.*Shown as error*                                                                                                                                                                                                                                                                                                                   |
| **aws.mediaconnect.tssync_loss**(count)                                  | The number of times that a TS sync loss error occurred.*Shown as error*                                                                                                                                                                                                                                                                                                                                 |
| **aws.mediaconnect.video_stream_missing**(gauge)                        | 1 when the expected video stream is absent from the content, 0 otherwise.                                                                                                                                                                                                                                                                                                                               |
| **aws.mediaconnect.output_late_payloads**(count)                        | 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.                                                                                                                                                               |

### Events{% #events %}

The AWS Elemental MediaConnect integration does not include any events.

### Service Checks{% #service-checks %}

The AWS Elemental MediaConnect integration does not include any service checks.

## Troubleshooting{% #troubleshooting %}

Need help? Contact [Datadog support](https://docs.datadoghq.com/help/).
