private static NumberDataPoint convertDoubleDataPoint(final DoubleDataPoint doubleDataPoint) {
        final NumberDataPoint.Builder builder = NumberDataPoint.newBuilder();
        doubleDataPoint.getLabelsList()
                       .stream()
                       .map(OtelMetricsConvertor::convertStringKV)
                       .forEach(builder::addAttributes);
        builder.setTimeUnixNano(doubleDataPoint.getTimeUnixNano());
        builder.setStartTimeUnixNano(doubleDataPoint.getStartTimeUnixNano());
        builder.setAsDouble(doubleDataPoint.getValue());
        return builder.build();
    }
Convert DoubleDataPoint in OTEL 0.7 to NumberDataPoint
Notice this method ignore Exemplar field in HistogramDataPoint
oap-server/server-receiver-plugin/aws-firehose-receiver/src/main/java/org/apache/skywalking/oap/server/receiver/aws/firehose/OtelMetricsConvertor.java