Skip to content

Commit

Permalink
added a comment exmplaining the reason behind log record attribute ex…
Browse files Browse the repository at this point in the history
…clusion
  • Loading branch information
a-recknagel authored and Arne Caratti committed Feb 13, 2024
1 parent 772be51 commit b0a5a8d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,15 @@
_DEFAULT_OTEL_ATTRIBUTE_COUNT_LIMIT = 128
_ENV_VALUE_UNSET = ""
_EXCLUDED_ATTRIBUTES = {
# pseudo-private log-record attributes, they just get dropped
"args",
"msg",
"message",
"stack_info",
"exc_info",
"exc_text",
# attributes that are retained, but with a different name
# following semantic conventions
"pathname",
"funcName",
"lineno",
Expand Down

0 comments on commit b0a5a8d

Please sign in to comment.