Actions
Feature #31184
closedOptimize Puppet report format payload
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
Foreman script foreman.rb generates Puppet report on Puppet Server, so we have control on how the report looks like: https://theforeman.org/manuals/2.1/index.html#3.5.4PuppetReports
Sending all log lines in array of hashes is extremely inefficient (both memory and CPU), in the end this will be converted to simple JSON table (time, level, message). Array of three-element arrays would be much more efficient, if not simple plaintext depending on the results of actual performance testing.
This is just a tracker, chances are that the new database model will be so efficient that JSON parsing will no longer be an issue.
Actions