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 |
Synopsis
- data TraceSummary = TraceSummary' {
- annotations :: Maybe (HashMap Text [ValueWithServiceIds])
- availabilityZones :: Maybe [AvailabilityZoneDetail]
- duration :: Maybe Double
- entryPoint :: Maybe ServiceId
- errorRootCauses :: Maybe [ErrorRootCause]
- faultRootCauses :: Maybe [FaultRootCause]
- hasError :: Maybe Bool
- hasFault :: Maybe Bool
- hasThrottle :: Maybe Bool
- http :: Maybe Http
- id :: Maybe Text
- instanceIds :: Maybe [InstanceIdDetail]
- isPartial :: Maybe Bool
- matchedEventTime :: Maybe POSIX
- resourceARNs :: Maybe [ResourceARNDetail]
- responseTime :: Maybe Double
- responseTimeRootCauses :: Maybe [ResponseTimeRootCause]
- revision :: Maybe Int
- serviceIds :: Maybe [ServiceId]
- users :: Maybe [TraceUser]
- newTraceSummary :: TraceSummary
- traceSummary_annotations :: Lens' TraceSummary (Maybe (HashMap Text [ValueWithServiceIds]))
- traceSummary_availabilityZones :: Lens' TraceSummary (Maybe [AvailabilityZoneDetail])
- traceSummary_duration :: Lens' TraceSummary (Maybe Double)
- traceSummary_entryPoint :: Lens' TraceSummary (Maybe ServiceId)
- traceSummary_errorRootCauses :: Lens' TraceSummary (Maybe [ErrorRootCause])
- traceSummary_faultRootCauses :: Lens' TraceSummary (Maybe [FaultRootCause])
- traceSummary_hasError :: Lens' TraceSummary (Maybe Bool)
- traceSummary_hasFault :: Lens' TraceSummary (Maybe Bool)
- traceSummary_hasThrottle :: Lens' TraceSummary (Maybe Bool)
- traceSummary_http :: Lens' TraceSummary (Maybe Http)
- traceSummary_id :: Lens' TraceSummary (Maybe Text)
- traceSummary_instanceIds :: Lens' TraceSummary (Maybe [InstanceIdDetail])
- traceSummary_isPartial :: Lens' TraceSummary (Maybe Bool)
- traceSummary_matchedEventTime :: Lens' TraceSummary (Maybe UTCTime)
- traceSummary_resourceARNs :: Lens' TraceSummary (Maybe [ResourceARNDetail])
- traceSummary_responseTime :: Lens' TraceSummary (Maybe Double)
- traceSummary_responseTimeRootCauses :: Lens' TraceSummary (Maybe [ResponseTimeRootCause])
- traceSummary_revision :: Lens' TraceSummary (Maybe Int)
- traceSummary_serviceIds :: Lens' TraceSummary (Maybe [ServiceId])
- traceSummary_users :: Lens' TraceSummary (Maybe [TraceUser])
Documentation
data TraceSummary Source #
Metadata generated from the segment documents in a trace.
See: newTraceSummary
smart constructor.
TraceSummary' | |
|
Instances
newTraceSummary :: TraceSummary Source #
Create a value of TraceSummary
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:annotations:TraceSummary'
, traceSummary_annotations
- Annotations from the trace's segment documents.
$sel:availabilityZones:TraceSummary'
, traceSummary_availabilityZones
- A list of Availability Zones for any zone corresponding to the trace
segments.
$sel:duration:TraceSummary'
, traceSummary_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.
$sel:entryPoint:TraceSummary'
, traceSummary_entryPoint
- The root of a trace.
$sel:errorRootCauses:TraceSummary'
, traceSummary_errorRootCauses
- A collection of ErrorRootCause structures corresponding to the trace
segments.
$sel:faultRootCauses:TraceSummary'
, traceSummary_faultRootCauses
- A collection of FaultRootCause structures corresponding to the trace
segments.
$sel:hasError:TraceSummary'
, traceSummary_hasError
- The root segment document has a 400 series error.
$sel:hasFault:TraceSummary'
, traceSummary_hasFault
- The root segment document has a 500 series error.
$sel:hasThrottle:TraceSummary'
, traceSummary_hasThrottle
- One or more of the segment documents has a 429 throttling error.
$sel:http:TraceSummary'
, traceSummary_http
- Information about the HTTP request served by the trace.
TraceSummary
, traceSummary_id
- The unique identifier for the request that generated the trace's
segments and subsegments.
$sel:instanceIds:TraceSummary'
, traceSummary_instanceIds
- A list of EC2 instance IDs for any instance corresponding to the trace
segments.
$sel:isPartial:TraceSummary'
, traceSummary_isPartial
- One or more of the segment documents is in progress.
$sel:matchedEventTime:TraceSummary'
, traceSummary_matchedEventTime
- The matched time stamp of a defined event.
$sel:resourceARNs:TraceSummary'
, traceSummary_resourceARNs
- A list of resource ARNs for any resource corresponding to the trace
segments.
$sel:responseTime:TraceSummary'
, traceSummary_responseTime
- The length of time in seconds between the start and end times of the
root segment. If the service performs work asynchronously, the response
time measures the time before the response is sent to the user, while
the duration measures the amount of time before the last traced activity
completes.
$sel:responseTimeRootCauses:TraceSummary'
, traceSummary_responseTimeRootCauses
- A collection of ResponseTimeRootCause structures corresponding to the
trace segments.
$sel:revision:TraceSummary'
, traceSummary_revision
- The revision number of a trace.
TraceSummary
, traceSummary_serviceIds
- Service IDs from the trace's segment documents.
$sel:users:TraceSummary'
, traceSummary_users
- Users from the trace's segment documents.
traceSummary_annotations :: Lens' TraceSummary (Maybe (HashMap Text [ValueWithServiceIds])) Source #
Annotations from the trace's segment documents.
traceSummary_availabilityZones :: Lens' TraceSummary (Maybe [AvailabilityZoneDetail]) Source #
A list of Availability Zones for any zone corresponding to the trace segments.
traceSummary_duration :: Lens' TraceSummary (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.
traceSummary_entryPoint :: Lens' TraceSummary (Maybe ServiceId) Source #
The root of a trace.
traceSummary_errorRootCauses :: Lens' TraceSummary (Maybe [ErrorRootCause]) Source #
A collection of ErrorRootCause structures corresponding to the trace segments.
traceSummary_faultRootCauses :: Lens' TraceSummary (Maybe [FaultRootCause]) Source #
A collection of FaultRootCause structures corresponding to the trace segments.
traceSummary_hasError :: Lens' TraceSummary (Maybe Bool) Source #
The root segment document has a 400 series error.
traceSummary_hasFault :: Lens' TraceSummary (Maybe Bool) Source #
The root segment document has a 500 series error.
traceSummary_hasThrottle :: Lens' TraceSummary (Maybe Bool) Source #
One or more of the segment documents has a 429 throttling error.
traceSummary_http :: Lens' TraceSummary (Maybe Http) Source #
Information about the HTTP request served by the trace.
traceSummary_id :: Lens' TraceSummary (Maybe Text) Source #
The unique identifier for the request that generated the trace's segments and subsegments.
traceSummary_instanceIds :: Lens' TraceSummary (Maybe [InstanceIdDetail]) Source #
A list of EC2 instance IDs for any instance corresponding to the trace segments.
traceSummary_isPartial :: Lens' TraceSummary (Maybe Bool) Source #
One or more of the segment documents is in progress.
traceSummary_matchedEventTime :: Lens' TraceSummary (Maybe UTCTime) Source #
The matched time stamp of a defined event.
traceSummary_resourceARNs :: Lens' TraceSummary (Maybe [ResourceARNDetail]) Source #
A list of resource ARNs for any resource corresponding to the trace segments.
traceSummary_responseTime :: Lens' TraceSummary (Maybe Double) Source #
The length of time in seconds between the start and end times of the root segment. If the service performs work asynchronously, the response time measures the time before the response is sent to the user, while the duration measures the amount of time before the last traced activity completes.
traceSummary_responseTimeRootCauses :: Lens' TraceSummary (Maybe [ResponseTimeRootCause]) Source #
A collection of ResponseTimeRootCause structures corresponding to the trace segments.
traceSummary_revision :: Lens' TraceSummary (Maybe Int) Source #
The revision number of a trace.
traceSummary_serviceIds :: Lens' TraceSummary (Maybe [ServiceId]) Source #
Service IDs from the trace's segment documents.
traceSummary_users :: Lens' TraceSummary (Maybe [TraceUser]) Source #
Users from the trace's segment documents.