Overview of MOSN metrics

Updated at:

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.

Note

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 /home/admin/logs/tracelog/mosn/rpc-server-stat.log.

Stress testing log path: /home/admin/logs/tracelog/shadow/mosn/rpc-server-stat.log.

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 /home/admin/logs/tracelog/mosn/rpc-client-stat.log.

Stress testing log path: /home/admin/logs/tracelog/shadow/mosn/rpc-client-stat.log.

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 /home/admin/logs/tracelog/mosn/msg-sub-stat.log.

mosnmsgpub

Publishing of MOSN messages

The metric data is collected from the log file configured in the framework. The log file is /home/admin/logs/tracelog/mosn/msg-pub-stat.log.

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 /home/admin/logs/mosn/default.log, /home/admin/logs/mosn/antvip.error.log, /home/admin/logs/mosn/drm.error.log, /home/admin/logs/mosn/endpoint.error.log, /home/admin/logs/mosn/registry.error.log, /home/admin/logs/mosn/zoneclient.error.log, and /home/admin/logs/mosn/alert.mirror.log.

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 /home/admin/logs/mosn/alert.default.log.

Plug-in type: MM

Note

MM refers to multiMinute. The MM plug-in is used to monitor the Minute-level Statistics/Multi-Key type.