-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc for Automated Device Configuration #160
Conversation
WalkthroughThe recent changes significantly enhance the configuration and functionality of various services by introducing new properties for gRPC API settings, including message size limits and structured authorization endpoints. Additionally, comprehensive OpenTelemetry exporter configurations have been added. A new Snippet Service has also been introduced, facilitating automated device configuration to ensure accurate setups with minimal manual intervention. Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
✅ Deploy Preview for docsplgd ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
Outside diff range, codebase verification and nitpick comments (9)
content/en/docs/configuration/grpc-gateway.md (3)
39-40
: Ensure clarity and completeness in the gRPC API settings.The new properties for message size limits are correctly added. However, it would be clearer to mention the unit of the message size (bytes) explicitly.
- | `apis.grpc.sendMsgSize` | int32 | `Set the max message size in bytes the server can send. 0 means 2147483647` | `4194304` | - | `apis.grpc.recvMsgSize` | int32 | `Set the max message size in bytes the server can receive. 0 means 4194304` | `4194304` | + | `apis.grpc.sendMsgSize` | int32 | `Set the max message size in bytes the server can send (in bytes). 0 means 2147483647` | `4194304` | + | `apis.grpc.recvMsgSize` | int32 | `Set the max message size in bytes the server can receive (in bytes). 0 means 4194304` | `4194304` |
56-65
: Ensure consistency in the authorization endpoints settings.The new settings for authorization endpoints are correctly added. Ensure that the descriptions are clear and consistent.
+ | `apis.grpc.authorization.endpoints[].authority` | string | `Authority is the address of the token-issuing authentication server. Services will use this URI to find and retrieve the public key that can be used to validate the token’s signature.` | `""` | + | `apis.grpc.authorization.endpoints[].http.maxIdleConns` | int | `It controls the maximum number of idle (keep-alive) connections across all hosts. Zero means no limit.` | `16` | + | `apis.grpc.authorization.endpoints[].http.maxConnsPerHost` | int | `It optionally limits the total number of connections per host, including connections in the dialing, active, and idle states. On limit violation, dials will block. Zero means no limit.` | `32` | + | `apis.grpc.authorization.endpoints[].http.maxIdleConnsPerHost` | int | `If non-zero, controls the maximum idle (keep-alive) connections to keep per-host. If zero, DefaultMaxIdleConnsPerHost is used.` | `16` | + | `apis.grpc.authorization.endpoints[].http.idleConnTimeout` | string | `The maximum amount of time an idle (keep-alive) connection will remain idle before closing itself. Zero means no limit.` | `30s` | + | `apis.grpc.authorization.endpoints[].http.timeout` | string | `A time limit for requests made by this Client. A Timeout of zero means no timeout.` | `10s` | + | `apis.grpc.authorization.endpoints[].http.tls.caPool` | []string | `File paths to the root certificates in PEM format. The file may contain multiple certificates.` | `[]` | + | `apis.grpc.authorization.endpoints[].http.tls.keyFile` | string | `File path to private key in PEM format.` | `""` | + | `apis.grpc.authorization.endpoints[].http.tls.certFile` | string | `File path to certificate in PEM format.` | `""` | + | `apis.grpc.authorization.endpoints[].http.tls.useSystemCAPool` | bool | `If true, use system certification pool.` | `false` |
133-143
: Ensure clarity and completeness in the OpenTelemetry exporter settings.The new properties for the OpenTelemetry exporter are correctly added. Ensure that the descriptions are clear and consistent.
+ | `clients.openTelemetryCollector.grpc.enabled` | bool | `Enable OTLP gRPC exporter` | `false` | + | `clients.openTelemetryCollector.grpc.address` | string | `The gRPC collector to which the exporter is going to send data` | `""` | + | `clients.openTelemetryCollector.grpc.keepAlive.time` | string | `After a duration of this time if the client doesn't see any activity it pings the server to see if the transport is still alive.` | `10s` | + | `clients.openTelemetryCollector.grpc.keepAlive.timeout` | string | `After having pinged for keepalive check, the client waits for a duration of Timeout and if no activity is seen even after that the connection is closed.` | `20s` | + | `clients.openTelemetryCollector.grpc.keepAlive.permitWithoutStream` | bool | `If true, client sends keepalive pings even with no active RPCs. If false, when there are no active RPCs, Time and Timeout will be ignored and no keepalive pings will be sent.` | `true` | + | `clients.openTelemetryCollector.grpc.tls.caPool` | string | `File path to the root certificate in PEM format which might contain multiple certificates in a single file.` | `""` | + | `clients.openTelemetryCollector.grpc.tls.keyFile` | string | `File path to private key in PEM format.` | `""` | + | `clients.openTelemetryCollector.grpc.tls.certFile` | string | `File path to certificate in PEM format.` | `""` | + | `clients.openTelemetryCollector.grpc.tls.useSystemCAPool` | bool | `If true, use system certification pool.` | `false` |content/en/docs/configuration/cloud2cloud-gateway.md (2)
127-128
: Title and Introduction for OpenTelemetry Exporter SectionThe title "Open telemetry exporter" should be capitalized for consistency with other section titles. Additionally, the introductory line should be expanded to provide a clearer overview.
- ### Open telemetry exporter + ### OpenTelemetry Exporter - The plgd open telemetry exporter configuration. + The plgd OpenTelemetry exporter configuration allows for the exporting of telemetry data using the OTLP gRPC protocol.
133-133
: Clarify Default Value forclients.openTelemetryCollector.grpc.enabled
The default value for the
clients.openTelemetryCollector.grpc.enabled
property should be explicitly stated asfalse
for clarity.- | `clients.openTelemetryCollector.grpc.enabled` | bool | `Enable OTLP gRPC exporter` | `false` | + | `clients.openTelemetryCollector.grpc.enabled` | bool | `Enable OTLP gRPC exporter.` | `false` |content/en/docs/configuration/snippet-service.md (4)
38-38
: Clarify the configuration description.The phrase "Listen specification" is unclear. Consider changing it to "Listen to specification".
- | `apis.grpc.address` | string | `Listen specification <host>:<port> for grpc client connection.` | `"0.0.0.0:9100"` | + | `apis.grpc.address` | string | `Listen to specification <host>:<port> for grpc client connection.` | `"0.0.0.0:9100"` |Also applies to: 72-72
Tools
LanguageTool
[grammar] ~38-~38: It looks like there is a word missing here. Did you mean “Listen to specification”?
Context: ...---- | |apis.grpc.address
| string | `Listen specification : for grpc client connectio...(LISTEN_TO_ME)
41-41
: Add a comma after "Otherwise".The sentence structure requires a comma after "Otherwise" for clarity.
- | `apis.grpc.enforcementPolicy.minTime` | string | `The minimum amount of time a client should wait before sending a keepalive ping. Otherwise the server close connection.` | `5s`| + | `apis.grpc.enforcementPolicy.minTime` | string | `The minimum amount of time a client should wait before sending a keepalive ping. Otherwise, the server closes the connection.` | `5s`|Also applies to: 117-117
Tools
LanguageTool
[uncategorized] ~41-~41: A comma may be missing after the conjunctive/linking adverb ‘Otherwise’.
Context: ...c.enforcementPolicy.minTime| string |
The minimum amount of time a client should wait before sending a keepalive ping. Otherwise the server close connection.|
5s`| |...(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)
42-42
: Add a comma after "Otherwise".The sentence structure requires a comma after "Otherwise" for clarity.
- | `apis.grpc.enforcementPolicy.permitWithoutStream` | bool | `If true, server allows keepalive pings even when there are no active streams(RPCs). Otherwise the server close connection.` | `true` | + | `apis.grpc.enforcementPolicy.permitWithoutStream` | bool | `If true, server allows keepalive pings even when there are no active streams(RPCs). Otherwise, the server closes the connection.` | `true` |Also applies to: 118-118
Tools
LanguageTool
[uncategorized] ~42-~42: A comma may be missing after the conjunctive/linking adverb ‘Otherwise’.
Context: ...ntPolicy.permitWithoutStream| bool |
If true, server allows keepalive pings even when there are no active streams(RPCs). Otherwise the server close connection.|
true`...(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)
80-80
: Typographical correction.Change "a event bus" to "an event bus" for correct grammar.
- plgd hub uses NATS messaging system as a event bus to be notified about device changes to trigger conditions evaluation. + plgd hub uses NATS messaging system as an event bus to be notified about device changes to trigger conditions evaluation.Tools
LanguageTool
[misspelling] ~80-~80: Use “an” instead of ‘a’ if the following word starts with a vowel sound, e.g. ‘an article’, ‘an hour’.
Context: ... plgd hub uses NATS messaging system as a event bus to be notified about device c...(EN_A_VS_AN)
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (22)
- content/en/docs/configuration/certificate-authority.md (3 hunks)
- content/en/docs/configuration/cloud2cloud-connector.md (1 hunks)
- content/en/docs/configuration/cloud2cloud-gateway.md (1 hunks)
- content/en/docs/configuration/coap-gateway.md (1 hunks)
- content/en/docs/configuration/grpc-gateway.md (3 hunks)
- content/en/docs/configuration/http-gateway.md (1 hunks)
- content/en/docs/configuration/identity-store.md (3 hunks)
- content/en/docs/configuration/m2m-oauth-server.md (1 hunks)
- content/en/docs/configuration/mongodb-standby-tool.md (1 hunks)
- content/en/docs/configuration/resource-aggregate.md (3 hunks)
- content/en/docs/configuration/resource-directory.md (3 hunks)
- content/en/docs/configuration/snippet-service.md (1 hunks)
- content/en/docs/deployment/hub/hub.md (1 hunks)
- content/en/docs/features/control-plane/control-plane.md (1 hunks)
- content/en/docs/features/control-plane/http-api.md (1 hunks)
- content/en/docs/services/certificate-authority/http-api.md (1 hunks)
- content/en/docs/services/http-gateway/http-api.md (1 hunks)
- content/en/docs/services/snippet-service/_index.md (1 hunks)
- content/en/docs/services/snippet-service/features.md (1 hunks)
- content/en/docs/services/snippet-service/grpc-api.md (1 hunks)
- content/en/docs/services/snippet-service/http-api.md (1 hunks)
- content/en/docs/services/snippet-service/snippet-service.md (1 hunks)
Files skipped from review due to trivial changes (9)
- content/en/docs/configuration/mongodb-standby-tool.md
- content/en/docs/deployment/hub/hub.md
- content/en/docs/features/control-plane/control-plane.md
- content/en/docs/features/control-plane/http-api.md
- content/en/docs/services/certificate-authority/http-api.md
- content/en/docs/services/http-gateway/http-api.md
- content/en/docs/services/snippet-service/_index.md
- content/en/docs/services/snippet-service/grpc-api.md
- content/en/docs/services/snippet-service/http-api.md
Additional context used
LanguageTool
content/en/docs/services/snippet-service/snippet-service.md
[uncategorized] ~17-~17: Possible missing preposition found.
Context: ...plied seamlessly in response to changes events in resources. ## Key Features - **Aut...(AI_HYDRA_LEO_MISSING_IN)
content/en/docs/configuration/certificate-authority.md
[grammar] ~40-~40: It looks like there is a word missing here. Did you mean “Listen to specification”?
Context: ...---- | |apis.grpc.address
| string | `Listen specification : for grpc client connectio...(LISTEN_TO_ME)
content/en/docs/configuration/snippet-service.md
[grammar] ~38-~38: It looks like there is a word missing here. Did you mean “Listen to specification”?
Context: ...---- | |apis.grpc.address
| string | `Listen specification : for grpc client connectio...(LISTEN_TO_ME)
[uncategorized] ~41-~41: A comma may be missing after the conjunctive/linking adverb ‘Otherwise’.
Context: ...c.enforcementPolicy.minTime| string |
The minimum amount of time a client should wait before sending a keepalive ping. Otherwise the server close connection.|
5s`| |...(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)
[uncategorized] ~42-~42: A comma may be missing after the conjunctive/linking adverb ‘Otherwise’.
Context: ...ntPolicy.permitWithoutStream| bool |
If true, server allows keepalive pings even when there are no active streams(RPCs). Otherwise the server close connection.|
true`...(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)
[grammar] ~72-~72: It looks like there is a word missing here. Did you mean “Listen to specification”?
Context: ...---- | |apis.http.address
| string | `Listen specification : for http client connectio...(LISTEN_TO_ME)
[misspelling] ~80-~80: Use “an” instead of ‘a’ if the following word starts with a vowel sound, e.g. ‘an article’, ‘an hour’.
Context: ... plgd hub uses NATS messaging system as a event bus to be notified about device c...(EN_A_VS_AN)
[uncategorized] ~117-~117: A comma may be missing after the conjunctive/linking adverb ‘Otherwise’.
Context: ...c.enforcementPolicy.minTime| string |
The minimum amount of time a client should wait before sending a keepalive ping. Otherwise the server close connection.|
5s`| |...(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)
[uncategorized] ~118-~118: A comma may be missing after the conjunctive/linking adverb ‘Otherwise’.
Context: ...ntPolicy.permitWithoutStream| bool |
If true, server allows keepalive pings even when there are no active streams(RPCs). Otherwise the server close connection.|
true`...(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)
Additional comments not posted (24)
content/en/docs/services/snippet-service/features.md (1)
1-26
: LGTM!The documentation is clear and accurately describes the features and planned features of the Snippet Service.
content/en/docs/configuration/m2m-oauth-server.md (1)
Line range hint
1-109
:
LGTM!The documentation is clear and accurately describes the configuration details of the Machine to Machine OAuth Server, including the new OpenTelemetry exporter settings.
content/en/docs/configuration/identity-store.md (1)
Line range hint
1-109
:
LGTM!The documentation is clear and accurately describes the configuration details of the Identity Store, including the new gRPC settings and OpenTelemetry exporter settings.
content/en/docs/configuration/certificate-authority.md (3)
41-42
: Ensure consistency in message size limits.The
sendMsgSize
andrecvMsgSize
properties are correctly added. Ensure these settings are consistently applied across all relevant configurations.
56-65
: New gRPC authorization endpoint settings look good.The new settings for HTTP and TLS configurations within the authorization endpoints are correctly added. Ensure these settings are consistently applied across all relevant configurations.
86-94
: New OpenTelemetry exporter settings look good.The new settings for enabling the OTLP gRPC exporter and specifying the collector address, keep-alive parameters, and TLS configurations are correctly added. Ensure these settings are consistently applied across all relevant configurations.
content/en/docs/configuration/resource-aggregate.md (3)
40-41
: Ensure consistency in message size limits.The
sendMsgSize
andrecvMsgSize
properties are correctly added. Ensure these settings are consistently applied across all relevant configurations.
54-63
: New gRPC authorization endpoint settings look good.The new settings for HTTP and TLS configurations within the authorization endpoints are correctly added. Ensure these settings are consistently applied across all relevant configurations.
118-126
: New OpenTelemetry exporter settings look good.The new settings for enabling the OTLP gRPC exporter and specifying the collector address, keep-alive parameters, and TLS configurations are correctly added. Ensure these settings are consistently applied across all relevant configurations.
content/en/docs/configuration/http-gateway.md (1)
115-123
: New OpenTelemetry exporter settings look good.The new settings for enabling the OTLP gRPC exporter and specifying the collector address, keep-alive parameters, and TLS configurations are correctly added. Ensure these settings are consistently applied across all relevant configurations.
content/en/docs/configuration/resource-directory.md (3)
39-40
: Ensure consistency in message size limits.The
sendMsgSize
andrecvMsgSize
properties are correctly added. Ensure these settings are consistently applied across all relevant configurations.
55-64
: New gRPC authorization endpoint settings look good.The new settings for HTTP and TLS configurations within the authorization endpoints are correctly added. Ensure these settings are consistently applied across all relevant configurations.
118-126
: New OpenTelemetry exporter settings look good.The new settings for enabling the OTLP gRPC exporter and specifying the collector address, keep-alive parameters, and TLS configurations are correctly added. Ensure these settings are consistently applied across all relevant configurations.
content/en/docs/configuration/grpc-gateway.md (8)
38-38
: Grammar fix: Add missing word.It looks like there is a word missing here. Did you mean “Listen to specification”?
[grammar]
- | `apis.grpc.address` | string | `Listen specification <host>:<port> for grpc client connection.` | `"0.0.0.0:9100"` | + | `apis.grpc.address` | string | `Listen to specification <host>:<port> for grpc client connection.` | `"0.0.0.0:9100"` |Tools
LanguageTool
[grammar] ~38-~38: It looks like there is a word missing here. Did you mean “Listen to specification”?
Context: ...---- | |apis.grpc.address
| string | `Listen specification : for grpc client connectio...(LISTEN_TO_ME)
41-41
: Grammar fix: Add missing comma.A comma may be missing after the conjunctive/linking adverb ‘Otherwise’.
[grammar]
- | `apis.grpc.enforcementPolicy.minTime` | string | `The minimum amount of time a client should wait before sending a keepalive ping. Otherwise the server close connection.` | `5s`| + | `apis.grpc.enforcementPolicy.minTime` | string | `The minimum amount of time a client should wait before sending a keepalive ping. Otherwise, the server close connection.` | `5s`|
42-42
: Grammar fix: Add missing comma.A comma may be missing after the conjunctive/linking adverb ‘Otherwise’.
[grammar]
- | `apis.grpc.enforcementPolicy.permitWithoutStream` | bool | `If true, server allows keepalive pings even when there are no active streams(RPCs). Otherwise the server close connection.` | `true` | + | `apis.grpc.enforcementPolicy.permitWithoutStream` | bool | `If true, server allows keepalive pings even when there are no active streams(RPCs). Otherwise, the server close connection.` | `true` |
Line range hint
72-72
:
Grammar fix: Add missing word.It looks like there is a word missing here. Did you mean “Listen to specification”?
[grammar]
- | `apis.http.address` | string | `Listen specification <host>:<port> for http client connection.` | `"0.0.0.0:9101"` | + | `apis.http.address` | string | `Listen to specification <host>:<port> for http client connection.` | `"0.0.0.0:9101"` |Tools
LanguageTool
[grammar] ~38-~38: It looks like there is a word missing here. Did you mean “Listen to specification”?
Context: ...---- | |apis.grpc.address
| string | `Listen specification : for grpc client connectio...(LISTEN_TO_ME)
[uncategorized] ~43-~43: A comma may be missing after the conjunctive/linking adverb ‘Otherwise’.
Context: ...c.enforcementPolicy.minTime| string |
The minimum amount of time a client should wait before sending a keepalive ping. Otherwise the server close connection.|
5s`| |...(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)
Line range hint
80-80
:
Typographical fix: Use “an” instead of ‘a’Use “an” instead of ‘a’ if the following word starts with a vowel sound, e.g. ‘an article’, ‘an hour’.
[misspelling]
- plgd hub uses NATS messaging system as a event bus to be notified about device changes to trigger conditions evaluation. + plgd hub uses NATS messaging system as an event bus to be notified about device changes to trigger conditions evaluation.Tools
LanguageTool
[grammar] ~38-~38: It looks like there is a word missing here. Did you mean “Listen to specification”?
Context: ...---- | |apis.grpc.address
| string | `Listen specification : for grpc client connectio...(LISTEN_TO_ME)
[uncategorized] ~43-~43: A comma may be missing after the conjunctive/linking adverb ‘Otherwise’.
Context: ...c.enforcementPolicy.minTime| string |
The minimum amount of time a client should wait before sending a keepalive ping. Otherwise the server close connection.|
5s`| |...(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)
Line range hint
117-117
:
Grammar fix: Add missing comma.A comma may be missing after the conjunctive/linking adverb ‘Otherwise’.
[grammar]
- | `clients.resourceAggregate.grpc.enforcementPolicy.minTime` | string | `The minimum amount of time a client should wait before sending a keepalive ping. Otherwise the server close connection.` | `5s`| + | `clients.resourceAggregate.grpc.enforcementPolicy.minTime` | string | `The minimum amount of time a client should wait before sending a keepalive ping. Otherwise, the server close connection.` | `5s`|Tools
LanguageTool
[grammar] ~38-~38: It looks like there is a word missing here. Did you mean “Listen to specification”?
Context: ...---- | |apis.grpc.address
| string | `Listen specification : for grpc client connectio...(LISTEN_TO_ME)
[uncategorized] ~43-~43: A comma may be missing after the conjunctive/linking adverb ‘Otherwise’.
Context: ...c.enforcementPolicy.minTime| string |
The minimum amount of time a client should wait before sending a keepalive ping. Otherwise the server close connection.|
5s`| |...(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)
Line range hint
118-118
:
Grammar fix: Add missing comma.A comma may be missing after the conjunctive/linking adverb ‘Otherwise’.
[grammar]
- | `clients.resourceAggregate.grpc.enforcementPolicy.permitWithoutStream` | bool | `If true, server allows keepalive pings even when there are no active streams(RPCs). Otherwise the server close connection.` | `true` | + | `clients.resourceAggregate.grpc.enforcementPolicy.permitWithoutStream` | bool | `If true, server allows keepalive pings even when there are no active streams(RPCs). Otherwise, the server close connection.` | `true` |Tools
LanguageTool
[grammar] ~38-~38: It looks like there is a word missing here. Did you mean “Listen to specification”?
Context: ...---- | |apis.grpc.address
| string | `Listen specification : for grpc client connectio...(LISTEN_TO_ME)
[uncategorized] ~43-~43: A comma may be missing after the conjunctive/linking adverb ‘Otherwise’.
Context: ...c.enforcementPolicy.minTime| string |
The minimum amount of time a client should wait before sending a keepalive ping. Otherwise the server close connection.|
5s`| |...(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)
Line range hint
145-148
:
Ensure clarity and completeness in the note section.The note section is clear and correctly formatted. No changes needed.
content/en/docs/configuration/snippet-service.md (1)
135-135
: Verify the type change forclients.openTelemetryCollector.grpc.enabled
.Ensure that the type change from
string
tobool
is correctly reflected in the configuration template and usage.Verification successful
Verified: The type change for
clients.openTelemetryCollector.grpc.enabled
is correctly reflected asbool
across the documentation.
- The configuration property is consistently documented with the correct type
bool
in multiple files.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify that the type change for `clients.openTelemetryCollector.grpc.enabled` is correctly reflected in the configuration template and usage. # Test: Search for occurrences of `clients.openTelemetryCollector.grpc.enabled`. Expect: Only occurances with `bool` type. rg --type yaml -A 2 $'clients.openTelemetryCollector.grpc.enabled'Length of output: 65
Script:
#!/bin/bash # Description: Verify that the type change for `clients.openTelemetryCollector.grpc.enabled` is correctly reflected in the configuration template and usage. # Test: Search for occurrences of `clients.openTelemetryCollector.grpc.enabled`. Expect: Only occurrences with `bool` type. rg -A 2 'clients.openTelemetryCollector.grpc.enabled'Length of output: 7169
content/en/docs/configuration/cloud2cloud-connector.md (1)
136-136
: Verify the type change forclients.openTelemetryCollector.grpc.enabled
.Ensure that the type change from
string
tobool
is correctly reflected in the configuration template and usage.Verification successful
Verified the type change for
clients.openTelemetryCollector.grpc.enabled
.The type change from
string
tobool
is correctly reflected in the configuration template and usage across multiple files.
content/en/docs/configuration/snippet-service.md
content/en/docs/configuration/resource-directory.md
content/en/docs/configuration/resource-aggregate.md
content/en/docs/configuration/m2m-oauth-server.md
content/en/docs/configuration/identity-store.md
content/en/docs/configuration/http-gateway.md
content/en/docs/configuration/grpc-gateway.md
content/en/docs/configuration/coap-gateway.md
content/en/docs/configuration/cloud2cloud-gateway.md
content/en/docs/configuration/cloud2cloud-connector.md
content/en/docs/configuration/certificate-authority.md
content/en/docs/configuration/device-provisioning-service.md
Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify that the type change for `clients.openTelemetryCollector.grpc.enabled` is correctly reflected in the configuration template and usage. # Test: Search for occurrences of `clients.openTelemetryCollector.grpc.enabled`. Expect: Only occurances with `bool` type. rg --type yaml -A 2 $'clients.openTelemetryCollector.grpc.enabled'Length of output: 65
Script:
#!/bin/bash # Description: Verify that the type change for `clients.openTelemetryCollector.grpc.enabled` is correctly reflected in the configuration template and usage. # Test: Search for occurrences of `clients.openTelemetryCollector.grpc.enabled` in all relevant files. Expect: Only occurrences with `bool` type. rg 'clients.openTelemetryCollector.grpc.enabled' -A 5Length of output: 17204
content/en/docs/configuration/coap-gateway.md (1)
157-157
: Verify the type change forclients.openTelemetryCollector.grpc.enabled
.Ensure that the type change from
string
tobool
is correctly reflected in the configuration template and usage.Verification successful
Verification successful: The type change for
clients.openTelemetryCollector.grpc.enabled
tobool
is correctly reflected in the configuration documentation.
- The type is consistently listed as
bool
across various configuration files.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify that the type change for `clients.openTelemetryCollector.grpc.enabled` is correctly reflected in the configuration template and usage. # Test: Search for occurrences of `clients.openTelemetryCollector.grpc.enabled`. Expect: Only occurances with `bool` type. rg --type yaml -A 2 $'clients.openTelemetryCollector.grpc.enabled'Length of output: 65
Script:
#!/bin/bash # Description: Verify that the type change for `clients.openTelemetryCollector.grpc.enabled` is correctly reflected in the configuration template and usage. # Test: Search for occurrences of `clients.openTelemetryCollector.grpc.enabled`. Expect: Only occurrences with `bool` type. rg -A 2 'clients.openTelemetryCollector.grpc.enabled'Length of output: 7169
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- content/en/docs/services/snippet-service/snippet-service.md (1 hunks)
Files skipped from review as they are similar to previous changes (1)
- content/en/docs/services/snippet-service/snippet-service.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Outside diff range, codebase verification and nitpick comments (9)
content/en/docs/configuration/snippet-service.md (9)
38-38
: Clarify the description forapis.grpc.address
.It looks like there is a word missing here. Did you mean “Listen to specification”?
- | `apis.grpc.address` | string | `Listen specification <host>:<port> for grpc client connection.` | `"0.0.0.0:9100"` | + | `apis.grpc.address` | string | `Listen to specification <host>:<port> for grpc client connection.` | `"0.0.0.0:9100"` |Tools
LanguageTool
[grammar] ~38-~38: It looks like there is a word missing here. Did you mean “Listen to specification”?
Context: ...---- | |apis.grpc.address
| string | `Listen specification : for grpc client connectio...(LISTEN_TO_ME)
41-41
: Add a comma after 'Otherwise'.A comma may be missing after the conjunctive/linking adverb 'Otherwise'.
- | `apis.grpc.enforcementPolicy.minTime` | string | `The minimum amount of time a client should wait before sending a keepalive ping. Otherwise the server close connection.` | `5s`| + | `apis.grpc.enforcementPolicy.minTime` | string | `The minimum amount of time a client should wait before sending a keepalive ping. Otherwise, the server close connection.` | `5s`|Tools
LanguageTool
[uncategorized] ~41-~41: A comma may be missing after the conjunctive/linking adverb ‘Otherwise’.
Context: ...c.enforcementPolicy.minTime| string |
The minimum amount of time a client should wait before sending a keepalive ping. Otherwise the server close connection.|
5s`| |...(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)
42-42
: Add a comma after 'Otherwise'.A comma may be missing after the conjunctive/linking adverb 'Otherwise'.
- | `apis.grpc.enforcementPolicy.permitWithoutStream` | bool | `If true, server allows keepalive pings even when there are no active streams(RPCs). Otherwise the server close connection.` | `true` | + | `apis.grpc.enforcementPolicy.permitWithoutStream` | bool | `If true, server allows keepalive pings even when there are no active streams(RPCs). Otherwise, the server close connection.` | `true` |Tools
LanguageTool
[uncategorized] ~42-~42: A comma may be missing after the conjunctive/linking adverb ‘Otherwise’.
Context: ...ntPolicy.permitWithoutStream| bool |
If true, server allows keepalive pings even when there are no active streams(RPCs). Otherwise the server close connection.|
true`...(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)
45-45
: Add a comma after 'after MaxConnectionAge'.A comma may be missing after the phrase 'after MaxConnectionAge'.
- | `apis.grpc.keepAlive.maxConnectionAgeGrace` | string | `An additive period after MaxConnectionAge after which the connection will be forcibly closed. 0s means infinity.` | `0s` | + | `apis.grpc.keepAlive.maxConnectionAgeGrace` | string | `An additive period after MaxConnectionAge, after which the connection will be forcibly closed. 0s means infinity.` | `0s` |Tools
LanguageTool
[uncategorized] ~45-~45: Possible missing comma found.
Context: ...Alive.maxConnectionAgeGrace| string |
An additive period after MaxConnectionAge after which the connection will be forc...(AI_HYDRA_LEO_MISSING_COMMA)
72-72
: Clarify the description forapis.http.address
.It looks like there is a word missing here. Did you mean “Listen to specification”?
- | `apis.http.address` | string | `Listen specification <host>:<port> for http client connection.` | `"0.0.0.0:9101"` | + | `apis.http.address` | string | `Listen to specification <host>:<port> for http client connection.` | `"0.0.0.0:9101"` |Tools
LanguageTool
[grammar] ~72-~72: It looks like there is a word missing here. Did you mean “Listen to specification”?
Context: ...---- | |apis.http.address
| string | `Listen specification : for http client connectio...(LISTEN_TO_ME)
80-80
: Use 'an' instead of 'a'.Use “an” instead of ‘a’ if the following word starts with a vowel sound, e.g. ‘an article’, ‘an hour’.
- plgd hub uses NATS messaging system as a event bus to be notified about device changes to trigger conditions evaluation. + plgd hub uses NATS messaging system as an event bus to be notified about device changes to trigger conditions evaluation.Tools
LanguageTool
[misspelling] ~80-~80: Use “an” instead of ‘a’ if the following word starts with a vowel sound, e.g. ‘an article’, ‘an hour’.
Context: ... plgd hub uses NATS messaging system as a event bus to be notified about device c...(EN_A_VS_AN)
117-117
: Add a comma after 'Otherwise'.A comma may be missing after the conjunctive/linking adverb 'Otherwise'.
- | `clients.resourceAggregate.grpc.enforcementPolicy.minTime` | string | `The minimum amount of time a client should wait before sending a keepalive ping. Otherwise the server close connection.` | `5s`| + | `clients.resourceAggregate.grpc.enforcementPolicy.minTime` | string | `The minimum amount of time a client should wait before sending a keepalive ping. Otherwise, the server close connection.` | `5s`|Tools
LanguageTool
[uncategorized] ~117-~117: A comma may be missing after the conjunctive/linking adverb ‘Otherwise’.
Context: ...c.enforcementPolicy.minTime| string |
The minimum amount of time a client should wait before sending a keepalive ping. Otherwise the server close connection.|
5s`| |...(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)
118-118
: Add a comma after 'Otherwise'.A comma may be missing after the conjunctive/linking adverb 'Otherwise'.
- | `clients.resourceAggregate.grpc.enforcementPolicy.permitWithoutStream` | bool | `If true, server allows keepalive pings even when there are no active streams(RPCs). Otherwise the server close connection.` | `true` | + | `clients.resourceAggregate.grpc.enforcementPolicy.permitWithoutStream` | bool | `If true, server allows keepalive pings even when there are no active streams(RPCs). Otherwise, the server close connection.` | `true` |Tools
LanguageTool
[uncategorized] ~118-~118: A comma may be missing after the conjunctive/linking adverb ‘Otherwise’.
Context: ...ntPolicy.permitWithoutStream| bool |
If true, server allows keepalive pings even when there are no active streams(RPCs). Otherwise the server close connection.|
true`...(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)
121-121
: Add a comma after 'after MaxConnectionAge'.A comma may be missing after the phrase 'after MaxConnectionAge'.
- | `clients.resourceAggregate.grpc.keepAlive.maxConnectionAgeGrace` | string | `An additive period after MaxConnectionAge after which the connection will be forcibly closed. 0s means infinity.` | `0s` | + | `clients.resourceAggregate.grpc.keepAlive.maxConnectionAgeGrace` | string | `An additive period after MaxConnectionAge, after which the connection will be forcibly closed. 0s means infinity.` | `0s` |Tools
LanguageTool
[uncategorized] ~121-~121: Possible missing comma found.
Context: ...Alive.maxConnectionAgeGrace| string |
An additive period after MaxConnectionAge after which the connection will be forc...(AI_HYDRA_LEO_MISSING_COMMA)
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (2)
- content/en/docs/configuration/snippet-service.md (1 hunks)
- content/en/docs/features/control-plane/control-plane.md (1 hunks)
Files skipped from review as they are similar to previous changes (1)
- content/en/docs/features/control-plane/control-plane.md
Additional context used
LanguageTool
content/en/docs/configuration/snippet-service.md
[grammar] ~38-~38: It looks like there is a word missing here. Did you mean “Listen to specification”?
Context: ...---- | |apis.grpc.address
| string | `Listen specification : for grpc client connectio...(LISTEN_TO_ME)
[uncategorized] ~41-~41: A comma may be missing after the conjunctive/linking adverb ‘Otherwise’.
Context: ...c.enforcementPolicy.minTime| string |
The minimum amount of time a client should wait before sending a keepalive ping. Otherwise the server close connection.|
5s`| |...(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)
[uncategorized] ~42-~42: A comma may be missing after the conjunctive/linking adverb ‘Otherwise’.
Context: ...ntPolicy.permitWithoutStream| bool |
If true, server allows keepalive pings even when there are no active streams(RPCs). Otherwise the server close connection.|
true`...(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)
[uncategorized] ~45-~45: Possible missing comma found.
Context: ...Alive.maxConnectionAgeGrace| string |
An additive period after MaxConnectionAge after which the connection will be forc...(AI_HYDRA_LEO_MISSING_COMMA)
[grammar] ~72-~72: It looks like there is a word missing here. Did you mean “Listen to specification”?
Context: ...---- | |apis.http.address
| string | `Listen specification : for http client connectio...(LISTEN_TO_ME)
[misspelling] ~80-~80: Use “an” instead of ‘a’ if the following word starts with a vowel sound, e.g. ‘an article’, ‘an hour’.
Context: ... plgd hub uses NATS messaging system as a event bus to be notified about device c...(EN_A_VS_AN)
[uncategorized] ~117-~117: A comma may be missing after the conjunctive/linking adverb ‘Otherwise’.
Context: ...c.enforcementPolicy.minTime| string |
The minimum amount of time a client should wait before sending a keepalive ping. Otherwise the server close connection.|
5s`| |...(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)
[uncategorized] ~118-~118: A comma may be missing after the conjunctive/linking adverb ‘Otherwise’.
Context: ...ntPolicy.permitWithoutStream| bool |
If true, server allows keepalive pings even when there are no active streams(RPCs). Otherwise the server close connection.|
true`...(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)
[uncategorized] ~121-~121: Possible missing comma found.
Context: ...Alive.maxConnectionAgeGrace| string |
An additive period after MaxConnectionAge after which the connection will be forc...(AI_HYDRA_LEO_MISSING_COMMA)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- content/en/docs/features/control-plane/control-plane.md (1 hunks)
Files skipped from review as they are similar to previous changes (1)
- content/en/docs/features/control-plane/control-plane.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 13
Outside diff range, codebase verification and nitpick comments (1)
content/en/docs/configuration/snippet-service.md (1)
20-20
: Fix the link text for YAML configuration template.The link text should be more descriptive.
- A configuration template is available on [snippet-service/config.yaml](https://github.com/plgd-dev/hub/blob/main/snippet-service/config.yaml). + A configuration template is available at [snippet-service/config.yaml](https://github.com/plgd-dev/hub/blob/main/snippet-service/config.yaml).
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (2)
- content/en/docs/configuration/snippet-service.md (1 hunks)
- content/en/docs/services/snippet-service/features.md (1 hunks)
Files skipped from review as they are similar to previous changes (1)
- content/en/docs/services/snippet-service/features.md
Additional context used
LanguageTool
content/en/docs/configuration/snippet-service.md
[grammar] ~38-~38: It looks like there is a word missing here. Did you mean “Listen to specification”?
Context: ...---- | |apis.grpc.address
| string | `Listen specification : for grpc client connectio...(LISTEN_TO_ME)
[uncategorized] ~41-~41: A comma may be missing after the conjunctive/linking adverb ‘Otherwise’.
Context: ...c.enforcementPolicy.minTime| string |
The minimum amount of time a client should wait before sending a keepalive ping. Otherwise the server close connection.|
5s`| |...(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)
[uncategorized] ~42-~42: A comma may be missing after the conjunctive/linking adverb ‘Otherwise’.
Context: ...ntPolicy.permitWithoutStream| bool |
If true, server allows keepalive pings even when there are no active streams(RPCs). Otherwise the server close connection.|
true`...(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)
[grammar] ~72-~72: It looks like there is a word missing here. Did you mean “Listen to specification”?
Context: ...---- | |apis.http.address
| string | `Listen specification : for http client connectio...(LISTEN_TO_ME)
[misspelling] ~80-~80: Use “an” instead of ‘a’ if the following word starts with a vowel sound, e.g. ‘an article’, ‘an hour’.
Context: ... plgd hub uses NATS messaging system as a event bus to be notified about device c...(EN_A_VS_AN)
[uncategorized] ~117-~117: A comma may be missing after the conjunctive/linking adverb ‘Otherwise’.
Context: ...c.enforcementPolicy.minTime| string |
The minimum amount of time a client should wait before sending a keepalive ping. Otherwise the server close connection.|
5s`| |...(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)
[uncategorized] ~118-~118: A comma may be missing after the conjunctive/linking adverb ‘Otherwise’.
Context: ...ntPolicy.permitWithoutStream| bool |
If true, server allows keepalive pings even when there are no active streams(RPCs). Otherwise the server close connection.|
true`...(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)
[uncategorized] ~121-~121: Possible missing comma found.
Context: ...Alive.maxConnectionAgeGrace| string |
An additive period after MaxConnectionAge after which the connection will be forc...(AI_HYDRA_LEO_MISSING_COMMA)
Additional comments not posted (5)
content/en/docs/configuration/snippet-service.md (5)
1-8
: Metadata section looks good.The metadata section follows the correct format and contains appropriate information.
10-10
: Description section looks good.The description provides a clear and concise overview of the Snippet service.
12-16
: Docker image section looks good.The command to pull the Docker image is correct and follows the standard format.
92-107
: Storage section looks good.The section is well-organized and provides detailed information on configuration properties.
129-144
: OpenTelemetry exporter section looks good.The section is well-organized and provides detailed information on configuration properties.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 10
Outside diff range, codebase verification and nitpick comments (12)
content/en/docs/configuration/identity-store.md (5)
39-39
: Clarify the default value forapis.grpc.sendMsgSize
.The description states "0 means 2147483647," but the default value is
4194304
. This might be confusing.Consider rephrasing for clarity:
- `Set the max message size in bytes the server can send. 0 means 2147483647` + `Set the max message size in bytes the server can send. Default is 4194304 bytes. 0 means 2147483647 bytes.`
40-40
: Clarify the default value forapis.grpc.recvMsgSize
.The description states "0 means 4194304," but the default value is
4194304
. This might be confusing.Consider rephrasing for clarity:
- `Set the max message size in bytes the server can receive. 0 means 4194304` + `Set the max message size in bytes the server can receive. Default is 4194304 bytes. 0 means 4194304 bytes.`
54-63
: Ensure consistency in the descriptions ofapis.grpc.authorization.endpoints[].http
properties.The descriptions are clear, but ensure they are consistently formatted and provide necessary details.
For example, consider adding units for time-related properties:
- `The maximum amount of time an idle (keep-alive) connection will remain idle before closing itself. Zero means no limit.` + `The maximum amount of time (in seconds) an idle (keep-alive) connection will remain idle before closing itself. Zero means no limit.`
94-108
: Ensure clarity in OpenTelemetry exporter settings descriptions.The descriptions are clear, but ensure they provide necessary details and units where applicable.
For example, consider adding units for time-related properties:
- `After a duration of this time if the client doesn't see any activity it pings the server to see if the transport is still alive.` + `After a duration of this time (in seconds) if the client doesn't see any activity it pings the server to see if the transport is still alive.`
109-111
: Ensure clarity in the note on time-related string types.The note is clear but ensure it provides necessary details and examples.
Consider adding more examples for clarity:
- `Valid time units are "ns", "us", "ms", "s", "m", "h".` + `Valid time units are "ns" (nanoseconds), "us" (microseconds), "ms" (milliseconds), "s" (seconds), "m" (minutes), "h" (hours).`content/en/docs/configuration/certificate-authority.md (5)
41-41
: Clarify the default value forapis.grpc.sendMsgSize
.The description states "0 means 2147483647," but the default value is
4194304
. This might be confusing.Consider rephrasing for clarity:
- `Set the max message size in bytes the server can send. 0 means 2147483647` + `Set the max message size in bytes the server can send. Default is 4194304 bytes. 0 means 2147483647 bytes.`
42-42
: Clarify the default value forapis.grpc.recvMsgSize
.The description states "0 means 4194304," but the default value is
4194304
. This might be confusing.Consider rephrasing for clarity:
- `Set the max message size in bytes the server can receive. 0 means 4194304` + `Set the max message size in bytes the server can receive. Default is 4194304 bytes. 0 means 4194304 bytes.`
56-65
: Ensure consistency in the descriptions ofapis.grpc.authorization.endpoints[].http
properties.The descriptions are clear, but ensure they are consistently formatted and provide necessary details.
For example, consider adding units for time-related properties:
- `The maximum amount of time an idle (keep-alive) connection will remain idle before closing itself. Zero means no limit.` + `The maximum amount of time (in seconds) an idle (keep-alive) connection will remain idle before closing itself. Zero means no limit.`
80-94
: Ensure clarity in OpenTelemetry exporter settings descriptions.The descriptions are clear, but ensure they provide necessary details and units where applicable.
For example, consider adding units for time-related properties:
- `After a duration of this time if the client doesn't see any activity it pings the server to see if the transport is still alive.` + `After a duration of this time (in seconds) if the client doesn't see any activity it pings the server to see if the transport is still alive.`
95-97
: Ensure clarity in the note on time-related string types.The note is clear but ensure it provides necessary details and examples.
Consider adding more examples for clarity:
- `Valid time units are "ns", "us", "ms", "s", "m", "h".` + `Valid time units are "ns" (nanoseconds), "us" (microseconds), "ms" (milliseconds), "s" (seconds), "m" (minutes), "h" (hours).`content/en/docs/configuration/snippet-service.md (2)
39-39
: Clarify the default value forapis.grpc.sendMsgSize
.The description states "0 means 2147483647," but the default value is
4194304
. This might be confusing.Consider rephrasing for clarity:
- `Set the max message size in bytes the server can send. 0 means 2147483647` + `Set the max message size in bytes the server can send. Default is 4194304 bytes. 0 means 2147483647 bytes.`
40-40
: Clarify the default value forapis.grpc.recvMsgSize
.The description states "0 means 4194304," but the default value is
4194304
. This might be confusing.Consider rephrasing for clarity:
- `Set the max message size in bytes the server can receive. 0 means 4194304` + `Set the max message size in bytes the server can receive. Default is 4194304 bytes. 0 means 4194304 bytes.`
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (6)
- content/en/docs/configuration/certificate-authority.md (2 hunks)
- content/en/docs/configuration/grpc-gateway.md (2 hunks)
- content/en/docs/configuration/identity-store.md (2 hunks)
- content/en/docs/configuration/resource-aggregate.md (2 hunks)
- content/en/docs/configuration/resource-directory.md (2 hunks)
- content/en/docs/configuration/snippet-service.md (1 hunks)
Files skipped from review as they are similar to previous changes (3)
- content/en/docs/configuration/grpc-gateway.md
- content/en/docs/configuration/resource-aggregate.md
- content/en/docs/configuration/resource-directory.md
Additional context used
LanguageTool
content/en/docs/configuration/identity-store.md
[uncategorized] ~41-~41: You might be missing the article “the” here.
Context: ...c.enforcementPolicy.minTime| string |
The minimum amount of time a client should wait before sending a keepalive ping. Otherwise, the server close connection.|
5s| |
apis.grpc.enforcementPolic...(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~42-~42: You might be missing the article “the” here.
Context: ...ntPolicy.permitWithoutStream| bool |
If true, server allows keepalive pings even when there are no active streams(RPCs). Otherwise, the server close connection.|
true| |
apis.grpc.keepAlive.ma...(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~46-~46: A comma might be missing here.
Context: ...|apis.grpc.keepAlive.time
| string | `After a duration of this time if the server doesn't see any activity ...(AI_EN_LECTOR_MISSING_PUNCTUATION_COMMA)
content/en/docs/configuration/certificate-authority.md
[grammar] ~40-~40: It looks like there is a word missing here. Did you mean “Listen to specification”?
Context: ...---- | |apis.grpc.address
| string | `Listen specification : for grpc client connectio...(LISTEN_TO_ME)
[uncategorized] ~43-~43: You might be missing the article “the” here.
Context: ...c.enforcementPolicy.minTime| string |
The minimum amount of time a client should wait before sending a keepalive ping. Otherwise, the server close connection.|
5s| |
apis.grpc.enforcementPolic...(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~44-~44: You might be missing the article “the” here.
Context: ...ntPolicy.permitWithoutStream| bool |
If true, server allows keepalive pings even when there are no active streams(RPCs). Otherwise, the server close connection.|
true| |
apis.grpc.keepAlive.ma...(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~48-~48: A comma might be missing here.
Context: ...|apis.grpc.keepAlive.time
| string | `After a duration of this time if the server doesn't see any activity ...(AI_EN_LECTOR_MISSING_PUNCTUATION_COMMA)
content/en/docs/configuration/snippet-service.md
[grammar] ~38-~38: It looks like there is a word missing here. Did you mean “Listen to specification”?
Context: ...---- | |apis.grpc.address
| string | `Listen specification : for grpc client connectio...(LISTEN_TO_ME)
[grammar] ~72-~72: It looks like there is a word missing here. Did you mean “Listen to specification”?
Context: ...---- | |apis.http.address
| string | `Listen specification : for http client connectio...(LISTEN_TO_ME)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 6
Outside diff range, codebase verification and nitpick comments (1)
content/en/docs/configuration/grpc-gateway.md (1)
Line range hint
72-72
:
Fix grammatical issue in HTTP API address description.It looks like there is a word missing. Did you mean “Listen to specification”?
- | `apis.http.address` | string | `Listen specification <host>:<port> for http client connection.` | `"0.0.0.0:9101"` | + | `apis.http.address` | string | `Listen to specification <host>:<port> for http client connection.` | `"0.0.0.0:9101"` |Tools
LanguageTool
[grammar] ~38-~38: It looks like there is a word missing here. Did you mean “Listen to specification”?
Context: ...---- | |apis.grpc.address
| string | `Listen specification : for grpc client connectio...(LISTEN_TO_ME)
[uncategorized] ~48-~48: A comma might be missing here.
Context: ...|apis.grpc.keepAlive.time
| string | `After a duration of this time if the server doesn't see any activity ...(AI_EN_LECTOR_MISSING_PUNCTUATION_COMMA)
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (6)
- content/en/docs/configuration/certificate-authority.md (2 hunks)
- content/en/docs/configuration/grpc-gateway.md (2 hunks)
- content/en/docs/configuration/identity-store.md (2 hunks)
- content/en/docs/configuration/resource-aggregate.md (2 hunks)
- content/en/docs/configuration/resource-directory.md (2 hunks)
- content/en/docs/configuration/snippet-service.md (1 hunks)
Files skipped from review as they are similar to previous changes (3)
- content/en/docs/configuration/identity-store.md
- content/en/docs/configuration/resource-aggregate.md
- content/en/docs/configuration/resource-directory.md
Additional context used
LanguageTool
content/en/docs/configuration/certificate-authority.md
[grammar] ~40-~40: It looks like there is a word missing here. Did you mean “Listen to specification”?
Context: ...---- | |apis.grpc.address
| string | `Listen specification : for grpc client connectio...(LISTEN_TO_ME)
content/en/docs/configuration/grpc-gateway.md
[uncategorized] ~48-~48: A comma might be missing here.
Context: ...|apis.grpc.keepAlive.time
| string | `After a duration of this time if the server doesn't see any activity ...(AI_EN_LECTOR_MISSING_PUNCTUATION_COMMA)
content/en/docs/configuration/snippet-service.md
[grammar] ~38-~38: It looks like there is a word missing here. Did you mean “Listen to specification”?
Context: ...---- | |apis.grpc.address
| string | `Listen specification : for grpc client connectio...(LISTEN_TO_ME)
[grammar] ~72-~72: It looks like there is a word missing here. Did you mean “Listen to specification”?
Context: ...---- | |apis.http.address
| string | `Listen specification : for http client connectio...(LISTEN_TO_ME)
Additional comments not posted (12)
content/en/docs/configuration/certificate-authority.md (6)
56-63
: LGTM!The new properties related to authorization endpoints are clear and well-defined.
86-94
: LGTM!The new properties for OpenTelemetry exporter configuration are well-defined and enhance the configuration flexibility.
Line range hint
95-101
:
LGTM!The descriptions for signer settings are clear and well-defined.
Line range hint
147-149
:
LGTM!The note about time-related string types is clear and informative.
Tools
LanguageTool
[grammar] ~40-~40: It looks like there is a word missing here. Did you mean “Listen to specification”?
Context: ...---- | |apis.grpc.address
| string | `Listen specification : for grpc client connectio...(LISTEN_TO_ME)
47-47
: Add missing comma in keepAlive.maxConnectionAgeGrace description.A comma may be missing after "MaxConnectionAge".
- | `apis.grpc.keepAlive.maxConnectionAgeGrace` | string | `An additive period after MaxConnectionAge, after which the connection will be forcibly closed. 0s means infinity.` | `0s` | + | `apis.grpc.keepAlive.maxConnectionAgeGrace` | string | `An additive period after MaxConnectionAge, after which the connection will be forcibly closed. 0s means infinity.` | `0s` |Likely invalid or redundant comment.
43-44
: Add missing article "the" and fix grammatical issues in enforcement policy descriptions.The descriptions should read "the server closes the connection."
- | `apis.grpc.enforcementPolicy.minTime` | string | `The minimum amount of time a client should wait before sending a keepalive ping. Otherwise, the server closes the connection.` | `5s`| + | `apis.grpc.enforcementPolicy.minTime` | string | `The minimum amount of time a client should wait before sending a keepalive ping. Otherwise, the server closes the connection.` | `5s`| - | `apis.grpc.enforcementPolicy.permitWithoutStream` | bool | `If true, the server allows keepalive pings even when there are no active streams (RPCs). Otherwise, the server closes the connection.` | `true` | + | `apis.grpc.enforcementPolicy.permitWithoutStream` | bool | `If true, the server allows keepalive pings even when there are no active streams (RPCs). Otherwise, the server closes the connection.` | `true` |Likely invalid or redundant comment.
content/en/docs/configuration/grpc-gateway.md (5)
56-63
: LGTM!The new properties related to authorization endpoints are clear and well-defined.
133-143
: LGTM!The new properties for OpenTelemetry exporter configuration are well-defined and enhance the configuration flexibility.
Line range hint
145-149
:
LGTM!The note about time-related string types is clear and informative.
39-40
: Fix grammatical issue in gRPC API address description.It looks like there is a word missing. Did you mean “Listen to specification”?
- | `apis.grpc.address` | string | `Listen specification <host>:<port> for grpc client connection.` | `"0.0.0.0:9100"` | + | `apis.grpc.address` | string | `Listen to specification <host>:<port> for grpc client connection.` | `"0.0.0.0:9100"` |Likely invalid or redundant comment.
43-44
: Add missing article "the" and fix grammatical issues in enforcement policy descriptions.The descriptions should read "the server closes the connection."
- | `apis.grpc.enforcementPolicy.minTime` | string | `The minimum amount of time a client should wait before sending a keepalive ping. Otherwise, the server closes the connection.` | `5s`| + | `apis.grpc.enforcementPolicy.minTime` | string | `The minimum amount of time a client should wait before sending a keepalive ping. Otherwise, the server closes the connection.` | `5s`| - | `apis.grpc.enforcementPolicy.permitWithoutStream` | bool | `If true, the server allows keepalive pings even when there are no active streams (RPCs). Otherwise, the server closes the connection.` | `true` | + | `apis.grpc.enforcementPolicy.permitWithoutStream` | bool | `If true, the server allows keepalive pings even when there are no active streams (RPCs). Otherwise, the server closes the connection.` | `true` |Likely invalid or redundant comment.
content/en/docs/configuration/snippet-service.md (1)
39-40
: Clarify default values for message size limits.The descriptions for
apis.grpc.sendMsgSize
andapis.grpc.recvMsgSize
mention that 0 means a specific value. Ensure the default values are clear and consistent.- | `apis.grpc.sendMsgSize` | int32 | `Set the max message size in bytes the server can send. 0 means 2147483647` | `4194304` | + | `apis.grpc.sendMsgSize` | int32 | `Set the max message size in bytes the server can send. 0 means 2147483647.` | `4194304` | - | `apis.grpc.recvMsgSize` | int32 | `Set the max message size in bytes the server can receive. 0 means 4194304` | `4194304` | + | `apis.grpc.recvMsg </blockquote></details> </blockquote></details> </details> <!-- This is an auto-generated comment by CodeRabbit for review status -->
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (6)
- content/en/docs/configuration/certificate-authority.md (2 hunks)
- content/en/docs/configuration/grpc-gateway.md (2 hunks)
- content/en/docs/configuration/identity-store.md (2 hunks)
- content/en/docs/configuration/resource-aggregate.md (2 hunks)
- content/en/docs/configuration/resource-directory.md (2 hunks)
- content/en/docs/configuration/snippet-service.md (1 hunks)
Files skipped from review as they are similar to previous changes (4)
- content/en/docs/configuration/certificate-authority.md
- content/en/docs/configuration/grpc-gateway.md
- content/en/docs/configuration/identity-store.md
- content/en/docs/configuration/resource-aggregate.md
Additional context used
LanguageTool
content/en/docs/configuration/resource-directory.md
[uncategorized] ~47-~47: A comma might be missing here.
Context: ...|apis.grpc.keepAlive.time
| string | `After a duration of this time if the server doesn't see any activity ...(AI_EN_LECTOR_MISSING_PUNCTUATION_COMMA)
content/en/docs/configuration/snippet-service.md
[grammar] ~72-~72: It looks like there is a word missing here. Did you mean “Listen to specification”?
Context: ...---- | |apis.http.address
| string | `Listen specification : for http client connectio...(LISTEN_TO_ME)
Additional comments not posted (16)
content/en/docs/configuration/resource-directory.md (8)
39-39
: LGTM!The
apis.grpc.sendMsgSize
property is well-defined with a clear description and default value.
40-40
: LGTM!The
apis.grpc.recvMsgSize
property is well-defined with a clear description and default value.
55-55
: LGTM!The
apis.grpc.authorization.endpoints[].authority
property is well-defined and the restructuring allows for more granular configuration.
56-56
: LGTM!The
apis.grpc.authorization.endpoints[].http.maxIdleConns
property is well-defined and the restructuring allows for more granular configuration.
57-57
: LGTM!The
apis.grpc.authorization.endpoints[].http.maxConnsPerHost
property is well-defined and the restructuring allows for more granular configuration.
58-58
: LGTM!The
apis.grpc.authorization.endpoints[].http.maxIdleConnsPerHost
property is well-defined and the restructuring allows for more granular configuration.
59-59
: LGTM!The
apis.grpc.authorization.endpoints[].http.idleConnTimeout
property is well-defined and the restructuring allows for more granular configuration.
60-60
: LGTM!The
apis.grpc.authorization.endpoints[].http.timeout
property is well-defined and the restructuring allows for more granular configuration.content/en/docs/configuration/snippet-service.md (8)
39-39
: LGTM!The
apis.grpc.sendMsgSize
property is well-defined with a clear description and default value.
40-40
: LGTM!The
apis.grpc.recvMsgSize
property is well-defined with a clear description and default value.
54-54
: LGTM!The
apis.grpc.authorization.endpoints[].authority
property is well-defined with a clear description.
55-55
: LGTM!The
apis.grpc.authorization.endpoints[].http.maxIdleConns
property is well-defined with a clear description.
56-56
: LGTM!The
apis.grpc.authorization.endpoints[].http.maxConnsPerHost
property is well-defined with a clear description.
57-57
: LGTM!The
apis.grpc.authorization.endpoints[].http.maxIdleConnsPerHost
property is well-defined with a clear description.
58-58
: LGTM!The
apis.grpc.authorization.endpoints[].http.idleConnTimeout
property is well-defined with a clear description.
59-59
: LGTM!The
apis.grpc.authorization.endpoints[].http.timeout
property is well-defined with a clear description.
Quality Gate passedIssues Measures |
Summary by CodeRabbit