oraclecloud-observability

Featured

Set up programmatic monitoring, logging, and alarms for OCI resources. Use when configuring OCI Monitoring metrics, creating alarm rules, publishing custom metrics, or searching logs via the Logging service. Trigger with "oraclecloud observability", "oci monitoring", "oci alarms", "oci logging", "oracle cloud observability".

DevOps & Infrastructure 2,940 stars 439 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Oracle Cloud Observability ## Overview Set up programmatic monitoring for OCI infrastructure using the Monitoring, Logging, and Notifications services. The OCI Console buries these features behind nested menus, and the status page has historically failed to acknowledge outages (e.g., London region, January 2026). This skill builds monitoring you control through code — metric queries, alarm rules, custom metric publishing, and log searches — so you are never surprised by an outage you should have caught. **Purpose:** Create a code-driven observability stack that queries metrics, fires alarms, publishes custom metrics, and searches logs without depending on the OCI Console. ## Prerequisites - **OCI tenancy** with an API signing key in `~/.oci/config` - **Python 3.8+** with `pip install oci` - **Compartment OCID** containing the resources to monitor - **IAM policies** granting `manage alarms` and `read metrics` in the target compartment - **Notification topic** created for alarm destinations (or create one in Step 4) ## Instructions ### Step 1: Query Metrics with MonitoringClient OCI publishes built-in metrics for compute, networking, block storage, and more. Query them programmatically: ```python import oci from datetime import datetime, timedelta config = oci.config.from_file("~/.oci/config") monitoring = oci.monitoring.MonitoringClient(config) # Query CPU utilization for all instances in a compartment response = monitoring.summarize_metrics_data( compartment_...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category