This project is mirrored from https://gitlab.com/gitlab-org/gitlab-ce.git. Updated .
  1. 28 Aug, 2019 1 commit
    • Sean McGivern's avatar
      Return warnings for performance bar from backend · 23c1cfcc
      Sean McGivern authored
      For each DetailedView subclass, we add a `warnings` array to:
      
      1. The top-level response.
      2. Each individual call under the `details` key.
      
      We use the `.thresholds` hash on the DetailedView to determine what's a
      warning. If that hash is empty (the default), then the warnings array
      will always be empty.
      23c1cfcc
  2. 26 Jul, 2019 1 commit
    • Sean McGivern's avatar
      Replace peek-pg with our own implementation · ad1c7166
      Sean McGivern authored
      This uses an ActiveRecord subscriber to get queries and calculate the
      total query time from that. This means that the total will always be
      consistent with the queries in the table. It does however mean that we
      could potentially miss some queries that don't go through ActiveRecord.
      
      Making this change also allows us to unify the response JSON a little
      bit, making the frontend slightly simpler as a result.
      ad1c7166
  3. 24 Jul, 2019 1 commit
    • Stan Hu's avatar
      Use a base class for Peek views · d7eadcc0
      Stan Hu authored
      Introduce a `DetailedView` base class, which is inherited by
      the Gitaly, Redis, and Rugged views. This reduces code duplication.
      d7eadcc0
  4. 20 Nov, 2018 1 commit
  5. 08 Oct, 2018 1 commit
    • gfyoung's avatar
      Enable even more frozen string in lib/**/*.rb · c8755543
      gfyoung authored
      Enables frozen string for the following files:
      
      * lib/generators/**/*.rb
      * lib/gitaly/**/*.rb
      * lib/google_api/**/*.rb
      * lib/haml_lint/**/*.rb
      * lib/json_web_token/**/*.rb
      * lib/mattermost/**/*.rb
      * lib/microsoft_teams/**/*.rb
      * lib/object_storage/**/*.rb
      * lib/omni_auth/**/*.rb
      * lib/peek/**/*.rb
      * lib/rouge/**/*.rb
      * lib/rspec_flaky/**/*.rb
      * lib/system_check/**/*.rb
      
      Partially addresses #47424.
      c8755543
  6. 13 Mar, 2018 2 commits
  7. 23 Oct, 2017 1 commit