Learn about the metrics emitted by the metric namespace
oci_dns (the DNS service).
This topic describes the metrics emitted by the metric namespace
(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.
- 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 determine the 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 (Monitoring).
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:
- The OCID of the zone to which the metric applies.
- The name of the zone to which the metric applies.
|Metric||Metric Display Name||Unit||Description||Dimensions|
||DNSQueryCount||count||The number of queries for a DNS zone.||
||TrafficManagementQueryCount||count||The number of queries for a zone with Traffic Management policies attached.||
||Zone Transfer Failure Count||count||The number of zone transfers that failed in a specified interval.||
||Zone Transfer Success Count||count||The number of successful zone transfers in a specified interval.||
||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.