| 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.Insight
Description
Synopsis
- data Insight = Insight' {
- categories :: Maybe [InsightCategory]
- clientRequestImpactStatistics :: Maybe RequestImpactStatistics
- endTime :: Maybe POSIX
- groupARN :: Maybe Text
- groupName :: Maybe Text
- insightId :: Maybe Text
- rootCauseServiceId :: Maybe ServiceId
- rootCauseServiceRequestImpactStatistics :: Maybe RequestImpactStatistics
- startTime :: Maybe POSIX
- state :: Maybe InsightState
- summary :: Maybe Text
- topAnomalousServices :: Maybe [AnomalousService]
- newInsight :: Insight
- insight_categories :: Lens' Insight (Maybe [InsightCategory])
- insight_clientRequestImpactStatistics :: Lens' Insight (Maybe RequestImpactStatistics)
- insight_endTime :: Lens' Insight (Maybe UTCTime)
- insight_groupARN :: Lens' Insight (Maybe Text)
- insight_groupName :: Lens' Insight (Maybe Text)
- insight_insightId :: Lens' Insight (Maybe Text)
- insight_rootCauseServiceId :: Lens' Insight (Maybe ServiceId)
- insight_rootCauseServiceRequestImpactStatistics :: Lens' Insight (Maybe RequestImpactStatistics)
- insight_startTime :: Lens' Insight (Maybe UTCTime)
- insight_state :: Lens' Insight (Maybe InsightState)
- insight_summary :: Lens' Insight (Maybe Text)
- insight_topAnomalousServices :: Lens' Insight (Maybe [AnomalousService])
Documentation
When fault rates go outside of the expected range, X-Ray creates an insight. Insights tracks emergent issues within your applications.
See: newInsight smart constructor.
Constructors
| Insight' | |
Fields
| |
Instances
newInsight :: Insight Source #
Create a value of Insight 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:categories:Insight', insight_categories - The categories that label and describe the type of insight.
$sel:clientRequestImpactStatistics:Insight', insight_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.
$sel:endTime:Insight', insight_endTime - The time, in Unix seconds, at which the insight ended.
$sel:groupARN:Insight', insight_groupARN - The Amazon Resource Name (ARN) of the group that the insight belongs to.
$sel:groupName:Insight', insight_groupName - The name of the group that the insight belongs to.
$sel:insightId:Insight', insight_insightId - The insights unique identifier.
$sel:rootCauseServiceId:Insight', insight_rootCauseServiceId - Undocumented member.
$sel:rootCauseServiceRequestImpactStatistics:Insight', insight_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:startTime:Insight', insight_startTime - The time, in Unix seconds, at which the insight began.
$sel:state:Insight', insight_state - The current state of the insight.
$sel:summary:Insight', insight_summary - A brief description of the insight.
$sel:topAnomalousServices:Insight', insight_topAnomalousServices - The service within the insight that is most impacted by the incident.
insight_categories :: Lens' Insight (Maybe [InsightCategory]) Source #
The categories that label and describe the type of insight.
insight_clientRequestImpactStatistics :: Lens' Insight (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.
insight_endTime :: Lens' Insight (Maybe UTCTime) Source #
The time, in Unix seconds, at which the insight ended.
insight_groupARN :: Lens' Insight (Maybe Text) Source #
The Amazon Resource Name (ARN) of the group that the insight belongs to.
insight_groupName :: Lens' Insight (Maybe Text) Source #
The name of the group that the insight belongs to.
insight_rootCauseServiceRequestImpactStatistics :: Lens' Insight (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.
insight_startTime :: Lens' Insight (Maybe UTCTime) Source #
The time, in Unix seconds, at which the insight began.
insight_state :: Lens' Insight (Maybe InsightState) Source #
The current state of the insight.
insight_topAnomalousServices :: Lens' Insight (Maybe [AnomalousService]) Source #
The service within the insight that is most impacted by the incident.