-
Notifications
You must be signed in to change notification settings - Fork 867
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
Document captured HTTP headers configuration options #4321
Document captured HTTP headers configuration options #4321
Conversation
Co-authored-by: Fabrizio Ferri-Benedetti <[email protected]>
| `otel.instrumentation.common.experimental.capture-http-headers.client.request` | `OTEL_INSTRUMENTATION_COMMON_EXPERIMENTAL_CAPTURE_HTTP_HEADERS_CLIENT_REQUEST` | A comma-separated list of HTTP header names. HTTP client instrumentations will capture HTTP request header values for all configured header names. | ||
| `otel.instrumentation.common.experimental.capture-http-headers.client.response` | `OTEL_INSTRUMENTATION_COMMON_EXPERIMENTAL_CAPTURE_HTTP_HEADERS_CLIENT_RESPONSE` | A comma-separated list of HTTP header names. HTTP client instrumentations will capture HTTP response header values for all configured header names. | ||
| `otel.instrumentation.common.experimental.capture-http-headers.server.request` | `OTEL_INSTRUMENTATION_COMMON_EXPERIMENTAL_CAPTURE_HTTP_HEADERS_SERVER_REQUEST` | A comma-separated list of HTTP header names. HTTP server instrumentations will capture HTTP request header values for all configured header names. | ||
| `otel.instrumentation.common.experimental.capture-http-headers.server.response` | `OTEL_INSTRUMENTATION_COMMON_EXPERIMENTAL_CAPTURE_HTTP_HEADERS_SERVER_RESPONSE` | A comma-separated list of HTTP header names. HTTP server instrumentations will capture HTTP response header values for all configured header names. |
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.
these long names 😭
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.
Yeah... If somebody has a better idea for these, please speak up! Except from dropping the experimental
part at some point in time I couldn't think of anything to make them better.
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.
Wait, they’re still open for discussion? I love naming vars. Let’s discuss today. :)
Co-authored-by: Trask Stalnaker <[email protected]>
Merging, but yes @theletterf please send in any ideas! we can definitely change any of the names that have |
@trask Thanks! @mateuszrzeszutek and I tried to shorten those names, to no avail. But we did came up with an intriguing idea that would essentially get rid of |
I moved docs for properties that are common to all instrumentations to a separate file - and created a new directory for instrumentation configuration docs. Perhaps in the future we'll have a
config/reactor-netty.md
file with Reactor Netty speficic configs, aconfig/spring-batch.md
with Spring Batch configs and so on.CC @theletterf