Metrics 插件

示例: metrics

Metrics 插件使用流行的go-metrics 来计算服务的指标。

它包含多个统计指标:

  1. serviceCounter
  2. clientMeter
  3. "service_"+servicePath+"."+serviceMethod+"_Read_Qps"
  4. "service_"+servicePath+"."+serviceMethod+"_Write_Qps"
  5. "service_"+servicePath+"."+serviceMethod+"_CallTime"

你可以将metrics输出到graphite中,通过grafana来监控。

By smallnest            updated 2019-05-14 09:51:35

results matching ""

    No results matching ""