private static HistogramDataPoint convertIntHistogramDataPoint(final IntHistogramDataPoint intHistogramDataPoint) {
        final HistogramDataPoint.Builder builder = HistogramDataPoint.newBuilder();
        intHistogramDataPoint.getLabelsList()
                             .stream()
                             .map(OtelMetricsConvertor::convertStringKV)
                             .forEach(builder::addAttributes);

        builder.setCount(intHistogramDataPoint.getCount());
        builder.setSum(intHistogramDataPoint.getSum());
        builder.setStartTimeUnixNano(intHistogramDataPoint.getStartTimeUnixNano());
        builder.setTimeUnixNano(intHistogramDataPoint.getTimeUnixNano());
        builder.addBucketCounts(intHistogramDataPoint.getBucketCountsCount());
        builder.setFlags(DataPointFlags.FLAG_NONE_VALUE);
        builder.addAllExplicitBounds(intHistogramDataPoint.getExplicitBoundsList());
        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