Monitoring Metrics
Metrics are important monitoring data for service running. Go-chassis collects metrics in Promethues exporter mode and exports them. In addition to system metrics, such as QPS, latency, requests, CPU, and memory, the system also supports collection of user-defined service metrics, such as the number of login users, online users, and transactions.
- Enable the metric function. For details, see Metrics.
- When deploying a Go-chassis application component in a container on ServiceStage, configure parameters in O&M Policy. Report Path is the path configured in step 1. If the path is not configured, the default path is /metrics. Report Port is the listening port of the application, as shown in the following figure.

- After the configuration and deployment are complete, you can view detailed metrics on AOM. On the AOM page, choose View Management > Metric Monitoring.
- In the Select Metrics area, select and view the desired metrics.
In addition to viewing service metrics, you can view instance metrics.
Last Article: Go Chassis
Next Article: Collecting and Viewing Logs
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.