Monitoring AWS Elemental MediaPackage with Amazon CloudWatch metrics
You can monitor MediaPackage using CloudWatch, which collects raw data and processes it into readable, near real-time metrics. These statistics 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. 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.
MediaPackage live content metrics
The AWS/MediaPackage namespace includes the following metrics for live
content. MediaPackage publishes metrics to CloudWatch every minute, if not sooner.
| Metric | Description |
|---|---|
ChannelMQCS |
Segment-level quality score as calculated by MediaPackage for the active input to this
channel. Units: Numeric Valid statistics:
Valid dimensions:
|
ChannelMQCSSequence |
Aggregated quality score for all segments in the sequence for the active input to this
channel, as calculated by MediaPackage. Units: Numeric Valid statistics:
Valid dimensions:
|
EgressBytes |
Number of bytes that MediaPackage successfully sends for each request. If MediaPackage doesn't receive any requests for output in the specified interval, then no data is given. Units: Bytes Valid statistics:
Valid dimensions:
|
EgressRequestCount
|
Number of content requests that MediaPackage receives. If MediaPackage doesn't receive any requests for output in the specified interval, then no data is given. Units: Count Valid statistics:
Valid dimensions:
|
EgressResponseTime
|
The time that it takes MediaPackage to process each output request. If MediaPackage doesn't receive any requests for output in the specified interval, then no data is given. Units: Milliseconds Valid statistics:
Valid dimensions:
|
IngressBytes
|
Number of bytes of content that MediaPackage receives for each input request. If MediaPackage doesn't receive any requests for input in the specified interval, then no data is given. Units: Bytes Valid statistics:
Valid dimensions:
|
IngressMQCS |
Segment-level quality score as communicated by AWS Elemental MediaLive for this input. Units: Numeric Valid statistics:
Valid dimensions:
|
IngressMQCSSequence |
Aggregated quality scores for all segments in the sequence, as communicated by
AWS Elemental MediaLive. Units: Numeric Valid statistics:
Valid dimensions:
|
IngressRequestCount
|
Number of input requests that MediaPackage receives. If MediaPackage doesn't receive any requests for input in the specified interval, then no data is given. Units: Count Valid statistics:
Valid dimensions:
|
IngressResponseTime
|
The time that it takes MediaPackage to process each input request. If MediaPackage doesn't receive any requests for input in the specified interval, then no data is given. Units: Milliseconds Valid statistics:
Valid dimensions:
|
Note
The MultiviewLayout dimension applies to Dynamic Multiview requests only. For
a description of the MultiviewLayout and MultiviewSource dimensions,
see MediaPackage live dimensions.
MediaPackage live dimensions
You can filter the AWS/MediaPackage data using the following
dimensions.
| Dimension | Description |
|---|---|
No Dimension |
Metrics are aggregated and shown for all channels, endpoints, or status codes. |
|
Value: Can be used in combination with |
|
Value when Value when Can be used in combination with |
|
Metrics are shown only for the specified channel. Value: The auto-generated name of the channel. Can be used alone or with other dimensions:
|
|
|
Metrics are shown only for the specified channel group. Value: The name of the channel group. Can be used alone or with other dimensions:
|
|
Metrics are shown only for the specified ingest endpoint on a channel. Value: The auto-generated GUID of the ingest endpoint. Can be used with the following dimensions:
|
|
The tile layout requested for a Dynamic Multiview stream. Applies to Dynamic Multiview requests only. Value: A layout short name, such as MediaPackage adds this dimension only when a request specifies a valid layout in the
Added to the |
|
The name of a source channel that is used as a view in a Dynamic Multiview stream. Applies to Dynamic Multiview requests only. Value: The name of a source channel named in the Added to the Dynamic Multiview metrics, such as
|
|
|
Metrics are shown for the specified channel and endpoint combination. Value: The auto-generated name of the endpoint. Must be used with the |
|
|
Metrics are shown only for the specified request type. Value: Either Can be used alone or with other dimensions:
|
|
|
Metrics are shown for the specified status code range. Value: Can be used alone or with other dimensions:
|
|
|
Metrics are shown for the specified track type. Value: Can be used alone or with other dimensions:
|
Dynamic Multiview metrics
When you use Dynamic Multiview, MediaPackage publishes the following additional metrics to the
AWS/MediaPackage namespace. These metrics apply to HLS and DASH endpoints. For more
information about Dynamic Multiview, see Dynamic Multiview.
MediaPackage also adds the MultiviewLayout dimension to EgressRequestCount,
EgressBytes, and EgressResponseTime. The MultiviewLayout
and MultiviewSource dimensions are described in MediaPackage live dimensions.
| Metric | Description |
|---|---|
MultiviewSourceRequestCount |
The number of Dynamic Multiview segment requests that included a source channel as a view. Use this metric to see per-source demand. Only segment requests emit this metric; manifest requests don't. Units: Count Valid statistics:
Valid dimensions:
Counting behaviorAt the dimension levels that don't include |
MultiviewSourceSegmentMissing |
The number of times a source channel's segment was missing for a Dynamic Multiview request. MediaPackage replaces the missing view with black video and still serves the response. MediaPackage emits this metric once for each distinct missing source in the request. Units: Count Valid statistics:
Valid dimensions:
|
MultiviewSegmentMissing |
The aggregate count of missing source segments for Dynamic Multiview requests, without
the Units: Count Valid statistics:
Valid dimensions:
|
MultiviewSegmentIncompatible |
The number of Dynamic Multiview segment requests that MediaPackage couldn't assemble because
the participating sources' encoder configurations aren't compatible. MediaPackage returns a client
error ( Units: Count Valid statistics:
Valid dimensions:
|