| Name and description | Type | Emit duration | Labels |
|---|---|---|---|
| `cloud_dns_requests_total` |   |   |   |
| The number of requests received by the Cloud DNS authoritative server. | Counter | 1 m | `server`, `zone`, `visibility`, `proto`, `family`, `type`, `zone_id` |
| `cloud_dns_request_duration_seconds_count` |   |   |   |
| The histogram bucket representing the count of responses duration received by the client from the authoritative server. | Histogram | 1 m | `server`, `zone`, `visibility`, `zone_id` |
| `cloud_dns_request_duration_seconds` |   |   |   |
| The histogram bucket representing the sum of response durations received by the client from the authoritative server. | Histogram | 1 m | `server`, `zone`, `visibility`, `zone_id` |
| `cloud_dns_request_duration_seconds_bucket` |   |   |   |
| The histogram bucket representing response durations received by the client from the authoritative server. | Histogram | 1 m | `server`, `zone`, `visibility`, `zone_id` |
| `cloud_dns_responses_total` |   |   |   |
| The number of responses received by the client from the authoritative server. | Counter | 1 m | `server`, `zone`, `visibility`, `rcode`, `zone_id` |

### Metric Labels Reference

The following table explains the labels available on the DNS metrics:

| Label | Explanation |
|---|---|
| `family` | The IP address family of the client making the request (e.g., `1` for IPv4). |
| `ha_cluster` | Internal identifier for the high-availability cluster/shard handling the request. |
| `le` | The bucket boundary for histogram metrics (less than or equal to). |
| `proto` | The transport protocol used for the DNS request (e.g., `udp`, `tcp`). |
| `rcode` | The DNS response code (e.g., `NOERROR`, `NXDOMAIN`, `SERVFAIL`). |
| `server` | The address of the DNS server handling the request (e.g., `dns://:53`). |
| `type` | The DNS query type (e.g., `A`, `MX`, `PTR`). |
| `visibility` | The visibility of the DNS zone (`PUBLIC` or `PRIVATE`). |
| `zone` | The name of the DNS zone (e.g., `google.com.`). |
| `zone_id` | The GDCag Zone in which the request was handled. |