-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
conntrack: Configurable timeouts (#357)
* Add TBD comments * WIP * Add validation checks * Remove old timeout and interval from config * Remove TBD comments * Update comments * groupId->groupIdx * Add comment * Update comment * Rename ConnTrackSchedulingSelector -> ConnTrackSchedulingGroup * Fix tests * Fix bug in tests * Add test for scheduling groups * Update README.md * Make linter happy * Split metric conntrack_memory_connections into scheduling groups * Change maps to slices for efficiency * Join multiple slices into a single slice * Fix metric conntrack_memory_connections to show the correct length of each group * Remove entries from hashId2groupIdx map on connection removal * Update configurations * Convert selector values to string Some of the grpc ingester fields are of type uint32. The yaml/json parser parses numeric values as int32. So, comparing uint32 to int32 where both static types are interface{} will always evaluate to false regardless of the actual values. Hence, we convert and compare strings. * Add test case for 2 default selectors * Add special cases conversion and benchmark * Make linter gofmt happy * Fix default and string cases and add test cases * Cleanup * Fix rebase
- Loading branch information
Showing
19 changed files
with
936 additions
and
137 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
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
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.