private static Histogram convertDoubleHistogram(final DoubleHistogram doubleHistogram) {
        final Histogram.Builder builder = Histogram.newBuilder();
        builder.setAggregationTemporality(convertAggregationTemporality(doubleHistogram.getAggregationTemporality()));
        builder.setAggregationTemporalityValue(doubleHistogram.getAggregationTemporalityValue());
        doubleHistogram.getDataPointsList()
                       .stream()
                       .map(OtelMetricsConvertor::convertDoubleHistogramDataPoint)
                       .forEach(builder::addDataPoints);
        return builder.build();

    }
Convert IntHistogramDataPoint in OTEL 0.7 to HistogramDataPoint
Notice this method ignore min, max, Exemplar fields in HistogramDataPoint
oap-server/server-receiver-plugin/aws-firehose-receiver/src/main/java/org/apache/skywalking/oap/server/receiver/aws/firehose/OtelMetricsConvertor.java