Commit graph

3 commits

Author SHA1 Message Date
Stan Hu
16e04e006c Log queue duration for Grape API calls
This mimics the same thing the RailsQueueDuration does for Rails controller
requests and will help diagnose issues with API delays.

Closes #46601
2018-05-28 13:56:42 -07:00
Stan Hu
eaf9088ba8 Save user ID and username in Grape API log (api_json.log)
This will enable admins to identify who actually made the API request.

Relates to #36960
2018-01-08 21:23:24 -08:00
Stan Hu
35dec2c3e8 Use a custom GrapeLogging formatter to get the timestamp 2017-09-07 07:48:13 -07:00