Back to Terraform

OCI Operations: Monitoring, Logging, Defined Tags and Budgets

November 6, 2026 Wasil Zafar 29 min read

Tie resource changes to verified signals, tag permissions and accountable spending

Table of Contents

  1. Choose Signals That Can Prove Service Health
  2. Configure Destinations and Notification Permissions
  3. Model Tag Namespaces and Required Grants
  4. Assign Limits, Budgets and Cost Owners Explicitly
  5. Investigate One Missing Signal or Permission Denial

Choose Signals That Can Prove Service Health

Health is three questions wearing one word. Availability asks whether the service answers, correctness asks whether the answer is right, and provenance asks who changed it. A dashboard built from CPU and a log tail answers the first badly and the other two not at all.

This part targets Terraform 1.17.1 and oracle/oci 9.12.1. The field names and retention ranges here were checked against that provider. Re-read the schema after a provider upgrade, because alarm and tag fields have moved between major releases.

Application signals are the only ones that can prove a request was correct. A load balancer's 200 says the proxy answered; it says nothing about whether the order was priced correctly. Emit a custom metric or a structured log at the point where the business rule runs, and name it for the invariant it protects.

Platform metrics are free, but they arrive with conditions. Compute CPU comes from the Compute Instance Monitoring plugin, so an instance without that plugin has no CpuUtilization at all. The agentless namespace covers instance health without the plugin, which is the right fallback when you cannot install an agent.

Metrics arrive with conditions

Compute CPU depends on the monitoring plugin, so an instance without it has no metric at all. Use the agentless namespace when you cannot install the agent, and check the metric exists before building an alarm on it.

Load balancer metrics answer reachability, not correctness. The oci_lbaas namespace exposes backend health and response counts, including unhealthyBackendServers. An alarm on that metric proves a backend set is degraded; it cannot prove the application returned the right payload.

Audit is a separate product with its own clock. The Audit service records control-plane calls, and its retention is a tenancy setting from 90 to 365 days. It is not a log group you create, and it does not inherit the retention of your application logs.

Retention is where most signal contracts quietly break. Monitoring keeps metric definitions and alarm history for 90 days, a Logging log keeps 30-day increments up to 180 days, and Audit keeps 90 days by default. Three clocks, three owners, and no single number called "retention".

A log group is a permission and query container, not a retention setting. Retention is set per log in 30-day steps, while the group is what a policy can name and what a search scopes to. One group per evidence domain keeps a responder's query inside the data they may read.

Shortening a log's retention removes access immediately. Moving a log from six months to one month makes everything older than one month unsearchable at once, not after a grace period. The change is a configuration edit, so it belongs in the same review as the log itself.

"No data" is a signal you must configure. An absence alarm turns a stopped publisher into a page; without one, a dead agent and a quiet service look identical. The default absence window is two hours, far too long for a request path with a one-minute objective.

Custom metrics are a schema commitment. A namespace and its dimensions are part of every alarm query, so renaming a dimension breaks each alarm that filters on it. Keep dimensions low-cardinality and put request identifiers in logs, not in metric dimensions.

Audit answers who called the API, not what the user saw. An audit event names the principal, action, resource and response, which is exactly what a change review needs. It will not tell you that a checkout button returned the wrong price.

Correlation needs a shared field, not a shared clock. Put the same request identifier in the application log and the trace, then join on that value. Two systems that share only a timestamp will disagree at the boundary, especially across regions.

A signal with no owner is a dashboard, not an operation. The service team owns the request-level metric and its log, the platform team owns instance and load balancer metrics, and security owns the audit query. Write the owner beside the retention number, because the owner is who notices when the number changes.

Cheap signals first, expensive signals at the boundary. Flow logs and access logs are voluminous and priced by ingestion, so enable them on the subnet or load balancer that carries the traffic you must explain. A custom application log is cheap per line and expensive per gigabyte when nobody decided what to keep.

Pick the log category from the failure you expect to explain. Flow logs explain denied or asymmetric traffic, load balancer access logs explain 5xx and latency, and an application log explains a bad decision. Enabling all three everywhere buys volume, not coverage.

Figure 1 starts from the question, not from the tool.

Choose Signals That Can Prove Service Health
%%{init: {'theme':'base','themeCSS':'.edgeLabel .label text, .edgeLabel text, .edgeLabel span { fill:#132440 !important; color:#132440 !important; }','themeVariables': {'primaryColor':'#16476A','primaryTextColor':'#ffffff','primaryBorderColor':'#132440','secondaryColor':'#3B9797','secondaryTextColor':'#ffffff','secondaryBorderColor':'#132440','tertiaryColor':'#c4873b','tertiaryTextColor':'#132440','tertiaryBorderColor':'#132440','lineColor':'#5a6e82','textColor':'#132440','titleColor':'#132440','mainBkg':'#16476A','nodeBorder':'#132440','clusterBkg':'#eef3f7','clusterBorder':'#132440','edgeLabelBackground':'#ffffff','actorBkg':'#16476A','actorTextColor':'#ffffff','actorBorder':'#132440','activationBkgColor':'#3B9797','signalColor':'#5a6e82','noteBkgColor':'#c4873b','noteTextColor':'#132440','fontFamily':'DM Sans, sans-serif'}}}%%
flowchart TD
    Q["An incident question
is it up, is it right, who changed it?"] --> A{"Which question
must be answered?"} A -->|"is it right?"| APP["Application log or custom metric
emitted by the service"] A -->|"is it reachable?"| PLAT["Compute and load balancer metrics
emitted by the platform"] A -->|"who changed it?"| AUD["Audit events
recorded by the tenancy"] APP --> AR["Logging retention
30 to 180 days per log"] PLAT --> PR["Monitoring retention
90 days for metrics and alarm history"] AUD --> AU["Audit retention
90 to 365 days, tenancy-wide"] AR --> ARCH["Service Connector
archive to Object Storage"] PR --> ARCH AU --> ARCH A -->|"nobody emits it"| GAP["No signal
a green dashboard proves nothing"] classDef primary fill:#132440,color:#ffffff,stroke:#0b172b; classDef secondary fill:#16476A,color:#ffffff,stroke:#0f314a; classDef ok fill:#3B9797,color:#ffffff,stroke:#2a6f6f; classDef danger fill:#BF092F,color:#ffffff,stroke:#7a0420; classDef warn fill:#c4873b,color:#132440,stroke:#8a5a1f; class Q,A primary; class APP,PLAT,AUD secondary; class ARCH ok; class AR,PR,AU warn; class GAP danger;

Figure 1 produces three legitimate answers from one incident. Each answer has a different retention clock and a different team, and only the application path can prove correctness. The dashed branch is the failure that looks healthiest: nobody emits the signal, so every dashboard stays green.

Three signal planes with separate retention clocks Application logs, platform metrics and audit events sit in three horizontal planes. Each plane names its source, its retention period and its owner. All three feed a Service Connector archive in Object Storage, whose lifecycle policy sets the real long-term retention. A crimson footer states that a log group is not an audit trail. Three planes, three retention clocks The question chooses the plane. The plane chooses the owner. APPLICATION custom metric structured log Proof of correctness: the priced order Owner: the service team Request ID travels with the log LOGGING 30-day steps maximum 180 days PLATFORM compute agent load balancer Proof of reachability: backends and CPU Owner: the platform team Agentless metrics cover missing agents MONITORING 90 days of metrics 90 days of alarm history AUDIT control plane API calls only Proof of change: principal and action Owner: security or compliance Not a request log and not a log group AUDIT SERVICE 90 days by default 365 days maximum SERVICE CONNECTOR TO OBJECT STORAGE Every plane can feed the archive. The bucket lifecycle rule sets the real retention. A log group is not an audit trail.

Figure 2 draws the boundary that matters more than the product name. Application logs, platform metrics and audit events sit in three planes with three owners. The archive is the only place where a retention promise longer than 180 days can live, and its lifecycle rule is the promise.

Configure Destinations and Notification Permissions

An alarm is a chain of four objects, and Terraform owns the control-plane pieces. oci_monitoring_alarm holds the query and destinations, while oci_ons_subscription binds an endpoint to the topic. The metric and the human are outside the plan.

The alarm compartment and the metric compartment are different fields. compartment_id holds the alarm, while metric_compartment_id holds the metrics it reads. Move the workload and the alarm keeps evaluating the old compartment unless you move the metric side too.

Subtree evaluation descends, never ascends. metric_compartment_id_in_subtree lets one alarm read child compartments, which is how a platform team watches every environment below it. It cannot see a sibling or a parent, so a metric one level up silently disappears.

The query is code, and it fails like code. A valid expression names a metric, an interval, a statistic and a predicate. If the alarm resolution is finer than the query interval, the evaluation has no complete window and the alarm cannot behave as written.

A one-minute spike should not page. pending_duration ranges from one minute to one hour, and it is the difference between a transient spike and an incident. Use five or ten minutes for CPU, and keep one minute for a hard failure such as a failed health check.

An alarm that fires once may never remind you. repeat_notification_duration defaults to null, so a still-firing alarm sends one notification and then goes quiet. Set an hourly or four-hourly repeat for anything that needs an owner to act.

Absence is the failure mode dashboards miss. An absence alarm with .absent(30m) fires when the metric stops arriving, and its default detection window is two hours. Choose the window from how long the service can be blind, not from the metric interval.

The topic is a permission boundary before it is an address. An alarm publishes with use ons-topics on the topic's compartment; without that grant the alarm is created and delivery fails. Cross-compartment destinations work only when the policy names the topic compartment.

A subscription is not active because Terraform created it. Email and several other protocols stay PENDING until a human confirms, and the confirmation link expires after three days. A pending subscription is the quietest alarm failure there is.

Suppression and disablement make different promises. A suppression window admits that nobody will look; is_enabled = false claims there is nothing to look at. Put the maintenance window in the alarm's suppression fields, not in a comment on the pull request.

Alarm history is not evidence of notification. Monitoring keeps alarm history for 90 days, and that history records state changes rather than inbox delivery. If a page must be provable, send the notification to a system that records the message.

The message itself is part of the interface. A notification that says only "alarm fired" costs the responder five minutes before they know which service and which dimension. Put the runbook link and the resource dimension in the alarm body.

Prove the chain with a condition that must be true. Point a temporary alarm at an existing metric with a threshold of zero, a dedicated topic and your own confirmed subscription. Read the state, confirm the message, then destroy the alarm and the topic; the proof is repeatable and leaves no noisy infrastructure.

Figure 3 follows the mechanics and stops at each place delivery can fail.

Configure Destinations and Notification Permissions
%%{init: {'theme':'base','themeCSS':'.edgeLabel .label text, .edgeLabel text, .edgeLabel span { fill:#132440 !important; color:#132440 !important; }','themeVariables': {'primaryColor':'#16476A','primaryTextColor':'#ffffff','primaryBorderColor':'#132440','secondaryColor':'#3B9797','secondaryTextColor':'#ffffff','secondaryBorderColor':'#132440','tertiaryColor':'#c4873b','tertiaryTextColor':'#132440','tertiaryBorderColor':'#132440','lineColor':'#5a6e82','textColor':'#132440','titleColor':'#132440','mainBkg':'#16476A','nodeBorder':'#132440','clusterBkg':'#eef3f7','clusterBorder':'#132440','edgeLabelBackground':'#ffffff','actorBkg':'#16476A','actorTextColor':'#ffffff','actorBorder':'#132440','activationBkgColor':'#3B9797','signalColor':'#5a6e82','noteBkgColor':'#c4873b','noteTextColor':'#132440','fontFamily':'DM Sans, sans-serif'}}}%%
flowchart TD
    M["Metric data point
namespace, compartment, dimensions"] --> C{"Metric lands in the
alarm's metric compartment?"} C -->|"no"| F1["Alarm stays OK
no data, no page"] C -->|"yes"| Q{"Query valid at the
alarm resolution?"} Q -->|"no"| F2["Evaluation error
the alarm cannot decide"] Q -->|"yes"| P{"Condition persists for
pending_duration?"} P -->|"no"| OK["State OK
the spike is absorbed"] P -->|"yes"| FIRE["State FIRING
notification published"] FIRE --> T{"Topic policy allows
the alarm principal?"} T -->|"no"| F3["Delivery denied
the alarm still shows FIRING"] T -->|"yes"| S{"Subscription
ACTIVE?"} S -->|"no"| F4["PENDING
no message reaches a human"] S -->|"yes"| N["Endpoint receives
the notification"] N --> R{"Repeat duration
set?"} R -->|"no"| F5["One page only
still firing, now silent"] R -->|"yes"| REP["Re-notified
until the state recovers"] A["Metric stops arriving"] -.->|"no data for 30m"| FIRE classDef primary fill:#132440,color:#ffffff,stroke:#0b172b; classDef secondary fill:#16476A,color:#ffffff,stroke:#0f314a; classDef ok fill:#3B9797,color:#ffffff,stroke:#2a6f6f; classDef danger fill:#BF092F,color:#ffffff,stroke:#7a0420; classDef warn fill:#c4873b,color:#132440,stroke:#8a5a1f; class M,FIRE primary; class C,Q,P,T,S,R secondary; class OK,N,REP ok; class F1,F2,F3,F4 danger; class F5,A warn;

Figure 3 puts the cheap failures before the expensive ones. A wrong metric compartment or an invalid query costs nothing to fix but looks like calm; a pending subscription costs a human confirmation and looks exactly the same. The absence path joins the firing path on purpose, because "stopped reporting" and "threshold crossed" should reach the same owner.

A cross-compartment alarm needs two grants, not one. The caller needs metric read where the data lives and topic use where the destination lives. Splitting those grants between a platform group and a messaging group is fine, as long as the alarm is tested after both are in place.

Retention does not make a notification auditable. The alarm history keeps 90 days of state changes, but the email in someone's inbox is the only copy of the message. Archive the notification through a stream or a ticket integration when the page itself is evidence.

Model Tag Namespaces and Required Grants

A defined tag is a dictionary entry plus a value. The namespace and key are tenancy-level definitions, while the value is applied per resource. A freeform tag has no namespace, no validator, no default and no cost-tracking flag.

The namespace is the administrative boundary. Creating keys requires manage tag-namespaces, while applying them requires use tag-namespaces plus update permission on the resource. A deployment pipeline should hold the second pair and never the first.

Applying a tag is two permissions, not one. The caller must be allowed to update the resource and allowed to use the namespace. Granting only the resource update produces a denied tag change that reads like a service outage.

Console users need the picker permission too. Without inspect tag-namespaces in the tenancy, the tag menu is empty even when the user can update the resource. That failure looks like a broken console rather than an authorization decision.

A tag default is create-time interpolation, not policy. It applies a value to new resources in one compartment without the creator choosing it. That is what makes a default feel like enforcement, even though it is a service-side fill rather than an IAM rule.

Defaults never travel backwards. Existing resources are not tagged retroactively, and changing a default does not update resources that already carry the old value. A backfill is a separate, reviewed operation with its own evidence.

is_required is the closest thing to enforcement at create time. When no value can be resolved from the request or a default, the service blocks the resource. The gate only covers resources created in that compartment after the default exists, so it narrows the gap rather than closing history.

A default can turn a missing grant into a failed create. When a compartment default applies and the creator lacks use tag-namespaces, the request fails with an authorization message that names the namespace. The deployer needs the resource grant and the tag grant even though nobody typed a tag.

A tag key name is case-insensitive, and a value is not normalized. Two values that differ only in case become two cost groups. Use an enumerated validator for any key that feeds a budget, and treat the value list as a reviewed interface.

Terraform can remove tags it did not declare. OCI adds service tags such as Oracle-Tags.CreatedBy at create time, and a later apply can drop them when the configuration does not include them. The provider-level ignore_defined_tags setting prevents that, and it accepts up to 100 keys.

Cost tracking is a flag on the key, not a property of the value. Mark the key with is_cost_tracking so cost reports and the budget picker treat it as a first-class dimension. The value still decides which group pays, which is why the value list needs an owner.

A budget target is one tag triple. The targets list for a tag budget takes the form namespace.key.value and currently accepts exactly one item. Two values means two budgets, and only one budget is allowed per tag.

Limits arrive before the invoice does. A resource accepts 10 freeform tags and 64 defined tags, with 5 KB of total tag data. A generated tag map that exceeds either limit fails the create after everything else about the request was valid.

Prove the default with a resource you were going to create anyway. Create the tag namespace, key and compartment default first, then create the temporary alarm with no defined_tags argument. Read the alarm back, confirm the default value is present, and destroy only the alarm.

The table separates the four mechanisms a team usually calls "tags" and the failure each one produces.

MechanismWhere it livesGrant neededWhat it enforcesFailure that looks like a bug
Freeform tagresource metadata, bare keyupdate on the resourcea label onlydisappears from cost grouping when the spelling drifts
Defined tagtenancy namespace plus keyuse tag-namespaces and resource updateallowed values and cost groupingdenied even though the resource update is allowed
Tag defaultone compartment, create timemanage tag-defaults plus namespace usefills a value on new resourcesexisting resources stay untagged
Required defaultone compartment, create timesame grants with is_requiredblocks create when no value resolvesa tag error surfaces as a failed deployment
Cost-tracking keynamespace key flagmanage tag-namespacesbudget target and cost reportingthe budget picker cannot find the key

Read the table by its second column. A freeform tag is scoped to one resource, a defined tag needs a tenancy dictionary, and a default is scoped to a compartment's future. The grant column is the reason a team that can deploy still cannot tag.

A tag namespace is shared infrastructure, not a team folder. Give it a name that states the owner, keep administration in a small group, and never let a workload pipeline manage it. Deleting a namespace cascades to its keys and removes the vocabulary every budget depends on.

A tag default is not a substitute for a backfill. The default protects resources created after the review; the existing estate needs its own pass. Measure the gap by counting untagged resources in the compartment, not by trusting the default's description.

Assign Limits, Budgets and Cost Owners Explicitly

Three controls, three verbs. A budget observes, a quota blocks, and a service limit caps. Confusing them produces either an alert nobody can act on or a quota that silently denies a legitimate deployment.

A budget is a 24-hour observer. All budget alerts are evaluated every 24 hours, and the budget detail shows when spend was last computed. It is a good management signal and a poor guard for a runaway job that can spend a month's budget in an hour.

The budget target is a compartment subtree or one tag triple. A compartment budget includes its children, and a tag budget names exactly one namespace.key.value combination. The target is the scope of the number, not the scope of the permission to create it.

All budgets are created in the root compartment. Creating one requires manage usage-budgets in the tenancy, even when the money is spent in a child. That is why finance owns the budget root and the platform team owns the compartments being measured.

A forecast alert is a guess with a date. An actual alert compares spend so far, while a forecast alert projects the end of the period. Use a forecast warning early and an actual threshold later, and never let the forecast replace the actual.

oci_limits_quota is evaluated at create time and it blocks. A quota statement caps a resource family inside a compartment, and the create fails when the cap is reached. That failure is the control working, not a service defect, so the error must name the quota and the owner.

A quota can narrow a service limit but not raise it. The regional limit is the ceiling; the quota reserves or caps a slice beneath it. A quota set above the limit is accepted as a number and still fails at the ceiling, which is why the two numbers belong on one page.

A service limit is regional capacity, not a policy. Availability is read per compartment, limit name and scope, and a limit increase is a console or support request rather than a Terraform apply. Terraform can observe the headroom; it cannot manufacture the capacity.

Capacity and cost have different owners. The platform team owns quotas and limit requests, while finance owns budgets and thresholds. They meet only when a shape change or a new region crosses both a capacity and a cost boundary.

An alert without a named owner is a newsletter. Budget alert recipients are addresses, so use a group alias with a rota rather than one person's inbox. Put the service and the owner in the budget name, because that name is what the alert repeats.

Tag-based budgets inherit tag hygiene. An untagged resource is invisible to a tag budget, and costs follow the tag from the date it was associated. Defaults close the gap for new resources, required tags close it at create time, and history still needs a backfill.

Set thresholds as fractions, then test the arithmetic. Fifty, eighty and one hundred percent actual, plus a forecast at one hundred, give an owner time to act. A single alert at one hundred percent is a post-mortem, not a control.

Review the three controls together. A create can pass its quota and still hit the regional limit; a budget alert can arrive a day after the spend. The review question is which control would have stopped the change, and which one only describes it afterwards.

Figure 4 places the blocking gates and the observing gate on separate paths.

A create request crossing IAM, quota and service limit, with a budget watching on a separate path A create request passes an IAM check, a quota gate and a regional service limit before a resource exists. Each gate has a failure branch. Below, a dashed money path carries usage to a budget evaluated every 24 hours and then to an email, with no path back to the create. A crimson footer states that a budget alert cannot stop a create while a quota can. The create path blocks. The money path observes. Quota and service limit are capacity controls. Budget is a reporting control. CREATE request IAM action allowed QUOTA blocks at create SERVICE LIMIT regional ceiling RESOURCE created Denied or 404 no create attempt Quota exceeded create blocked Capacity exhausted retry or request more USAGE accrues after create BUDGET EVALUATION every 24 hours, actual plus forecast EMAIL to a group alias usage enters here A budget alert cannot stop a create. A quota can. If the change must be prevented, put the control on the create path. A quota above the service limit is a number, not a guarantee.

Figure 4 puts the budget on a dashed path for a reason. Usage flows into the budget after the resource exists, and the only edge leaving the budget is a message. Quota and service limit sit on the create path, where a rejection prevents the spend instead of describing it.

The two capacity gates fail differently. A quota failure points at the quota policy and is fixable by the platform team; a service limit failure points at the regional ceiling and may require a support request. The error text should tell the responder which one they hit, or the first hour is spent guessing.

A budget belongs to a period, and the period belongs to finance. A monthly reset makes month-end spikes invisible until the next cycle, while a single-use processing period can cover a migration. Pick the processing period with the accounting calendar, not with the Terraform default.

A tag budget is only as good as its tag value. The budget names one triple, so a resource tagged with the wrong cost centre is funded by the wrong budget. The validator, the default and the backfill are the three mechanisms that keep the triple honest.

Investigate One Missing Signal or Permission Denial

A missing page is an evidence problem before it is a code problem. Build a timeline from independent sources: alarm status, topic subscriptions, the audit event and the ticket. Editing the query first destroys the evidence that the query worked.

Walk the chain from the metric outward. Ask whether data arrived, whether the alarm changed state, whether the topic accepted the publish, and whether the subscription was active. Each link has a different owner and a different fix.

A denial in OCI often looks like absence. Many reads return a not-found response when the caller lacks the inspect permission, so "not found" can mean "not yours". Check the policy and the compartment before concluding that the resource was deleted.

The audit event names the change, not the intent. Principal, action, resource, response and source address are all in the event, and request parameters can include names and policy documents. Redact those before the timeline goes into a ticket.

Reconcile Terraform with the API, not with the last plan. State can be stale and a console edit can be invisible to the next plan. Compare the field that matters: the metric compartment, the destination, the subscription state or the tag map.

A permission fix is not complete until the proof is repeated. Re-run the temporary alarm after the grant, confirm the state and the message, then remove the test objects. A policy change that nobody re-tested is a hypothesis, not a fix.

Write the finding as a contract change. If the subscription was pending, add a post-apply check that fails when it is not active. If the tag default was missing, add a required default in the compartment rather than a reminder in a chat channel.

The card below turns that order into a trace you can run against an existing instance.

Lab

Investigate One Missing Signal or Permission Denial

An alarm fired at 02:14 and the on-call channel is empty. The query worked, the state changed, and no human saw it. Work the chain from the metric outward, capture a redacted timeline, and change one contract at the end. This trace is illustrative: the commands use placeholders and were not run against a live tenancy.

Setup. An existing compute instance with the monitoring plugin, one alarm whose metric compartment is known, one notification topic, and read access to audit events in the tenancy. No new infrastructure is required; the only object you create is a temporary alarm, and you destroy it at the end.

Capture the timeline. Use relative times so the trace can be shared without exposing the tenancy's schedule.

Relative timeEvidenceWhat it establishes
T+0The alarm state is FIRING for the instanceThe metric exists and the threshold was crossed
T+2The alarm's destinations list the expected topicThe alarm points at the intended topic
T+4The subscription state is PENDINGNo confirmed endpoint can receive the message
T+9An audit event shows a topic policy update before T+0A human or API caller changed the topic policy
T+20The subscription is ACTIVE and a test message arrivesThe chain works end to end

Work the chain.

  1. Read the alarm definition. Run oci monitoring alarm get --alarm-id <alarm-ocid> and note the metric compartment, query, destinations and repeat duration. Do not edit anything yet.
  2. Read the alarm state. Run oci monitoring alarm-status get --alarm-id <alarm-ocid> and compare the FIRING timestamp with the metric's first evaluation. A state change proves the query produced a boolean.
  3. List the subscriptions. Run oci ons subscription list --topic-id <topic-ocid> --compartment-id <topic-compartment-ocid> and look for PENDING. A pending row is the finding, not a symptom.
  4. Read the audit event. Run oci audit event list --compartment-id <tenancy-ocid> --start-time <start> --end-time <end> and filter for the topic or alarm OCID. Copy only the principal, action, resource and response into the timeline.
  5. Confirm and re-check. Resend the confirmation from the console, complete it at the endpoint, then repeat the state and subscription reads. Do not disable the alarm to "reset" it, because that hides the evidence.
  6. Change the contract. Add a post-apply check that fails when the subscription is not active, or a handoff step that requires the state to be active before the alarm is considered delivered.

Expected result. The permanent fix should be visible in configuration, not only in the restored page.

FindingPermanent changeProof to keep
PENDING subscriptionpost-apply check plus a named ownerstate ACTIVE before handoff
No repeat durationan hourly or four-hourly repeata second notification while still firing
Missing tag defaulta required default in the compartmentcreate a resource, read the tag back
Tag removed by applyignore_defined_tags for the service tagsplan shows no tag removal

Clean up. Destroy the temporary alarm and any test subscription you created, remove any test tag you added to the instance, and leave the shared topic and the tag namespace in place. The proof is the repeatable read-back, not the leftover object.

The card ends where the article began: a signal is only useful when its chain is owned. A confirmed subscription, a repeat interval, a tag default and a quota each close a different gap. None of them is visible in a resource count, and all of them are visible in a read-back.

Next in the Series

In Operate OCI: Resource Manager, Discovery, Imports and State Recovery, we'll explore Use OCI tooling without confusing exported configuration, hosted jobs and Terraform state ownership.