1. 28 Aug, 2019 2 commits
    • Sean McGivern's avatar
      Add top-level warnings key to performance bar response · 9bfb012a
      Sean McGivern authored
      This key is useful to reduce the amount of logic needed on the frontend:
      if `has_warnings` is true, then the frontend knows that the request in
      question has warnings for some metric.
      9bfb012a
    • 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. 27 Aug, 2019 38 commits