From 1ee51e410e90de9a54e1f840c63b222d390f921f Mon Sep 17 00:00:00 2001 From: Lauri Tulmin Date: Fri, 22 Dec 2023 10:26:14 +0200 Subject: [PATCH] Add missing configuration options to grpc readme (#10113) --- instrumentation/grpc-1.6/README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/instrumentation/grpc-1.6/README.md b/instrumentation/grpc-1.6/README.md index e392205b89ad..6d590ac3d0d0 100644 --- a/instrumentation/grpc-1.6/README.md +++ b/instrumentation/grpc-1.6/README.md @@ -1,5 +1,7 @@ # Settings for the gRPC instrumentation -| System property | Type | Default | Description | -| -------------------------------------------------------- | ------- | ------- | --------------------------------------------------- | -| `otel.instrumentation.grpc.experimental-span-attributes` | Boolean | `false` | Enable the capture of experimental span attributes. | +| System property | Type | Default | Description | +|-------------------------------------------------------------|---------|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------| +| `otel.instrumentation.grpc.experimental-span-attributes` | Boolean | `false` | Enable the capture of experimental span attributes. | +| `otel.instrumentation.grpc.capture-metadata.client.request` | String | | A comma-separated list of request metadata keys. gRPC client instrumentation will capture metadata values corresponding to configured keys as span attributes. | +| `otel.instrumentation.grpc.capture-metadata.server.request` | String | | A comma-separated list of request metadata keys. gRPC server instrumentation will capture metadata values corresponding to configured keys as span attributes. |