Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-3423

cf-profile functionality inside the agent - time all bundles in agent run

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cf-agent
    • Labels:
      None

      Description

      cf-profile is a script that allows you to profile / find slow bundles in your policy:

      https://github.com/cfengine/core/tree/master/contrib/cf-profile

      However, there are some issues that make it less usable / accessible:

      1. Requires perl
      2. Requires interactive agent run (live piped output)
      3. Not shipped as part of packages
      4. Misses promise level timing

      cf-agent should be able to time all its bundles, and promises and even provide this as part of the reporting data.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                olehermanse Ole Herman Schumacher Elgesem
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Summary Panel