Skip to content

Commit

Permalink
clean up and review
Browse files Browse the repository at this point in the history
  • Loading branch information
lmolkova committed Jul 6, 2024
1 parent 38f044a commit eb80b71
Show file tree
Hide file tree
Showing 5 changed files with 217 additions and 298 deletions.
2 changes: 1 addition & 1 deletion docs/attributes-registry/dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This document defines the shared attributes used to report a DNS query.

| Attribute | Type | Description | Examples | Stability |
| ------------------- | -------- | -------------------------------------------- | --------------------------------------------------------- | ---------------------------------------------------------------- |
| `dns.answer` | string[] | The list of resolved IPv4 or IPv6 addresses. | `["10.0.0.1", "2001:0db8:85a3:0000:0000:8a2e:0370:7334"]` | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `dns.answers` | string[] | The list of resolved IPv4 or IPv6 addresses. | `["10.0.0.1", "2001:0db8:85a3:0000:0000:8a2e:0370:7334"]` | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `dns.question.name` | string | The name being queried. [1] | `www.example.com`; `opentelemetry.io` | ![Experimental](https://img.shields.io/badge/-experimental-blue) |

**[1]:** If the name field contains non-printable characters (below 32 or above 126), those characters should be represented as escaped base 10 integers (\DDD). Back slashes and quotes should be escaped. Tabs, carriage returns, and line feeds should be converted to \t, \r, and \n respectively.
Loading

0 comments on commit eb80b71

Please sign in to comment.