Observability Flashcards
(15 cards)
What is observability?
ability to analyze and view data or process
achieved only after monitoring data (such as metrics) has been compiled
often, confused with monitoring
Monitoring
pipeline/products must be able to be monitored to have observability
Feedback (analysis)
is necessary for the CI/CD process
Value of monitoring
Customer experience performance and cost trends troubleshooting and remediation learning and improvement
Evolve monitoring process
user experience
short-lived resources
more devices generating more data
faster release velocity
The Golden Triangle of Observability
Monitoring (Metrics) - CloudWatch metrics
Logging - CloudWatch Logs
Tracing - AWS X-Ray traces
CloudWatch Logs
to monitor, store, and access your log files from an EC2 instance, AWS CloudTrail, and other sources
Retrieve log data:
CloudWatch Logs
to monitor, store, and access your log files from an EC2 instance, AWS CloudTrail, and other sources
Retrieve log data:
Terminology:
- log event
- log stream
- log group
log event
A record of some activity recorded by the application or resource being monitored. Contains two properties: timestamp and raw event message.
log stream
A sequence of log events from the same application instance or resource. Log streams with no log data two months after creation are automatically deleted.
log group
A collection of log streams that share the same retention, monitoring, and access control settings. Every log stream must belong to a single log group.
CloudWatch Logs Insights
Fully integrated, interactive, and pay-as-you-go log analytics
AWS X-Ray
Analyze and debug production distributed applications
AWS X-Ray concepts
Trace:
Segment:
Sub-Segment:
AWS App Mesh
a service mesh that provides application-level networking to make it easy for your services to communicate with each other across multiple types of compute infrastructure.