Httpmetrics 是一个 Node.js 模块,能够报告指标,能够对 APP 传出的 HTTP 连接作出请求和响应。
示例:
* Metrics added
* IncomingMessage: {
ymetrics: {
headerSize:
firstChunkSize:
bodySize:
statusCODE:
totalTransferTime:
host:
}
}
* OutGoingMessage: {
ymetrics: {
headerSize:
firstChunkSize:
bodySize:
conNECtTime:
totalTransferTime:
firstChunkTransferTime:
host:
}
}