libZSservicesZSamazonka-codeguruprofilerZSamazonka-codeguruprofiler
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeGuruProfiler.Types.FrameMetric

Description

 
Synopsis

Documentation

data FrameMetric Source #

The frame name, metric type, and thread states. These are used to derive the value of the metric for the frame.

See: newFrameMetric smart constructor.

Constructors

FrameMetric' 

Fields

  • frameName :: Text

    Name of the method common across the multiple occurrences of a frame in an application profile.

  • threadStates :: [Text]

    List of application runtime thread states used to get the counts for a frame a derive a metric value.

  • type' :: MetricType

    A type of aggregation 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 occurrences of all frames in a profile.

Instances

Instances details
Eq FrameMetric Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FrameMetric

Read FrameMetric Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FrameMetric

Show FrameMetric Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FrameMetric

Generic FrameMetric Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FrameMetric

Associated Types

type Rep FrameMetric :: Type -> Type #

NFData FrameMetric Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FrameMetric

Methods

rnf :: FrameMetric -> () #

Hashable FrameMetric Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FrameMetric

ToJSON FrameMetric Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FrameMetric

FromJSON FrameMetric Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FrameMetric

type Rep FrameMetric Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FrameMetric

type Rep FrameMetric = D1 ('MetaData "FrameMetric" "Amazonka.CodeGuruProfiler.Types.FrameMetric" "libZSservicesZSamazonka-codeguruprofilerZSamazonka-codeguruprofiler" 'False) (C1 ('MetaCons "FrameMetric'" 'PrefixI 'True) (S1 ('MetaSel ('Just "frameName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "threadStates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MetricType))))

newFrameMetric Source #

Create a value of FrameMetric with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:frameName:FrameMetric', frameMetric_frameName - Name of the method common across the multiple occurrences of a frame in an application profile.

$sel:threadStates:FrameMetric', frameMetric_threadStates - List of application runtime thread states used to get the counts for a frame a derive a metric value.

$sel:type':FrameMetric', frameMetric_type - A type of aggregation 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 occurrences of all frames in a profile.

frameMetric_frameName :: Lens' FrameMetric Text Source #

Name of the method common across the multiple occurrences of a frame in an application profile.

frameMetric_threadStates :: Lens' FrameMetric [Text] Source #

List of application runtime thread states used to get the counts for a frame a derive a metric value.

frameMetric_type :: Lens' FrameMetric MetricType Source #

A type of aggregation 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 occurrences of all frames in a profile.