### What changes were proposed in this pull request? Fix `WorkerSource` record application active connection for application dimension `ActiveConnectionCount` metric. Follow up #2167. ### Why are the changes needed? Application dimension `ActiveConnectionCount` metric does not have value because the check of recording application active connection is wrong for `WorkerSource`. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? GA. ``` celebornceleborn-worker-1:/data/service/celeborn$ curl http://celeborn-worker-1:9096/metrics|grep application|grep ActiveConnectionCount % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 53673 0 53673 0 0 2710k 0 --:--:-- --:--:-- --:--:-- 2758k metrics_ActiveConnectionCount_Value{applicationId="application_1692685933461_14488489",hostName="celeborn-worker-1",role="Worker"} 68 1717418613619 metrics_ActiveConnectionCount_Value{applicationId="application_1692685933461_14488489",hostName="celeborn-worker-1",role="Worker"} 68 1717418613619 ``` Closes #2542 from SteNicholas/CELEBORN-1182. Authored-by: SteNicholas <programgeek@163.com> Signed-off-by: mingji <fengmingxiao.fmx@alibaba-inc.com> |
||
|---|---|---|
| .. | ||
| src | ||
| pom.xml | ||