Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BREAKING CHANGE: slog: {r => dnsR}aw{Query,Response} #13

Merged
merged 1 commit into from
Nov 29, 2024
Merged

Conversation

bassosimone
Copy link
Member

Explicitly scope the rawQuery and rawResponse, which are not general fields but specific of the DNS. This should make it more intuitive to auto-generate a tabular format.

While there, upgrade to rbmk-project/common v0.4.0.

Explicitly scope the rawQuery and rawResponse, which are not
general fields but specific of the DNS. This should make it
more intuitive to auto-generate a tabular format.
@bassosimone bassosimone merged commit 31c568d into main Nov 29, 2024
1 check passed
@bassosimone bassosimone deleted the changes branch November 29, 2024 08:40
bassosimone added a commit to rbmk-project/rbmk-project.github.io that referenced this pull request Nov 29, 2024
bassosimone added a commit to rbmk-project/rbmk-project.github.io that referenced this pull request Nov 29, 2024
bassosimone added a commit to rbmk-project/x that referenced this pull request Nov 29, 2024
1. `domain` => `dnsLookupDomain`

2. `addrs` => `dnsResolvedAddrs`

3. `count` => `ioBufferSize` or `ioBufferCount`

This set of changes is part of an overall effort to ensure it's
relatively trivial to serialize to a flat data format.

To this end, figure out which fields are really common and which
fields, instead, are specific, and add prefixes to the specific ones
to make it very clear what they are about.

Also, avoid overload, and split into two fields when we're using
the same field with two distinct semantics dependent on the
message type. This should also increase the data format orthogonality.

See also rbmk-project/dnscore#13
bassosimone added a commit to rbmk-project/x that referenced this pull request Nov 29, 2024
1. `domain` => `dnsLookupDomain`

2. `addrs` => `dnsResolvedAddrs`

3. `count` => `ioBufferSize` or `ioBufferCount`

This set of changes is part of an overall effort to ensure it's
relatively trivial to serialize to a flat data format.

To this end, figure out which fields are really common and which fields,
instead, are specific, and add prefixes to the specific ones to make it
very clear what they are about.

Also, avoid overload, and split into two fields when we're using the
same field with two distinct semantics dependent on the message type.
This should also increase the data format orthogonality.

See also rbmk-project/dnscore#13

While there, bump the `rbmk-project/{common,dnscore}` dependencies.
bassosimone added a commit to rbmk-project/rbmk that referenced this pull request Nov 29, 2024
bassosimone added a commit to rbmk-project/rbmk that referenced this pull request Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant