Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Insight = Insight' {
- summary :: Maybe Text
- state :: Maybe InsightState
- startTime :: Maybe POSIX
- insightId :: Maybe Text
- categories :: Maybe [InsightCategory]
- rootCauseServiceRequestImpactStatistics :: Maybe RequestImpactStatistics
- topAnomalousServices :: Maybe [AnomalousService]
- rootCauseServiceId :: Maybe ServiceId
- clientRequestImpactStatistics :: Maybe RequestImpactStatistics
- endTime :: Maybe POSIX
- groupARN :: Maybe Text
- groupName :: Maybe Text
- newInsight :: Insight
- insight_summary :: Lens' Insight (Maybe Text)
- insight_state :: Lens' Insight (Maybe InsightState)
- insight_startTime :: Lens' Insight (Maybe UTCTime)
- insight_insightId :: Lens' Insight (Maybe Text)
- insight_categories :: Lens' Insight (Maybe [InsightCategory])
- insight_rootCauseServiceRequestImpactStatistics :: Lens' Insight (Maybe RequestImpactStatistics)
- insight_topAnomalousServices :: Lens' Insight (Maybe [AnomalousService])
- insight_rootCauseServiceId :: Lens' Insight (Maybe ServiceId)
- insight_clientRequestImpactStatistics :: Lens' Insight (Maybe RequestImpactStatistics)
- insight_endTime :: Lens' Insight (Maybe UTCTime)
- insight_groupARN :: Lens' Insight (Maybe Text)
- insight_groupName :: Lens' Insight (Maybe Text)
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.
Insight' | |
|
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:summary:Insight'
, insight_summary
- A brief description of the insight.
$sel:state:Insight'
, insight_state
- The current state of the insight.
$sel:startTime:Insight'
, insight_startTime
- The time, in Unix seconds, at which the insight began.
$sel:insightId:Insight'
, insight_insightId
- The insights unique identifier.
$sel:categories:Insight'
, insight_categories
- The categories that label and describe the type of insight.
$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:topAnomalousServices:Insight'
, insight_topAnomalousServices
- The service within the insight that is most impacted by the incident.
$sel:rootCauseServiceId:Insight'
, insight_rootCauseServiceId
- Undocumented member.
$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.
insight_state :: Lens' Insight (Maybe InsightState) Source #
The current state of the insight.
insight_startTime :: Lens' Insight (Maybe UTCTime) Source #
The time, in Unix seconds, at which the insight began.
insight_categories :: Lens' Insight (Maybe [InsightCategory]) Source #
The categories that label and describe the type of insight.
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_topAnomalousServices :: Lens' Insight (Maybe [AnomalousService]) Source #
The service within the insight that is most impacted by the incident.
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.