feat: add timing for the api request parse
This commit is contained in:
committed by
Steve Chavez
parent
850b15fe13
commit
b538ab9823
@@ -12,6 +12,7 @@ import Protolude
|
||||
|
||||
data ServerMetric =
|
||||
SMJwt
|
||||
| SMParse
|
||||
| SMRender
|
||||
| SMPlan
|
||||
| SMTransaction
|
||||
@@ -32,3 +33,4 @@ renderTiming (metric, time) = maybe "" (\x -> BS.concat [renderMetric metric, BS
|
||||
renderMetric SMTransaction = "transaction"
|
||||
renderMetric SMRender = "render"
|
||||
renderMetric SMJwt = "jwt"
|
||||
renderMetric SMParse = "parse"
|
||||
|
||||
Reference in New Issue
Block a user