Overview of MOSN metrics
To go to the details page of an application, log on to the Real-time Monitoring Service (RMS) console. In the left-side navigation pane, click Application Monitoring. Click the My Applications or All Applications tab. Then, click the name of the required application. This topic describes the MOSN metrics that you can view in a visualized way on the details page of an application.
For more information about custom configurations of metrics, see Application overview.
The following table describes the MOSN metrics supported by RMS.
Metric | Description | Configuration requirement |
mosnservice | Calls to MOSN application services | The metric data is collected from the log file configured in the framework. The log file is Stress testing log path: Plug-in type: SPM Note SPM refers to Service Performance Metric. The SPM plug-in is used to monitor common service metrics. A log records the following information: • Time when the log is generated • Name of the source application that calls the current application • Name of the current application • Service name • Method name • Number of times the current application is called within the current period of time • Total time consumed by requests within the current period of time • Result (Y/N) • Whether full-link stress testing is performed (T/F) • Zone where calls are sent |
mosnsal | Calls to external application services by MOSN | The metric data is collected from the log file configured in the framework. The log file is Stress testing log path: Plug-in type: SPM Note SPM refers to Service Performance Metric. The SPM plug-in is used to monitor common service metrics. A log records the following information: • Time when the log is generated • Name of the current application • Name of the destination application called by the current application • Service name • Method name • Number of calls within the current period of time • Total time consumed by calls within the current period of time • Result (Y/N) • Whether full-link stress testing is performed (T/F) • Zone where calls are received |
mosnmsgsub | Subscription to MOSN messages | The metric data is collected from the log file configured in the framework. The log file is |
mosnmsgpub | Publishing of MOSN messages | The metric data is collected from the log file configured in the framework. The log file is Plug-in type: SPM Note SPM refers to Service Performance Metric. The SPM plug-in is used to monitor common service metrics. A log records the following information: • Time when the log is generated • Name of the current application • Topic name • Event code • ID of the publishing group • Number of messages published within the current period of time • Total time consumed for publishing messages within the current period of time • Result (Y/N) • Whether full-link stress testing is performed (T/F) |
mosnerror | Number of MOSN errors | The metric data is collected from the log files configured in the framework or custom log files. The log files configured in the framework are Plug-in type: ERROR Note The ERROR plug-in is used to monitor the error metric. |
mosnErrorCode | Number of MOSN error codes | The metric data is collected from the log file configured in the framework or custom log files. The log file configured in the framework is Plug-in type: MM Note MM refers to multiMinute. The MM plug-in is used to monitor the Minute-level Statistics/Multi-Key type. |