goutamadwant commented on issue #857:
URL: https://github.com/apache/flink-agents/issues/857#issuecomment-4806832886

   @joeyutong I took a look at this and have a small patch ready.
   
   The approach is to propagate the bound metric group at the wrapper boundary 
in both directions:
   
   - Java `Python*` wrappers forward `setMetricGroup(...)` to the underlying 
Python resource through `PythonResourceAdapter`
   - Python `Java*` wrappers forward `set_metric_group(...)` to the underlying 
Java resource, unwrapping the Python `FlinkMetricGroup`
   
   This keeps the existing action-level binding behavior, but lets 
provider/resource implementations record their own metrics under the same 
action metric scope.
   
   If this direction looks reasonable, please review the PR and let me know if 
any suggestions. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to