google-nomulus/javatests/google/registry/request
guyben 57f06258d3 Add metrics measuring all request processing times
The cardinality of this new metric is:
buckets - 16
path + method - around 100 (the number of Actions we have)
authLevel - at most 3
success - 2

Total: 16*100*3*2 = 9,600

This is still low, especially for the value it could give in understanding our system (graphs of all endpoints, how often are they called, how long they take, how often do they fail)

Instead of "success true/false", we might want to give the actual status code. This can be a bit annoying because HttpServletResponse doesn't have a getStatus.

But it's possible, and worth considering.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=219312400
2018-10-31 19:11:39 -04:00
..
auth Clean up internal imports in BUILD files 2018-07-14 01:37:03 -04:00
lock Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
BUILD Add metrics measuring all request processing times 2018-10-31 19:11:39 -04:00
JsonResponseTest.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
RequestHandlerTest.java Add metrics measuring all request processing times 2018-10-31 19:11:39 -04:00
RequestModuleTest.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
RequestParametersTest.java Rename "absent" to "empty" in test names 2018-08-10 13:46:48 -04:00
ResponseImplTest.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
RouterTest.java Rename "absent" to "empty" in test names 2018-08-10 13:46:48 -04:00