AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Details about the metric that the analysis used when it detected the anomaly. The metric what is analyzed to create recommendations. It includes the name of the frame that was analyzed and the type and thread states used to derive the metric value for that frame.

Inheritance Hierarchy

System.Object
  Amazon.CodeGuruProfiler.Model.Metric

Namespace: Amazon.CodeGuruProfiler.Model
Assembly: AWSSDK.CodeGuruProfiler.dll
Version: 3.x.y.z

Syntax

C#
public class Metric

The Metric type exposes the following members

Constructors

NameDescription
Public Method Metric()

Properties

NameTypeDescription
Public Property FrameName System.String

Gets and sets the property FrameName.

The name of the method that appears as a frame in any stack in a profile.

Public Property ThreadStates System.Collections.Generic.List<System.String>

Gets and sets the property ThreadStates.

The list of application runtime thread states that is used to calculate the metric value for the frame.

Public Property Type Amazon.CodeGuruProfiler.MetricType

Gets and sets the property Type.

A type that specifies how a metric for a frame is analyzed. The supported value AggregatedRelativeTotalTime is an aggregation of the metric value for one frame that is calculated across the occurences of all frames in a profile.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5