Details
-
Sub-task
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.2.0
Description
Currently, Flink's Gauge is defined as
```java
public interface Gauge<T> extends Metric {
T getValue();
}
```
But it doesn't make sense to have Gauge take generic types other than Number. And it blocks I from finishing FLINK-6013, because I cannot assume Gauge is only about Number. So the class should be like
```java
public interface Gauge<T extends Number> extends Metric {
T getValue();
}
```
Attachments
Issue Links
- is blocked by
-
FLINK-7608 LatencyGauge change to histogram metric
- Closed
- is related to
-
FLINK-5095 Add explicit notifyOfAddedX methods to MetricReporter interface
- Closed
- links to