Metrics 插件
示例: metrics
Metrics 插件使用流行的go-metrics 来计算服务的指标。
它包含多个统计指标:
- serviceCounter
- clientMeter
- "service_"+servicePath+"."+serviceMethod+"_Read_Qps"
- "service_"+servicePath+"."+serviceMethod+"_Write_Qps"
- "service_"+servicePath+"."+serviceMethod+"_CallTime"
你可以将metrics输出到graphite中,通过grafana来监控。