-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Investigate cernan freeze-up issue Latest cernan has an issue with freezing up and allocating memory while it's frozen. I dunno where or why but it seems to freeze the whole topology when it happens. That is... weird. This behaviour can be reproduced with the following config: ``` data-directory = "data/" scripts-directory = "examples/scripts/" flush-interval = 5 [tags] source = "cernan" [sources] [sources.internal] # forwards = ["filters.delay.two_seconds"] forwards = ["sinks.console"] [sources.graphite.primary] port = 2004 forwards = ["filters.delay.two_seconds"] [filters] [filters.delay.two_seconds] tolerance = 2 forwards = ["sinks.console"] [sinks] [sinks.console] ``` and the emission script at https://gist.github.com/blt/045160a243741d2390a03762900d4329 Signed-off-by: Brian L. Troutwine <blt@postmates.com> * Use atomic usizes in place of report_telemetry The report_telemetry function created a new Telemetry for every point recorded. This was very expensive. We now require that modules which want to do static named telemetry expose atomic usizes which internal.rs will pull and emit. This significantly reduces cernan's CPU and memory load in high self-telemetry situations. Signed-off-by: Brian L. Troutwine <blt@postmates.com> * Add further self-telemetry This commit adds self-telemetry to the delay_filter and more to the graphite source. cernan.graphite.packet and cernan.graphite.telemetry.received should be roughly the same when the payloads have a single line in them but this is not the case. Worth investigation. Signed-off-by: Brian L. Troutwine <blt@postmates.com> * Adjust constraints on telem read/write Signed-off-by: Brian L. Troutwine <blt@postmates.com> * Simplify Buckets iteration, correct missing metrics This commit corrects the issue with cernan that started off the whole chain of investigation. I'm not 100% sure what the issue was, other than that the indexing present in the old implementation of iteration for buckets::Iter was too complicated and gave wrong results. While simplifying the implementation to understand it better I also fixed what ailed cernan. Welp. Signed-off-by: Brian L. Troutwine <blt@postmates.com> * peg hopper to 0.3.1 Signed-off-by: Tom Santero <tom.santero@postmates.com> * Repair basic.toml This configuration file had some pretty drastic changes checked in to it. The majority of these changes were not intended. Signed-off-by: Brian L. Troutwine <blt@postmates.com>
- Loading branch information
Showing
20 changed files
with
601 additions
and
250 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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.