DNS Check Receiver
OpenTelemetry Collector receiver · contrib distribution
The DNS Check Receiver can be used for synthetic checks against DNS servers.
- Component ID:
contrib-dnscheckreceiver - Name:
dnscheckreceiver - Type: receiver
- Distribution: contrib
- Repository:
opentelemetry-collector-contrib
Stability
| Level | Signals |
|---|---|
| development | metrics |
Attributes
| Attribute | Type | Description |
|---|---|---|
dns.domain | string | Domain name queried. |
dns.rcode | int | DNS response code (RCODE) returned for the query. Only present when a response was received from the server, including non-success responses such as NXDOMAIN, SERVFAIL, or REFUSED. Absent when no response was received at all (e.g. timeout or network unreachable). See the RCODE Reference table in the README for the meaning of each value, based on the IANA DNS Parameters registry (https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-6). |
dns.record.type | string | Record type queried. |
dns.resolved.all.ips | string | All resolved IP addresses. |
dns.resolved.ip | string | First/primary resolved IP address. |
dns.server | string | Address of the DNS server queried. |
error.message | string | Error message recorded when the DNS check fails. |