-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for query/reply messages to Downsampling (#1797)
* Add messages and flows to downsampling config * Add Downsampling message types logic * Move Downsampling messages config out of rules In the current implementation, rules within the same Downsampling config share the same state if configured on the same keyexpr. Having message types within the rules can lead users to configure different messages types within different rules with same keyexpr, which would produce the same result as having all message types within the same rule, i.e downsampling on the whole set of messages instead of doing so seperately for each type. * Update DEFAULT_CONFIG * Add missing check for empty flows list * Fix tests with json5 config * Fix eagerly evaluated downsampling interceptor * Add downsampling query/reply tests * Fix clippy warning * DownsamplingFilters use default debug format --------- Co-authored-by: OlivierHecart <[email protected]>
- Loading branch information
1 parent
112d9cd
commit 41ac4a7
Showing
6 changed files
with
273 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.