HTTP Span SemConv requires to normalize HTTP header name attributes.
using lower case is fine because HTTP tells to handle header names case insensitive (HTTP/2 requires to them even lowercase).
But replacing - by _ seems problematic because both chars are allowed in http header names.
Therefore this may result in merging/overwrite issues on instrumentation side and unclear interpretation on backend side.
HTTP Span SemConv requires to normalize HTTP header name attributes.
using lower case is fine because HTTP tells to handle header names case insensitive (HTTP/2 requires to them even lowercase).
But replacing
-by_seems problematic because both chars are allowed in http header names.Therefore this may result in merging/overwrite issues on instrumentation side and unclear interpretation on backend side.