wu-sheng commented on code in PR #10449:
URL: https://github.com/apache/skywalking/pull/10449#discussion_r1118090452


##########
oap-server/server-receiver-plugin/otel-receiver-plugin/src/main/java/org/apache/skywalking/oap/server/receiver/otel/otlp/OpenTelemetryMetricRequestProcessor.java:
##########
@@ -187,7 +187,7 @@ private static Map<Double, Long> 
buildBucketsFromExponentialHistogram(
         final Map<Double, Long> result = new HashMap<>();
         double base = Math.pow(2.0, Math.pow(2.0, -scale));
         if (base == Double.POSITIVE_INFINITY) {
-            if (log.isDebugEnabled()) {
+            if (log.isWarnEnabled()) {
                 log.warn("Receive and reject out-of-range ExponentialHistogram 
data");
             }

Review Comment:
   JDK 11 is our minimum JDK requirement. You could set IDE(IntelliJ Language 
level) to JDK 11 for code APIs.
   But JDK16 is not an LTS version, JDK 11 and 17 are a better choice. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to