Skip to content

Commit b47f377

Browse files
therepaniconobc
authored andcommitted
fix Observation property name in _configprops.adoc
Closes: gh-269 Signed-off-by: Andrey Litvitski <[email protected]> d
1 parent 8216844 commit b47f377

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

spring-grpc-docs/src/main/antora/modules/ROOT/partials/_configprops.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
|spring.grpc.client.enabled | `+++true+++` | Whether to enable client autoconfiguration.
2424
|spring.grpc.client.inprocess.enabled | `+++true+++` | Whether to configure the in-process channel factory.
2525
|spring.grpc.client.inprocess.exclusive | `+++true+++` | Whether the inprocess channel factory should be the only channel factory available. When the value is true, no other channel factory will be configured.
26-
|spring.grpc.client.observations.enabled | `+++true+++` | Whether to enable Observations on the client.
26+
|spring.grpc.client.observation.enabled | `+++true+++` | Whether to enable Observations on the client.
2727
|spring.grpc.server.address | | The address to bind to. could be a host:port combination or a pseudo URL like static://host:port. Can not be set if host or port are set independently.
2828
|spring.grpc.server.enabled | `+++true+++` | Whether to enable server autoconfiguration.
2929
|spring.grpc.server.exception-handling.enabled | `+++true+++` | Whether to enable user-defined global exception handling on the gRPC server.
@@ -45,7 +45,7 @@
4545
|spring.grpc.server.keep-alive.timeout | `+++20s+++` | Maximum time to wait for read activity after sending a keep alive ping. If sender does not receive an acknowledgment within this time, it will close the connection (default 20s).
4646
|spring.grpc.server.max-inbound-message-size | `+++4194304B+++` | Maximum message size allowed to be received by the server (default 4MiB).
4747
|spring.grpc.server.max-inbound-metadata-size | `+++8192B+++` | Maximum metadata size allowed to be received by the server (default 8KiB).
48-
|spring.grpc.server.observations.enabled | `+++true+++` | Whether to enable Observations on the server.
48+
|spring.grpc.server.observation.enabled | `+++true+++` | Whether to enable Observations on the server.
4949
|spring.grpc.server.port | `+++9090+++` | Server port to listen on. When the value is 0, a random available port is selected. The default is 9090.
5050
|spring.grpc.server.reflection.enabled | `+++true+++` | Whether to enable Reflection on the gRPC server.
5151
|spring.grpc.server.security.csrf.enabled | `+++false+++` | Whether to enable CSRF protection on gRPC requests.

spring-grpc-spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"defaultValue": true
3737
},
3838
{
39-
"name": "spring.grpc.server.observations.enabled",
39+
"name": "spring.grpc.server.observation.enabled",
4040
"type": "java.lang.Boolean",
4141
"description": "Whether to enable Observations on the server.",
4242
"defaultValue": true
@@ -60,7 +60,7 @@
6060
"defaultValue": true
6161
},
6262
{
63-
"name": "spring.grpc.client.observations.enabled",
63+
"name": "spring.grpc.client.observation.enabled",
6464
"type": "java.lang.Boolean",
6565
"description": "Whether to enable Observations on the client.",
6666
"defaultValue": true

0 commit comments

Comments
 (0)