morhidi commented on PR #268:
URL:
https://github.com/apache/flink-kubernetes-operator/pull/268#issuecomment-1168651437
@gyfora has a good point here. We could probably use this approach:
```
/**
* Creates a new key-value MetricGroup pair. The key group is added to
this groups sub-groups,
* while the value group is added to the key group's sub-groups. This
method returns the value
* group.
*
* <p>The only difference between calling this method and {@code
* group.addGroup(key).addGroup(value)} is that {@link
#getAllVariables()} of the value group
* return an additional {@code "<key>"="value"} pair.
*
* @param key name of the first group
* @param value name of the second group
* @return the second created group
*/
MetricGroup addGroup(String key, String value);
```
--
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]