You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by "wankai123 (via GitHub)" <gi...@apache.org> on 2024/06/11 10:35:56 UTC

[PR] Increase `SW_CORE_GRPC_MAX_MESSAGE_SIZE` to 50MB and e2e bump up the version of the opentelemetry-collector to 0.102.1. [skywalking]

wankai123 opened a new pull request, #12321:
URL: https://github.com/apache/skywalking/pull/12321

   - [X] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #12312.
   - [X] Update the [`CHANGES` log](https://github.com/apache/skywalking/blob/master/docs/en/changes/changes.md).
   


-- 
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@skywalking.apache.org

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


Re: [PR] Increase `SW_CORE_GRPC_MAX_MESSAGE_SIZE` to 50MB and e2e bump up the version of the opentelemetry-collector to 0.102.1. [skywalking]

Posted by "wu-sheng (via GitHub)" <gi...@apache.org>.
wu-sheng commented on code in PR #12321:
URL: https://github.com/apache/skywalking/pull/12321#discussion_r1634653708


##########
docs/en/setup/backend/configuration-vocabulary.md:
##########
@@ -38,7 +38,7 @@ The Configuration Vocabulary lists all available configurations provided by `app
 | -                       | -             | autocompleteTagValuesQueryMaxSize                                                                                                                                        | The max size of tags values for autocomplete select.                                                                                                                                                                                                                                                                                                                                                                                                                       | SW_AUTOCOMPLETE_TAG_VALUES_QUERY_MAX_SIZE             | 100                                                                                          |
 | -                       | -             | gRPCThreadPoolSize                                                                                                                                                       | Pool size of gRPC server.                                                                                                                                                                                                                                                                                                                                                                                                                                                  | SW_CORE_GRPC_THREAD_POOL_SIZE                         | Default to gRPC's implementation, which is a cached thread pool that can grow infinitely.    |
 | -                       | -             | maxConcurrentCallsPerConnection                                                                                                                                          | The maximum number of concurrent calls permitted for each incoming connection. Defaults to no limit.                                                                                                                                                                                                                                                                                                                                                                       | SW_CORE_GRPC_MAX_CONCURRENT_CALL                      | -                                                                                            |
-| -                       | -             | maxMessageSize                                                                                                                                                           | Sets the maximum message size allowed to be received on the server. Empty means 4 MiB.                                                                                                                                                                                                                                                                                                                                                                                     | SW_CORE_GRPC_MAX_MESSAGE_SIZE                         | 4M(based on Netty)                                                                           |
+| -                       | -             | maxMessageSize                                                                                                                                                           | Sets the maximum message size allowed to be received on the server. Empty means 4 MiB.                                                                                                                                                                                                                                                                                                                                                                                     | SW_CORE_GRPC_MAX_MESSAGE_SIZE                         | 52428800 (50MB)                                                                              |

Review Comment:
   Yes, we noticed this on demo deployment.
   We increased application.yml values, so yes, default values changed.



-- 
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@skywalking.apache.org

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


Re: [PR] Increase `SW_CORE_GRPC_MAX_MESSAGE_SIZE` to 50MB and e2e bump up the version of the opentelemetry-collector to 0.102.1. [skywalking]

Posted by "wu-sheng (via GitHub)" <gi...@apache.org>.
wu-sheng commented on code in PR #12321:
URL: https://github.com/apache/skywalking/pull/12321#discussion_r1634620498


##########
oap-server/server-starter/src/main/resources/application.yml:
##########
@@ -81,7 +81,7 @@ core:
     gRPCHost: ${SW_CORE_GRPC_HOST:0.0.0.0}
     gRPCPort: ${SW_CORE_GRPC_PORT:11800}
     maxConcurrentCallsPerConnection: ${SW_CORE_GRPC_MAX_CONCURRENT_CALL:0}
-    maxMessageSize: ${SW_CORE_GRPC_MAX_MESSAGE_SIZE:0}
+    maxMessageSize: ${SW_CORE_GRPC_MAX_MESSAGE_SIZE:52428800} #50MB

Review Comment:
   Could you check sharing server config too?



-- 
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@skywalking.apache.org

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


Re: [PR] Increase `SW_CORE_GRPC_MAX_MESSAGE_SIZE` to 50MB and e2e bump up the version of the opentelemetry-collector to 0.102.1. [skywalking]

Posted by "wankai123 (via GitHub)" <gi...@apache.org>.
wankai123 commented on code in PR #12321:
URL: https://github.com/apache/skywalking/pull/12321#discussion_r1634635040


##########
oap-server/server-starter/src/main/resources/application.yml:
##########
@@ -81,7 +81,7 @@ core:
     gRPCHost: ${SW_CORE_GRPC_HOST:0.0.0.0}
     gRPCPort: ${SW_CORE_GRPC_PORT:11800}
     maxConcurrentCallsPerConnection: ${SW_CORE_GRPC_MAX_CONCURRENT_CALL:0}
-    maxMessageSize: ${SW_CORE_GRPC_MAX_MESSAGE_SIZE:0}
+    maxMessageSize: ${SW_CORE_GRPC_MAX_MESSAGE_SIZE:52428800} #50MB

Review Comment:
   increased



-- 
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@skywalking.apache.org

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


Re: [PR] Increase `SW_CORE_GRPC_MAX_MESSAGE_SIZE` to 50MB and e2e bump up the version of the opentelemetry-collector to 0.102.1. [skywalking]

Posted by "Superskyyy (via GitHub)" <gi...@apache.org>.
Superskyyy commented on code in PR #12321:
URL: https://github.com/apache/skywalking/pull/12321#discussion_r1634647351


##########
docs/en/setup/backend/configuration-vocabulary.md:
##########
@@ -38,7 +38,7 @@ The Configuration Vocabulary lists all available configurations provided by `app
 | -                       | -             | autocompleteTagValuesQueryMaxSize                                                                                                                                        | The max size of tags values for autocomplete select.                                                                                                                                                                                                                                                                                                                                                                                                                       | SW_AUTOCOMPLETE_TAG_VALUES_QUERY_MAX_SIZE             | 100                                                                                          |
 | -                       | -             | gRPCThreadPoolSize                                                                                                                                                       | Pool size of gRPC server.                                                                                                                                                                                                                                                                                                                                                                                                                                                  | SW_CORE_GRPC_THREAD_POOL_SIZE                         | Default to gRPC's implementation, which is a cached thread pool that can grow infinitely.    |
 | -                       | -             | maxConcurrentCallsPerConnection                                                                                                                                          | The maximum number of concurrent calls permitted for each incoming connection. Defaults to no limit.                                                                                                                                                                                                                                                                                                                                                                       | SW_CORE_GRPC_MAX_CONCURRENT_CALL                      | -                                                                                            |
-| -                       | -             | maxMessageSize                                                                                                                                                           | Sets the maximum message size allowed to be received on the server. Empty means 4 MiB.                                                                                                                                                                                                                                                                                                                                                                                     | SW_CORE_GRPC_MAX_MESSAGE_SIZE                         | 4M(based on Netty)                                                                           |
+| -                       | -             | maxMessageSize                                                                                                                                                           | Sets the maximum message size allowed to be received on the server. Empty means 4 MiB.                                                                                                                                                                                                                                                                                                                                                                                     | SW_CORE_GRPC_MAX_MESSAGE_SIZE                         | 52428800 (50MB)                                                                              |

Review Comment:
   Default means 50MB?



##########
docs/en/setup/backend/configuration-vocabulary.md:
##########
@@ -171,6 +171,7 @@ The Configuration Vocabulary lists all available configurations provided by `app
 | -                       | -             | gRPCSslKeyPath                                                                                                                                                           | File path of gRPC SSL key.                                                                                                                                                                                                                                                                                                                                                                                                                                                 | SW_RECEIVER_GRPC_SSL_KEY_PATH                         | -                                                                                            |
 | -                       | -             | gRPCSslCertChainPath                                                                                                                                                     | File path of gRPC SSL cert chain.                                                                                                                                                                                                                                                                                                                                                                                                                                          | SW_RECEIVER_GRPC_SSL_CERT_CHAIN_PATH                  | -                                                                                            |
 | -                       | -             | maxConcurrentCallsPerConnection                                                                                                                                          | The maximum number of concurrent calls permitted for each incoming connection. Defaults to no limit.                                                                                                                                                                                                                                                                                                                                                                       | SW_RECEIVER_GRPC_MAX_CONCURRENT_CALL                  | -                                                                                            |
+| -                       | -             | maxMessageSize                                                                                                                                                           | Sets the maximum message size allowed to be received on the server. Empty means 4 MiB.                                                                                                                                                                                                                                                                                                                                                                                     | SW_RECEIVER_GRPC_MAX_MESSAGE_SIZE                     | 52428800 (50MB)                                                                              |

Review Comment:
   Same as above. 



-- 
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@skywalking.apache.org

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


Re: [PR] Increase `SW_CORE_GRPC_MAX_MESSAGE_SIZE` to 50MB and e2e bump up the version of the opentelemetry-collector to 0.102.1. [skywalking]

Posted by "wu-sheng (via GitHub)" <gi...@apache.org>.
wu-sheng merged PR #12321:
URL: https://github.com/apache/skywalking/pull/12321


-- 
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@skywalking.apache.org

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