-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add metrics to the Go dispatcher (#3258)
Also fixes a panic bug in go/lib/scmp. Adds the following metrics: ``` # HELP disp_app_conn_reg_errors_total Application socket registration errors # TYPE disp_app_conn_reg_errors_total counter disp_app_conn_reg_errors_total 0 # HELP disp_app_not_found_errors_total Number of packets for which the destination application was not found. # TYPE disp_app_not_found_errors_total counter disp_app_not_found_errors_total 43 # HELP disp_app_read_bytes_total Total bytes read from applications. # TYPE disp_app_read_bytes_total counter disp_app_read_bytes_total 1.0394091e+07 # HELP disp_app_read_errors_total Total errors when reading packets from applications # TYPE disp_app_read_errors_total counter disp_app_read_errors_total 0 # HELP disp_app_read_pkts_total Total packets read from applications # TYPE disp_app_read_pkts_total counter disp_app_read_pkts_total 36161 # HELP disp_app_sockets_open Number of sockets currently opened by applications. # TYPE disp_app_sockets_open gauge disp_app_sockets_open{type="BS A (0x0000)"} 16 disp_app_sockets_open{type="CS A (0x0002)"} 16 disp_app_sockets_open{type="PS A (0x0001)"} 16 disp_app_sockets_open{type="UNKNOWN M (0xffff)"} 216 # HELP disp_app_write_bytes_total Total bytes sent to applications. # TYPE disp_app_write_bytes_total counter disp_app_write_bytes_total 1.0390873e+07 # HELP disp_app_write_errors_total Send packet to applications errors. # TYPE disp_app_write_errors_total counter disp_app_write_errors_total 0 # HELP disp_app_write_pkts_total Total packets sent to applications. # TYPE disp_app_write_pkts_total counter disp_app_write_pkts_total 36118 # HELP disp_app_write_svc_pkts_total Total SVC packets delivered to applications # TYPE disp_app_write_svc_pkts_total counter disp_app_write_svc_pkts_total{type="BS A (0x0000)"} 458 disp_app_write_svc_pkts_total{type="BS M (0x8000)"} 1276 disp_app_write_svc_pkts_total{type="CS A (0x0002)"} 37 disp_app_write_svc_pkts_total{type="PS A (0x0001)"} 737 # HELP disp_net_read_bytes_total Total bytes received from the network irrespective of packet outcome. # TYPE disp_net_read_bytes_total counter disp_net_read_bytes_total 1.0394091e+07 # HELP disp_net_read_overflow_pkts_total Total ingress packets that were dropped on the OS socket # TYPE disp_net_read_overflow_pkts_total counter disp_net_read_overflow_pkts_total 0 # HELP disp_net_read_parse_errors_total Total network packet parse error # TYPE disp_net_read_parse_errors_total counter disp_net_read_parse_errors_total 0 # HELP disp_net_read_pkts_total Total packets received from the network. # TYPE disp_net_read_pkts_total counter disp_net_read_pkts_total{incoming_packet_result="ok"} 36161 # HELP disp_net_write_bytes_total Total bytes sent on the network. # TYPE disp_net_write_bytes_total counter disp_net_write_bytes_total 1.0394091e+07 # HELP disp_net_write_errors_total Network packet send errors # TYPE disp_net_write_errors_total counter disp_net_write_errors_total 0 # HELP disp_net_write_pkts_total Total packets sent on the network. # TYPE disp_net_write_pkts_total counter disp_net_write_pkts_total 36161 ``` Fixes #3101.
- Loading branch information
Showing
8 changed files
with
265 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.