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 2021-06-16 20:22:11

results matching ""

    No results matching ""