You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BinaryFissionGames
changed the title
[pkg/stanza] SeverityText is not properly perserved
[pkg/stanza] SeverityText is not properly preserved
Aug 12, 2022
Describe the bug
SeverityText is held on the stanza entry, but during conversion, is dropped for a SeverityText derived from the SeverityNumber.
Steps to reproduce
Using the following config:
Config
Sample Log
What did you expect to see?
I expect SeverityText on the emitted log record to be "INFO_SEVERITY"
What did you see instead?
The SeverityText is "Info"
What version did you use?
Version: 73b3ae5
Additional context
The severity text is preserved on the stanza entry, but is not mapped to the OTel entry:
opentelemetry-collector-contrib/pkg/stanza/adapter/converter.go
Line 341 in 4ac2eb5
The text was updated successfully, but these errors were encountered: