Turn on Observations
Observations is on by default for new Omni spaces. You can confirm the setting, turn it on for an existing space, and view the observations CloudWatch produces.
Before you begin
Before you begin, make sure that you have the following:
-
Confirm that your telemetry is stored in Amazon CloudWatch.
-
Set up CloudWatch Omni. For more information, see Set up Omni.
Check whether Observations is on
Observations is on by default for new Omni spaces. To turn Observations on for an existing space, use one of the following methods.
| Method | Steps |
|---|---|
| Omni web UI | Choose Settings, Intelligence. Under Detections, turn on Observations. |
| AWS CLI |
|
| API | Call GetIntelligenceConfiguration to check. Call
PutIntelligenceConfiguration with
intelligenceEnabled set to true to
turn it on. |
Your coding agent can also turn on Observations for you. For more information, see Investigate observations with your coding agent.
View observations
| Method | Steps |
|---|---|
| Omni web UI | Choose Observations in the navigation pane. Observations are ranked by severity. Choose one to see its title, summary, affected services, and supporting evidence. To dig deeper, choose Investigate. |
| AWS CLI | aws cloudwatch list-observations |
| API | Call ListObservations. For more information, see
Observations API. |
Enrich your observations
Observations work with the telemetry you already send to CloudWatch. You can add more context so each observation shows what changed and where to look. Each source below is optional and can be set up on its own.
-
Code repository (GitHub)
Connect your GitHub repository so observations can link a problem to recent commits and deployments, and to the code behind the affected service. For more information, see Correlate changes with your telemetry.
-
AWS events
Turn on AWS events so observations show deployments, configuration changes, and other AWS resource changes that happened around the time a problem started. For more information, see Correlate changes with your telemetry.
-
Profile telemetry
Send profile telemetry so observations can point to the functions and code paths that use the most CPU or memory, or that cause latency, during a problem. For more information, see Profile telemetry for observations.