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

feat: add sampling rate to downsampled items #480

Merged
merged 3 commits into from
Dec 3, 2023
Merged

Conversation

dmachard
Copy link
Owner

@dmachard dmachard commented Nov 22, 2023

This PR introduces a sampling rate in DNSMessage model for downsampled records, addressing the requirement outlined in feature request #407.

The corresponding downsample rate is now incorporated into the JSON DNS message model under the "filtering" section:

"filtering": {
		"sample-rate": "20"
}

Additionally, a new directive, filtering-samplerate, has been introduced for the text format.

@dmachard dmachard changed the title add sampling rate to downsampled items feat: add sampling rate to downsampled items Nov 24, 2023
@dmachard dmachard merged commit 1bae80b into main Dec 3, 2023
54 checks passed
@dmachard dmachard deleted the sampling_rate branch December 6, 2023 07:58
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