libZSservicesZSamazonka-xrayZSamazonka-xray
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.XRay.Types.Trace

Description

 
Synopsis

Documentation

data Trace Source #

A collection of segment documents with matching trace IDs.

See: newTrace smart constructor.

Constructors

Trace' 

Fields

Instances

Instances details
Eq Trace Source # 
Instance details

Defined in Amazonka.XRay.Types.Trace

Methods

(==) :: Trace -> Trace -> Bool #

(/=) :: Trace -> Trace -> Bool #

Read Trace Source # 
Instance details

Defined in Amazonka.XRay.Types.Trace

Show Trace Source # 
Instance details

Defined in Amazonka.XRay.Types.Trace

Methods

showsPrec :: Int -> Trace -> ShowS #

show :: Trace -> String #

showList :: [Trace] -> ShowS #

Generic Trace Source # 
Instance details

Defined in Amazonka.XRay.Types.Trace

Associated Types

type Rep Trace :: Type -> Type #

Methods

from :: Trace -> Rep Trace x #

to :: Rep Trace x -> Trace #

NFData Trace Source # 
Instance details

Defined in Amazonka.XRay.Types.Trace

Methods

rnf :: Trace -> () #

Hashable Trace Source # 
Instance details

Defined in Amazonka.XRay.Types.Trace

Methods

hashWithSalt :: Int -> Trace -> Int #

hash :: Trace -> Int #

FromJSON Trace Source # 
Instance details

Defined in Amazonka.XRay.Types.Trace

type Rep Trace Source # 
Instance details

Defined in Amazonka.XRay.Types.Trace

type Rep Trace = D1 ('MetaData "Trace" "Amazonka.XRay.Types.Trace" "libZSservicesZSamazonka-xrayZSamazonka-xray" 'False) (C1 ('MetaCons "Trace'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "limitExceeded") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "segments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Segment])) :*: S1 ('MetaSel ('Just "duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))))

newTrace :: Trace Source #

Create a value of Trace 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:limitExceeded:Trace', trace_limitExceeded - LimitExceeded is set to true when the trace has exceeded one of the defined quotas. For more information about quotas, see Amazon Web Services X-Ray endpoints and quotas.

$sel:id:Trace', trace_id - The unique identifier for the request that generated the trace's segments and subsegments.

$sel:segments:Trace', trace_segments - Segment documents for the segments and subsegments that comprise the trace.

$sel:duration:Trace', trace_duration - The length of time in seconds between the start time of the root segment and the end time of the last segment that completed.

trace_limitExceeded :: Lens' Trace (Maybe Bool) Source #

LimitExceeded is set to true when the trace has exceeded one of the defined quotas. For more information about quotas, see Amazon Web Services X-Ray endpoints and quotas.

trace_id :: Lens' Trace (Maybe Text) Source #

The unique identifier for the request that generated the trace's segments and subsegments.

trace_segments :: Lens' Trace (Maybe [Segment]) Source #

Segment documents for the segments and subsegments that comprise the trace.

trace_duration :: Lens' Trace (Maybe Double) Source #

The length of time in seconds between the start time of the root segment and the end time of the last segment that completed.