Skip to content

Log also gitaly and redis stats

Jan Provaznik requested to merge jp-pbar-stats into master

What does this MR do and why?

If performance bar is enabled, we log also information about gitaly and redis requests similar to sql queries.

Related to #271551 (closed)

How to set up and validate locally

  1. Enable performance stats logging
    Feature.enable(:performance_bar_stats)
  2. Visit any group or project repository page
  3. New records should be logged in log/performance_bar_json.log in two minutes

(existing stats for .com are linked from performance bar - Stats link)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Jan Provaznik

Merge request reports