-
Notifications
You must be signed in to change notification settings - Fork 915
Additional severity range applicable to logs with missing severity level #4478
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
Comments
I support this proposal. This is what we do in OTel Go: I wouldn't be surprised if this is something that all languages are already doing. |
Marking as ready with sponsor with @pellared as the sponsor per offline conversation |
@Vincehood, do you want to contribute to the specification yourself? I think that we can add explicitly However, I am unsure if we need/want to change the sentence below given it is not normative and it just represents an optional interpretation.
|
…0 in the specification with the meaning "UNDEFINED"
Hi! Sounds great. My team mate @peffis already created a PR. |
@Vincehood, This looks is against the original intend of the Logs spec authors. Please see the discussion under #4509 |
Uh oh!
There was an error while loading. Please reload this page.
What are you trying to achieve?
Make it possible to map logs that lack severityText and severityValue values (which is, of course, not the wanted position) to have a more usable initial default mapping until some proper log processing/re-formatting is in place.
The OpenTelemetry spec hints at the usage of INFO level in these situations (see https://opentelemetry.io/docs/specs/otel/logs/data-model/#mapping-of-severitynumber) . From a usability perspective, associating an INFO level to a log with a message indicating a critical error is not the best option and may lead to wrong conclusions.
What did you expect to see?
The OpenTelemetry spec should include an "UNKNOWN" range associated to severityValue 0. This could be used to apply a more usable raw default mapping for logs missing a severity level.
The text was updated successfully, but these errors were encountered: