private static NumberDataPoint convertIntDataPoint(final IntDataPoint intDataPoint) {
        final NumberDataPoint.Builder builder = NumberDataPoint.newBuilder();
        intDataPoint.getLabelsList()
                    .stream()
                    .map(OtelMetricsConvertor::convertStringKV)
                    .forEach(builder::addAttributes);
        builder.setTimeUnixNano(intDataPoint.getTimeUnixNano());
        builder.setStartTimeUnixNano(intDataPoint.getStartTimeUnixNano());
        builder.setAsInt(intDataPoint.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