ApplicationInsightsDataClientExtensions.GetMetrics Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieve metric data
public static System.Collections.Generic.IList<Microsoft.Azure.ApplicationInsights.Models.MetricsResultsItem> GetMetrics (this Microsoft.Azure.ApplicationInsights.IApplicationInsightsDataClient operations, System.Collections.Generic.IList<Microsoft.Azure.ApplicationInsights.Models.MetricsPostBodySchema> body);
static member GetMetrics : Microsoft.Azure.ApplicationInsights.IApplicationInsightsDataClient * System.Collections.Generic.IList<Microsoft.Azure.ApplicationInsights.Models.MetricsPostBodySchema> -> System.Collections.Generic.IList<Microsoft.Azure.ApplicationInsights.Models.MetricsResultsItem>
<Extension()>
Public Function GetMetrics (operations As IApplicationInsightsDataClient, body As IList(Of MetricsPostBodySchema)) As IList(Of MetricsResultsItem)
Parameters
- operations
- IApplicationInsightsDataClient
The operations group for this extension method.
- body
- IList<MetricsPostBodySchema>
The batched metrics query.
Returns
Remarks
Gets metric values for multiple metrics