Project

General

Profile

Actions

Feature #31184

closed

Optimize Puppet report format payload

Added by Lukas Zapletal over 3 years ago. Updated almost 3 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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.


Related issues 1 (1 open0 closed)

Related to Foreman - Tracker #31142: New report model and import/view mechanismNewLukas Zapletal

Actions
Actions #1

Updated by Lukas Zapletal over 3 years ago

  • Related to Tracker #31142: New report model and import/view mechanism added
Actions #2

Updated by Lukas Zapletal over 3 years ago

  • Subject changed from Optimize Puppet report format to Optimize Puppet report format payload
Actions #3

Updated by Lukas Zapletal almost 3 years ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF