Commit Graph

13 Commits

Author SHA1 Message Date
oliverpool db7130f18a use pointer only when needed 2017-02-27 22:12:45 +01:00
oliverpool 1ce196ed35 handle read timeout simplification in metrics 2017-02-22 12:22:19 +01:00
oliverpool c378bc9798 consistent naming 2017-02-22 11:51:56 +01:00
oliverpool e2b0050b8d Use a simplfied error structure for error counting 2017-02-22 11:44:05 +01:00
oliverpool 3da4095c08 split ptr retrieval and incrementation 2017-02-20 16:38:27 +01:00
oliverpool ebd6873cbb Useless initialization 2017-02-05 22:01:34 +01:00
oliverpool 691224cdbf increment the pointer 2017-02-02 08:25:55 +01:00
oliverpool 3d9395e1df Simplify lock logic 2017-02-02 08:25:42 +01:00
oliverpool d7a4619080 Prevent race condition on errorstotal increment
The HTTPError interface is used to have detailed metrics (by code as
well)
2017-02-01 08:37:46 +01:00
Marius f50f03fe6f Allow data store to set the status code for errors
Closes https://github.com/tus/tusd/issues/77
2017-01-26 23:15:05 +01:00
Marius 513fe9fcf3 Correct linting issue and misspellings 2016-09-27 22:10:16 +02:00
Marius ad25e605d4 Allow OPTIONS and other methods in metrics 2016-05-24 17:27:07 +02:00
Marius c80c8b1962 Allow exposing metrics for Prometheus and Co. 2016-05-24 17:04:28 +02:00