getMetricDataV2
inline suspend fun ConnectClient.getMetricDataV2(crossinline block: GetMetricDataV2Request.Builder.() -> Unit): GetMetricDataV2Response
Gets metric data from the specified Amazon Connect instance.
GetMetricDataV2
offers more features than GetMetricData, the previous version of this API. It has new metrics, offers filtering at a metric level, and offers the ability to filter and group data by channels, queues, routing profiles, agents, and agent hierarchy levels. It can retrieve historical data for the last 3 months, at varying intervals. It does not support agent queues.
For a description of the historical metrics that are supported by GetMetricDataV2
and GetMetricData
, see Metrics definitions in the Amazon Connect Administrator Guide.