You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by GitBox <gi...@apache.org> on 2022/06/29 16:17:03 UTC

[GitHub] [incubator-shenyu] moremind opened a new pull request, #3636: [type:feature] add logging-aliyun-sls plugin

moremind opened a new pull request, #3636:
URL: https://github.com/apache/incubator-shenyu/pull/3636

   <!-- Describe your PR here; eg. Fixes #issueNo -->
    Fixes #3465
   
   todo list:
   * add plugin in admin.
   * add plugin  handler in admin.
   * add integrated test for aliyun-sls plugin
   
   <!--
   Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request.
   -->
   Make sure that:
   
   - [ ] You have read the [contribution guidelines](https://shenyu.apache.org/community/contributor-guide).
   - [ ] You submit test cases (unit or integration tests) that back your changes.
   - [ ] Your local test passed `./mvnw clean install -Dmaven.javadoc.skip=true`.
   


-- 
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: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-shenyu] moremind commented on a diff in pull request #3636: [type:feature] add logging-aliyun-sls plugin

Posted by GitBox <gi...@apache.org>.
moremind commented on code in PR #3636:
URL: https://github.com/apache/incubator-shenyu/pull/3636#discussion_r911773305


##########
shenyu-plugin/shenyu-plugin-logging/shenyu-plugin-logging-aliyun-sls/pom.xml:
##########
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <parent>
+        <groupId>org.apache.shenyu</groupId>
+        <artifactId>shenyu-plugin-logging</artifactId>
+        <version>2.5.0-SNAPSHOT</version>
+    </parent>
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>shenyu-plugin-logging-aliyun-sls</artifactId>
+
+    <properties>
+        <maven.compiler.source>8</maven.compiler.source>
+        <maven.compiler.target>8</maven.compiler.target>
+        <aliyun-log.version>0.6.70</aliyun-log.version>
+        <protobuf-java.version>3.19.2</protobuf-java.version>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.shenyu</groupId>
+            <artifactId>shenyu-plugin-base</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-test</artifactId>
+            <scope>test</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>com.aliyun.openservices</groupId>
+            <artifactId>aliyun-log</artifactId>

Review Comment:
   this is 
   ```
   <licenses>
           <license>
               <name />
               <url />
               <distribution>repo</distribution>
               <comments>Copyright (C) Alibaba Cloud Computing. All rights reserved.</comments>
           </license>
       </licenses>
   ```



-- 
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: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-shenyu] yu199195 merged pull request #3636: [type:feature] add logging-aliyun-sls plugin

Posted by GitBox <gi...@apache.org>.
yu199195 merged PR #3636:
URL: https://github.com/apache/incubator-shenyu/pull/3636


-- 
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: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-shenyu] moremind commented on pull request #3636: [type:feature] add logging-aliyun-sls plugin

Posted by GitBox <gi...@apache.org>.
moremind commented on PR #3636:
URL: https://github.com/apache/incubator-shenyu/pull/3636#issuecomment-1176276581

   I have refactor this plugin.


-- 
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: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-shenyu] yu199195 commented on a diff in pull request #3636: [type:feature] add logging-aliyun-sls plugin

Posted by GitBox <gi...@apache.org>.
yu199195 commented on code in PR #3636:
URL: https://github.com/apache/incubator-shenyu/pull/3636#discussion_r911766280


##########
shenyu-plugin/shenyu-plugin-logging/shenyu-plugin-logging-aliyun-sls/src/main/java/org/apache/shenyu/plugin/aliyun/sls/body/LoggingServerHttpResponse.java:
##########
@@ -0,0 +1,254 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.shenyu.plugin.aliyun.sls.body;
+
+import org.apache.commons.lang3.StringUtils;
+import org.apache.shenyu.common.constant.Constants;
+import org.apache.shenyu.common.enums.RpcTypeEnum;
+import org.apache.shenyu.common.utils.DateUtils;
+import org.apache.shenyu.plugin.aliyun.sls.DefaultLogCollector;
+import org.apache.shenyu.plugin.aliyun.sls.LogCollector;
+import org.apache.shenyu.plugin.aliyun.sls.constant.LoggingConstant;
+import org.apache.shenyu.plugin.aliyun.sls.entity.ShenyuRequestLog;
+import org.apache.shenyu.plugin.aliyun.sls.utils.LogCollectConfigUtils;
+import org.apache.shenyu.plugin.aliyun.sls.utils.LogCollectUtils;
+import org.apache.shenyu.plugin.api.context.ShenyuContext;
+import org.apache.shenyu.plugin.api.result.ShenyuResult;
+import org.apache.shenyu.plugin.api.result.ShenyuResultWrap;
+import org.reactivestreams.Publisher;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.core.io.buffer.DataBuffer;
+import org.springframework.http.HttpHeaders;
+import org.springframework.http.HttpStatus;
+import org.springframework.http.server.reactive.ServerHttpResponse;
+import org.springframework.http.server.reactive.ServerHttpResponseDecorator;
+import org.springframework.web.server.ResponseStatusException;
+import org.springframework.web.server.ServerWebExchange;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+import reactor.util.annotation.NonNull;
+
+import java.net.URI;
+import java.net.URL;
+import java.nio.charset.StandardCharsets;
+import java.time.LocalDateTime;
+import java.time.format.DateTimeFormatter;
+
+/**
+ * decorate ServerHttpResponse for read body.
+ */
+public class LoggingServerHttpResponse extends ServerHttpResponseDecorator {
+
+    private static final Logger LOG = LoggerFactory.getLogger(LoggingServerHttpResponse.class);
+
+    private static final DateTimeFormatter DATE_TIME_FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss.SSS");
+
+    private final ShenyuRequestLog logInfo;
+
+    private ServerWebExchange exchange;
+
+    private final LogCollector logCollector;
+
+    /**
+     * Constructor LoggingServerHttpResponse.
+     *
+     * @param delegate     delegate ServerHttpResponse
+     * @param logInfo      access log
+     * @param logCollector LogCollector  instance
+     */
+    public LoggingServerHttpResponse(final ServerHttpResponse delegate, final ShenyuRequestLog logInfo,
+                                     final LogCollector logCollector) {
+        super(delegate);
+        this.logInfo = logInfo;
+        this.logCollector = logCollector;
+    }
+
+    /**
+     * set relevant ServerWebExchange.
+     *
+     * @param exchange ServerWebExchange
+     */
+    public void setExchange(final ServerWebExchange exchange) {
+        this.exchange = exchange;
+    }
+
+    /**
+     * write with a publisher.
+     *
+     * @param body response body
+     * @return Mono
+     */
+    @Override
+    @NonNull
+    public Mono<Void> writeWith(@NonNull final Publisher<? extends DataBuffer> body) {
+        return super.writeWith(appendResponse(body));
+    }
+
+    /**
+     * append response.
+     *
+     * @param body publisher
+     * @return wrap Flux
+     */
+    @NonNull
+    private Flux<? extends DataBuffer> appendResponse(final Publisher<? extends DataBuffer> body) {
+        ShenyuContext shenyuContext = exchange.getAttribute(Constants.CONTEXT);
+        assert shenyuContext != null;
+        if (getStatusCode() != null) {
+            logInfo.setStatus(getStatusCode().value());
+        }
+        logInfo.setResponseHeader(LogCollectUtils.getHeaders(getHeaders()));
+        BodyWriter writer = new BodyWriter();
+        logInfo.setTraceId(getTraceId());
+        return Flux.from(body).doOnNext(buffer -> {
+            if (LogCollectUtils.isNotBinaryType(getHeaders())) {
+                writer.write(buffer.asByteBuffer().asReadOnlyBuffer());
+            }
+        }).doFinally(signal -> logResponse(shenyuContext, writer));
+    }
+
+    /**
+     * record response log.
+     *
+     * @param shenyuContext request context
+     * @param writer        bodyWriter
+     */
+    private void logResponse(final ShenyuContext shenyuContext, final BodyWriter writer) {
+        if (StringUtils.isNotBlank(getHeaders().getFirst(HttpHeaders.CONTENT_LENGTH))) {
+            String size = StringUtils.defaultIfEmpty(getHeaders().getFirst(HttpHeaders.CONTENT_LENGTH), "0");
+            logInfo.setResponseContentLength(Integer.parseInt(size));
+        } else {
+            logInfo.setResponseContentLength(writer.size());
+        }
+        logInfo.setTimeLocal(shenyuContext.getStartDateTime().format(DATE_TIME_FORMATTER));
+        logInfo.setModule(shenyuContext.getModule());
+        long costTime = DateUtils.acquireMillisBetween(shenyuContext.getStartDateTime(), LocalDateTime.now());
+        logInfo.setUpstreamResponseTime(costTime);
+        logInfo.setMethod(shenyuContext.getMethod());
+        logInfo.setRpcType(shenyuContext.getRpcType());
+        if (StringUtils.isNotBlank(shenyuContext.getRpcType())) {
+            logInfo.setUpstreamIp(getUpstreamIp());
+        }
+        int size = writer.size();
+        String body = writer.output();
+        if (size > 0 && !LogCollectConfigUtils.isResponseBodyTooLarge(size)) {
+            logInfo.setResponseBody(body);
+        }
+        // collect log
+        if (logCollector != null) {

Review Comment:
   used Objects.nonNull, and checked all code



##########
shenyu-plugin/shenyu-plugin-logging/shenyu-plugin-logging-aliyun-sls/pom.xml:
##########
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <parent>
+        <groupId>org.apache.shenyu</groupId>
+        <artifactId>shenyu-plugin-logging</artifactId>
+        <version>2.5.0-SNAPSHOT</version>
+    </parent>
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>shenyu-plugin-logging-aliyun-sls</artifactId>
+
+    <properties>
+        <maven.compiler.source>8</maven.compiler.source>
+        <maven.compiler.target>8</maven.compiler.target>
+        <aliyun-log.version>0.6.70</aliyun-log.version>
+        <protobuf-java.version>3.19.2</protobuf-java.version>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.shenyu</groupId>
+            <artifactId>shenyu-plugin-base</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-test</artifactId>
+            <scope>test</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>com.aliyun.openservices</groupId>
+            <artifactId>aliyun-log</artifactId>

Review Comment:
   whats license? pls add in  shenyu-dist/license file



-- 
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: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-shenyu] moremind commented on pull request #3636: [type:feature] add logging-aliyun-sls plugin

Posted by GitBox <gi...@apache.org>.
moremind commented on PR #3636:
URL: https://github.com/apache/incubator-shenyu/pull/3636#issuecomment-1173421067

   I have update dependency, this jar is https://github.com/aliyun/aliyun-log-java-producer, and license is Apache 2.0


-- 
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: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-shenyu] codecov-commenter commented on pull request #3636: [type:feature] add logging-aliyun-sls plugin

Posted by GitBox <gi...@apache.org>.
codecov-commenter commented on PR #3636:
URL: https://github.com/apache/incubator-shenyu/pull/3636#issuecomment-1170278215

   # [Codecov](https://codecov.io/gh/apache/incubator-shenyu/pull/3636?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
   > Merging [#3636](https://codecov.io/gh/apache/incubator-shenyu/pull/3636?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (8a1aed1) into [master](https://codecov.io/gh/apache/incubator-shenyu/commit/01c0853a6008a7830f1589507a5d88cb79983f72?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (01c0853) will **decrease** coverage by `0.54%`.
   > The diff coverage is `67.87%`.
   
   ```diff
   @@             Coverage Diff              @@
   ##             master    #3636      +/-   ##
   ============================================
   - Coverage     62.74%   62.19%   -0.55%     
   - Complexity     5864     5919      +55     
   ============================================
     Files           888      904      +16     
     Lines         24713    25200     +487     
     Branches       2260     2300      +40     
   ============================================
   + Hits          15507    15674     +167     
   - Misses         7753     8026     +273     
   - Partials       1453     1500      +47     
   ```
   
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-shenyu/pull/3636?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
   |---|---|---|
   | [...yu/plugin/aliyun/sls/constant/LoggingConstant.java](https://codecov.io/gh/apache/incubator-shenyu/pull/3636/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hlbnl1LXBsdWdpbi9zaGVueXUtcGx1Z2luLWxvZ2dpbmcvc2hlbnl1LXBsdWdpbi1sb2dnaW5nLWFsaXl1bi1zbHMvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoZW55dS9wbHVnaW4vYWxpeXVuL3Nscy9jb25zdGFudC9Mb2dnaW5nQ29uc3RhbnQuamF2YQ==) | `0.00% <0.00%> (ø)` | |
   | [...ugin/aliyun/sls/body/LoggingServerHttpRequest.java](https://codecov.io/gh/apache/incubator-shenyu/pull/3636/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hlbnl1LXBsdWdpbi9zaGVueXUtcGx1Z2luLWxvZ2dpbmcvc2hlbnl1LXBsdWdpbi1sb2dnaW5nLWFsaXl1bi1zbHMvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoZW55dS9wbHVnaW4vYWxpeXVuL3Nscy9ib2R5L0xvZ2dpbmdTZXJ2ZXJIdHRwUmVxdWVzdC5qYXZh) | `20.00% <20.00%> (ø)` | |
   | [...nyu/plugin/aliyun/sls/config/LogCollectConfig.java](https://codecov.io/gh/apache/incubator-shenyu/pull/3636/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hlbnl1LXBsdWdpbi9zaGVueXUtcGx1Z2luLWxvZ2dpbmcvc2hlbnl1LXBsdWdpbi1sb2dnaW5nLWFsaXl1bi1zbHMvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoZW55dS9wbHVnaW4vYWxpeXVuL3Nscy9jb25maWcvTG9nQ29sbGVjdENvbmZpZy5qYXZh) | `43.75% <43.75%> (ø)` | |
   | [...gin/aliyun/sls/body/LoggingServerHttpResponse.java](https://codecov.io/gh/apache/incubator-shenyu/pull/3636/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hlbnl1LXBsdWdpbi9zaGVueXUtcGx1Z2luLWxvZ2dpbmcvc2hlbnl1LXBsdWdpbi1sb2dnaW5nLWFsaXl1bi1zbHMvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoZW55dS9wbHVnaW4vYWxpeXVuL3Nscy9ib2R5L0xvZ2dpbmdTZXJ2ZXJIdHRwUmVzcG9uc2UuamF2YQ==) | `53.19% <53.19%> (ø)` | |
   | [...ache/shenyu/plugin/aliyun/sls/body/BodyWriter.java](https://codecov.io/gh/apache/incubator-shenyu/pull/3636/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hlbnl1LXBsdWdpbi9zaGVueXUtcGx1Z2luLWxvZ2dpbmcvc2hlbnl1LXBsdWdpbi1sb2dnaW5nLWFsaXl1bi1zbHMvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoZW55dS9wbHVnaW4vYWxpeXVuL3Nscy9ib2R5L0JvZHlXcml0ZXIuamF2YQ==) | `55.17% <55.17%> (ø)` | |
   | [...plugin/aliyun/sls/utils/LogCollectConfigUtils.java](https://codecov.io/gh/apache/incubator-shenyu/pull/3636/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hlbnl1LXBsdWdpbi9zaGVueXUtcGx1Z2luLWxvZ2dpbmcvc2hlbnl1LXBsdWdpbi1sb2dnaW5nLWFsaXl1bi1zbHMvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoZW55dS9wbHVnaW4vYWxpeXVuL3Nscy91dGlscy9Mb2dDb2xsZWN0Q29uZmlnVXRpbHMuamF2YQ==) | `63.88% <63.88%> (ø)` | |
   | [...henyu/plugin/aliyun/sls/utils/LogCollectUtils.java](https://codecov.io/gh/apache/incubator-shenyu/pull/3636/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hlbnl1LXBsdWdpbi9zaGVueXUtcGx1Z2luLWxvZ2dpbmcvc2hlbnl1LXBsdWdpbi1sb2dnaW5nLWFsaXl1bi1zbHMvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoZW55dS9wbHVnaW4vYWxpeXVuL3Nscy91dGlscy9Mb2dDb2xsZWN0VXRpbHMuamF2YQ==) | `66.66% <66.66%> (ø)` | |
   | [...liyun/sls/aliyunsls/AliyunSlsLogCollectClient.java](https://codecov.io/gh/apache/incubator-shenyu/pull/3636/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hlbnl1LXBsdWdpbi9zaGVueXUtcGx1Z2luLWxvZ2dpbmcvc2hlbnl1LXBsdWdpbi1sb2dnaW5nLWFsaXl1bi1zbHMvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoZW55dS9wbHVnaW4vYWxpeXVuL3Nscy9hbGl5dW5zbHMvQWxpeXVuU2xzTG9nQ29sbGVjdENsaWVudC5qYXZh) | `70.21% <70.21%> (ø)` | |
   | [...shenyu/plugin/aliyun/sls/AbstractLogCollector.java](https://codecov.io/gh/apache/incubator-shenyu/pull/3636/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hlbnl1LXBsdWdpbi9zaGVueXUtcGx1Z2luLWxvZ2dpbmcvc2hlbnl1LXBsdWdpbi1sb2dnaW5nLWFsaXl1bi1zbHMvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoZW55dS9wbHVnaW4vYWxpeXVuL3Nscy9BYnN0cmFjdExvZ0NvbGxlY3Rvci5qYXZh) | `79.54% <79.54%> (ø)` | |
   | [...shenyu/plugin/aliyun/sls/sampler/CountSampler.java](https://codecov.io/gh/apache/incubator-shenyu/pull/3636/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hlbnl1LXBsdWdpbi9zaGVueXUtcGx1Z2luLWxvZ2dpbmcvc2hlbnl1LXBsdWdpbi1sb2dnaW5nLWFsaXl1bi1zbHMvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoZW55dS9wbHVnaW4vYWxpeXVuL3Nscy9zYW1wbGVyL0NvdW50U2FtcGxlci5qYXZh) | `87.09% <87.09%> (ø)` | |
   | ... and [72 more](https://codecov.io/gh/apache/incubator-shenyu/pull/3636/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-shenyu/pull/3636?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-shenyu/pull/3636?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [01c0853...8a1aed1](https://codecov.io/gh/apache/incubator-shenyu/pull/3636?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
   


-- 
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: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org