/oci-observability-tools:oci-monitoring-mqlfrom oci-observability-tools
Author and optimize OCI Monitoring Query Language (MQL) queries, split-metric alarms, threshold rules, and absence triggers. Use when querying OCI service or custom metrics, configuring fine-grained alarms, splitting alerts across dimensions, or routing notifications.
Ships in oci-observability-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use when authoring MQL metric queries, designing threshold alarms, creating split-metric alarms per compute or database resource, implementing heartbeat absence alarms, or tuning evaluation intervals and pending durations.
MQL queries adhere to the standard grammar: metric[interval]{dimensions}.grouping().statistic().
[1m], [5m], [1h])..groupBy(resourceId) to produce split metrics per individual resource..mean(), .max(), .min(), .sum(), .count(), .rate(), and .percentile().Threshold alarms compare statistical aggregations against defined values. Absence alarms detect when expected telemetry stops arriving (such as agent failure or instance termination). Notifications topics route firing and resolution messages to subscribed email, HTTPS, Slack, or OCI Functions endpoints.
For complete grammar details, see the MQL Syntax Reference and MQL Cookbook.
oci_computeagent) and metric name in OCI Metric Explorer..groupBy() if individual resource tracking is desired for split-metric alarms.>, >=, <, <=), trigger delay (pending duration), and severity level (CRITICAL, ERROR, WARNING, INFO)..groupBy() produces fleet-wide averages that conceal individual instance failures.# Compute CPU utilization threshold with resource grouping
CpuUtilization[5m]{availabilityDomain = "<AVAILABILITY_DOMAIN>"}.groupBy(resourceId).mean() > 85
# Service heartbeat absence alarm
CustomHeartbeat[5m]{appName = "<APP_NAME>"}.groupBy(instanceId).absent()
This draft assumes a custom metric with appName and instanceId dimensions. Verify the emitted schema, namespace, scope, and cadence first. Use absent() for missing telemetry; .count() == 0 is not a substitute. The interval, pending duration, and absence detection period are separate settings; see the MQL reference. Query text alone does not configure or test an alarm.
Use oci-monitoring-alarms for foundational alarm setups, oci-stack-monitoring-agents for agent-based metric collection, and oci-logging-pipelines for notification routing.
What SKILL.md sets; muted values are Claude Code's defaults
11 skills in this plugin
/oci-apm-otelInstrument applications for OCI Application Performance Monitoring with OpenTelemetry, APM agents, browser RUM, and synthetics. Use when sending traces/spans to APM, choosing data keys, or debugging missing traces./oci-apm-tracingInstrument applications with OpenTelemetry for OCI APM, query distributed traces in Trace Explorer, and configure synthetic monitors. Use when setting up OTel collectors, tracing distributed requests, diagnosing latency bottlenecks, or creating availability monitors./oci-db-observabilityUse OCI Database Management and Operations Insights for Oracle Database performance, fleet health, SQL analysis, and capacity planning. Use when diagnosing database performance or forecasting capacity.Other plugins' skills for the same job
npx claudepluginhub adibirzu/oci-observability-tools --plugin oci-observability-tools