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.InsightEvent

Description

 
Synopsis

Documentation

data InsightEvent Source #

X-Ray reevaluates insights periodically until they are resolved, and records each intermediate state in an event. You can review incident events in the Impact Timeline on the Inspect page in the X-Ray console.

See: newInsightEvent smart constructor.

Constructors

InsightEvent' 

Fields

Instances

Instances details
Eq InsightEvent Source # 
Instance details

Defined in Amazonka.XRay.Types.InsightEvent

Read InsightEvent Source # 
Instance details

Defined in Amazonka.XRay.Types.InsightEvent

Show InsightEvent Source # 
Instance details

Defined in Amazonka.XRay.Types.InsightEvent

Generic InsightEvent Source # 
Instance details

Defined in Amazonka.XRay.Types.InsightEvent

Associated Types

type Rep InsightEvent :: Type -> Type #

NFData InsightEvent Source # 
Instance details

Defined in Amazonka.XRay.Types.InsightEvent

Methods

rnf :: InsightEvent -> () #

Hashable InsightEvent Source # 
Instance details

Defined in Amazonka.XRay.Types.InsightEvent

FromJSON InsightEvent Source # 
Instance details

Defined in Amazonka.XRay.Types.InsightEvent

type Rep InsightEvent Source # 
Instance details

Defined in Amazonka.XRay.Types.InsightEvent

type Rep InsightEvent = D1 ('MetaData "InsightEvent" "Amazonka.XRay.Types.InsightEvent" "libZSservicesZSamazonka-xrayZSamazonka-xray" 'False) (C1 ('MetaCons "InsightEvent'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "summary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "eventTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "rootCauseServiceRequestImpactStatistics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RequestImpactStatistics)) :*: (S1 ('MetaSel ('Just "topAnomalousServices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AnomalousService])) :*: S1 ('MetaSel ('Just "clientRequestImpactStatistics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RequestImpactStatistics))))))

newInsightEvent :: InsightEvent Source #

Create a value of InsightEvent 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:summary:InsightEvent', insightEvent_summary - A brief description of the event.

$sel:eventTime:InsightEvent', insightEvent_eventTime - The time, in Unix seconds, at which the event was recorded.

$sel:rootCauseServiceRequestImpactStatistics:InsightEvent', insightEvent_rootCauseServiceRequestImpactStatistics - The impact statistics of the root cause service. This includes the number of requests to the client service and whether the requests were faults or okay.

$sel:topAnomalousServices:InsightEvent', insightEvent_topAnomalousServices - The service during the event that is most impacted by the incident.

$sel:clientRequestImpactStatistics:InsightEvent', insightEvent_clientRequestImpactStatistics - The impact statistics of the client side service. This includes the number of requests to the client service and whether the requests were faults or okay.

insightEvent_summary :: Lens' InsightEvent (Maybe Text) Source #

A brief description of the event.

insightEvent_eventTime :: Lens' InsightEvent (Maybe UTCTime) Source #

The time, in Unix seconds, at which the event was recorded.

insightEvent_rootCauseServiceRequestImpactStatistics :: Lens' InsightEvent (Maybe RequestImpactStatistics) Source #

The impact statistics of the root cause service. This includes the number of requests to the client service and whether the requests were faults or okay.

insightEvent_topAnomalousServices :: Lens' InsightEvent (Maybe [AnomalousService]) Source #

The service during the event that is most impacted by the incident.

insightEvent_clientRequestImpactStatistics :: Lens' InsightEvent (Maybe RequestImpactStatistics) Source #

The impact statistics of the client side service. This includes the number of requests to the client service and whether the requests were faults or okay.