DNS Metrics

Learn about the metrics emitted by the metric namespace oci_dns (the DNS service).

You can monitor the health, capacity, and performance of DNS services by using metrics, alarms, and Notifications.

This topic describes the metrics emitted by the metric namespace oci_dns (the DNS service).

Overview of DNS Service Metrics

The DNS service metrics help you measure the number of queries and zone transfers for DNS zones  and DNS zones with Traffic Management policies attached.

Prerequisites

  • IAM policies: To monitor resources, you must be granted the required type of access in a policy  written by an administrator, whether you're using the Console or the REST API with an SDK, CLI, or other tool. The policy must give you access to the monitoring services as well as the resources being monitored. If you try to perform an action and get a message that you don't have permission or are unauthorized, contact the administrator to find out what type of access you were granted and which compartment  you need to work in. For more information about user authorizations for monitoring, see IAM Policies.

Available Metrics: oci_dns

The metrics listed in the following table are automatically available. You don't need to enable monitoring on the resource to get these metrics.

Each metric includes one or more of the following dimensions:

resourceID
The OCID  of the zone to which the metric applies.
resourceName
The name of the zone to which the metric applies.
Metric Metric Display Name Unit Description Dimensions
DNSQueryCount DNSQueryCount count The number of queries for a DNS zone. resourceID
TrafficManagementQueryCount TrafficManagementQueryCount count The number of queries for a zone with Traffic Management policies attached. resourceID
ZoneTransferFailureCount Zone Transfer Failure Count count The number of zone transfers that failed in a specified interval. resourceID, resourceName
ZoneTransferSuccessCount Zone Transfer Success Count count The number of successful zone transfers in a specified interval. resourceID, resourceName
ZoneExpirationInHours Zone Expiration Time in Hours hours

The number of hours until an OCI DNS secondary zone expires.

Note: This metric is only emitted at 72 hours, 24 hours, 6 hours, 3 hours, 2 hours and 1 hour until zone expiration.

resourceID, resourceName

Metrics Tasks