morhidi commented on code in PR #311: URL: https://github.com/apache/flink-kubernetes-operator/pull/311#discussion_r918272226
########## flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/metrics/MetricManager.java: ########## @@ -18,31 +18,37 @@ package org.apache.flink.kubernetes.operator.metrics; import org.apache.flink.configuration.Configuration; +import org.apache.flink.kubernetes.operator.crd.AbstractFlinkResource; import org.apache.flink.kubernetes.operator.crd.FlinkDeployment; import org.apache.flink.kubernetes.operator.crd.FlinkSessionJob; +import org.apache.flink.kubernetes.operator.metrics.lifecycle.LifecycleMetrics; -import io.fabric8.kubernetes.client.CustomResource; - +import java.time.Clock; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; /** Metric manager for Operator managed custom resources. */ -public class MetricManager<CR extends CustomResource<?, ?>> { +public class MetricManager<CR extends AbstractFlinkResource<?, ?>> { Review Comment: Shall we call it `ResourceMetricManager`? -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org