Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CELEBORN-1182][FOLLOWUP] Fix WorkerSource record application active …
…connection for application dimension ActiveConnectionCount metric ### What changes were proposed in this pull request? Fix `WorkerSource` record application active connection for application dimension `ActiveConnectionCount` metric. Follow up apache#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 apache#2542 from SteNicholas/CELEBORN-1182. Authored-by: SteNicholas <[email protected]> Signed-off-by: mingji <[email protected]>
- Loading branch information