You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
Understanding how to monitor your OCI resources and manage costs is essential for operating a healthy cloud environment. This lesson covers OCI Monitoring, Logging, Audit, and cost management tools.
OCI Monitoring collects metrics from your cloud resources and enables alerting:
Automatically collected from OCI services:
| Service | Example Metrics |
|---|---|
| Compute | CPU utilisation, memory usage, disk I/O, network bytes |
| Block Volume | Read/write IOPS, throughput, latency |
| Object Storage | Request count, bytes transferred |
| Autonomous DB | CPU utilisation, storage used, SQL executions |
| Load Balancer | Request count, latency, backend health |
| Functions | Invocations, duration, errors |
Define alarms to trigger notifications when metrics exceed thresholds:
Example: Alert when Compute CPU utilisation exceeds 90% for 5 consecutive minutes.
Use the Monitoring Query Language (MQL) for custom metric queries:
CpuUtilization[1m]{resourceId = "<instance-ocid>"}.mean()
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.