oci-monitoring

Configure OCI monitoring, logging, alarms, and events via CLI/SDK.

Updated Apr 27, 2026
One-click install
npx skills add https://github.com/tomz/agent-skills --skill oci-monitoring
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: oci-monitoring
Source: https://github.com/tomz/agent-skills/tree/main/oci-monitoring
Command: npx skills add https://github.com/tomz/agent-skills --skill oci-monitoring

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

OCI monitoring and observability provide end-to-end visibility into OCI resources by collecting metrics, logs, events, and traces, enabling proactive issue detection and faster remediation.

Core Features & Use Cases

  • Monitoring Service (Metrics & Alarms) using Metrics Query Language (MQL) to query and aggregate time-series data across OCI namespaces.
  • Logging Service and Logging Analytics for centralized log management, search, and ML-based anomaly detection.
  • Events Service and Notifications for event-driven automation and alert routing to email, HTTP endpoints, or PagerDuty.
  • Service Connector Hub (SCH) to route data between OCI services, external SIEMs, and analytics pipelines.
  • Application Performance Monitoring (APM) with OpenTelemetry integration for distributed tracing and performance insights.
  • Gotchas & Tips to optimize latency, data retention, and alarm reliability.

Quick Start

Describe the resources to observe and enable a basic OCI Monitoring setup with metrics, logs, alarms, and events across a chosen compartment.

Frequently Asked Questions about oci-monitoring

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query and aggregate OCI metrics using Metrics Query Language?

OCI monitoring ingests metrics, logs, events, and traces to provide end-to-end visibility into cloud resources. This enables proactive issue detection and faster remediation for SRE and cloud operations teams.

How do I set up OCI alarms and notifications for event-driven alerting?

You configure OCI alarms with the Events Service and Notifications to enable event-driven automation. This routes alerts directly to email, HTTP endpoints, or PagerDuty for immediate remediation.

Can I route OCI logs to external SIEMs and analytics pipelines?

Yes, you use the Service Connector Hub to route logs and metrics between OCI services and external SIEMs. This centralizes log management and enables ML-based anomaly detection within Logging Analytics.

Does OCI Application Performance Monitoring work with OpenTelemetry for distributed tracing?

OCI Application Performance Monitoring integrates with OpenTelemetry to provide distributed tracing. This captures application traces to deliver performance insights across your OCI resources.

What are common gotchas when optimizing OCI logging data retention and alarm latency?

Common gotchas for OCI logging involve misconfiguring data retention policies and alarm thresholds. Optimizing these settings ensures reliable alert routing and minimizes metric query latency.