apache / trafficserver

Apache Traffic Serverâ„¢ is a fast, scalable and extensible HTTP/1.1 and HTTP/2 compliant caching proxy server.
https://trafficserver.apache.org/
Apache License 2.0
1.81k stars 804 forks source link

calls_to_readfromnet and calls_to_readfromnet_afterpoll metrics are not incremented #7214

Open masaori335 opened 4 years ago

masaori335 commented 4 years ago

ATS has several metircs of proxy.process.net.calls_to_.* and 2 of them are not working.

$ traffic_ctl metric match proxy.process.net.calls_to
proxy.process.net.calls_to_read 616958
proxy.process.net.calls_to_read_nodata 193461
proxy.process.net.calls_to_readfromnet 0            ///< !
proxy.process.net.calls_to_readfromnet_afterpoll 0  ///< !
proxy.process.net.calls_to_write 374065
proxy.process.net.calls_to_write_nodata 651
proxy.process.net.calls_to_writetonet 618607
proxy.process.net.calls_to_writetonet_afterpoll 618607
github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.

bneradt commented 2 years ago

Lets get rid of the afterpoll versions. They are adding nothing over the (write|read)fromnet versions. And lets add the stat to increment the readfromnet function.

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.