| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.XRay.Types.Trace
Description
Documentation
A collection of segment documents with matching trace IDs.
See: newTrace smart constructor.
Constructors
| Trace' | |
Fields
| |
Instances
| FromJSON Trace Source # | |
| Generic Trace Source # | |
| Read Trace Source # | |
| Show Trace Source # | |
| NFData Trace Source # | |
Defined in Amazonka.XRay.Types.Trace | |
| Eq Trace Source # | |
| Hashable Trace Source # | |
Defined in Amazonka.XRay.Types.Trace | |
| type Rep Trace Source # | |
Defined in Amazonka.XRay.Types.Trace type Rep Trace = D1 ('MetaData "Trace" "Amazonka.XRay.Types.Trace" "amazonka-xray-2.0-EVMSPoflqtHB9ZqvEIOE4Q" 'False) (C1 ('MetaCons "Trace'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "limitExceeded") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "segments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Segment]))))) | |
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: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, trace_id - The unique identifier for the request that generated the trace's
segments and subsegments.
$sel:limitExceeded:Trace', trace_limitExceeded - LimitExceeded is set to true when the trace has exceeded the
Trace document size limit. For more information about this limit and
other X-Ray limits and quotas, see
Amazon Web Services X-Ray endpoints and quotas.
$sel:segments:Trace', trace_segments - 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.
trace_id :: Lens' Trace (Maybe Text) Source #
The unique identifier for the request that generated the trace's segments and subsegments.
trace_limitExceeded :: Lens' Trace (Maybe Bool) Source #
LimitExceeded is set to true when the trace has exceeded the
Trace document size limit. For more information about this limit and
other X-Ray limits and quotas, see
Amazon Web Services X-Ray endpoints and quotas.