Skip to content

Commit 19f74b9

Browse files
authored
Updated readme with instructions to capture request and response headers in Span Attributes. (#236)
* Added Readme for Nginx Headers * Added Readme for Nginx Headers * Added Readme for Nginx Headers * Added Readme for Nginx Headers
1 parent 7432ef2 commit 19f74b9

File tree

1 file changed

+2
-1
lines changed
  • instrumentation/otel-webserver-module

1 file changed

+2
-1
lines changed

instrumentation/otel-webserver-module/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,8 @@ Currently, Nginx Webserver module monitores some fixed set of modules, which get
172172
|*NginxModuleWebserverContext* | | OPTIONAL: Takes 3 values(space-seperated) ServiceName, ServiceNamespace and ServiceInstanceId|
173173
|*NginxModuleSegmentType* | | OPTIONAL: Specify the string (FIRST/LAST/CUSTOM) to be filtered for Span Name Creation|
174174
|*NginxModuleSegmentParameter* | | OPTIONAL: Specify the segment count or segment numbers that you want to display for Span Creation|
175-
175+
|*NginxModuleRequestHeaders* | | OPTIONAL: Specify the request headers to be captured in the span attributes. The headers are Case-Sensitive and should be comma-separated. e.g.```NginxModuleRequestHeaders Accept-Charset,Accept-Encoding,User-Agent;```|
176+
|*NginxModuleResponseHeaders* | | OPTIONAL: Specify the response headers to be captured in the span attributes. The headers are Case-Sensitive and should be comma-separated. e.g.```NginxModuleResponseHeaders Content-Length,Content-Type;```|
176177

177178
### Build and Installation
178179
#### Prerequisites

0 commit comments

Comments
 (0)