morhidi commented on code in PR #339:
URL:
https://github.com/apache/flink-kubernetes-operator/pull/339#discussion_r938529044
##########
flink-kubernetes-operator/src/test/java/org/apache/flink/kubernetes/operator/metrics/OperatorJosdkMetricsTest.java:
##########
@@ -45,15 +48,18 @@
/** {@link OperatorJosdkMetrics} tests. */
public class OperatorJosdkMetricsTest {
- private final ResourceID resourceId = new ResourceID("testname", "testns");
- private final String controllerName =
FlinkDeploymentController.class.getSimpleName();
- private final String resourcePrefix =
-
"testhost.k8soperator.flink-operator-test.testopname.resource.testns.testname.JOSDK.";
- private final String systemPrefix =
+ private static final ResourceID resourceId = new ResourceID("testname",
"testns");
+ private static final String controllerName =
FlinkDeploymentController.class.getSimpleName();
+ private static final String resourcePrefix =
Review Comment:
We can consider using the testing metric listener here too to avoid baking
in the scope names.
--
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]