nl_tokens: Defines a metric that measures reliability by success / error responses
pl_tokens: function ReliabilityMetric ( ) { if ( ! ( this instanceof ReliabilityMetric ) ) { return <mask> ReliabilityMetric ( ) } Metric . call ( this ) this . key = 'reliability' this . default = [ 0 , 0 ] // [success,error] this . hooks = [ { trigger : 'before' , event : 'receive' , handler : this . _recordResponseType } ] }