getResourceMetrics
inline suspend fun PiClient.getResourceMetrics(crossinline block: GetResourceMetricsRequest.Builder.() -> Unit): GetResourceMetricsResponse
Retrieve Performance Insights metrics for a set of data sources over a time period. You can provide specific dimension groups and dimensions, and provide filtering criteria for each group. You must specify an aggregate function for each metric.
Each response element returns a maximum of 500 bytes. For larger elements, such as SQL statements, only the first 500 bytes are returned.