#8809 RFE: A tool to collect and analyze etimes from IPA logs
Closed: fixed 3 years ago by frenaud. Opened 3 years ago by rcritten.

Request for enhancement

As a developer I want to determine how much time commands take for execution.

commit 4d716d3 added execute time (etime) when server debugging is enabled. This is the time that ipalib starts processing the request until it completes.

The purpose is to find bottlenecks within the API.

A parser is needed to collect these executions from the Apache error log in order to test API performance. The execution times will be averaged.

Suggested options:

  1. Restrict to a single command, in API-style, e.g user_add
  2. Restrict by time so that the log doesn't need to be cleared between executions

If more than n number of requests then the fastest and slowest results should be dropped before averaging. 5 is probably a good starting point.


master:

  • 5be6bfe Parse Apache log etime and display average per command

ipa-4-9:

  • bae02a7 Parse Apache log etime and display average per command

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata