We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4a047a commit f028e93Copy full SHA for f028e93
sdk/metrics/src/main/java/io/opentelemetry/sdk/metrics/data/MetricData.java
@@ -122,7 +122,7 @@ default GaugeData<LongPointData> getLongGaugeData() {
122
@SuppressWarnings("unchecked")
123
default SumData<DoublePointData> getDoubleSumData() {
124
if (getType() == MetricDataType.DOUBLE_SUM) {
125
- return (ImmutableSumData<DoublePointData>) getData();
+ return (SumData<DoublePointData>) getData();
126
}
127
return ImmutableSumData.empty();
128
0 commit comments