We don't convert / clean logging body's the way we do attribute values, but I think it makes sense to do something very similar because a logging body is an AnyValue, same as attribute value.
We can cleanup docs/conf.py a bit by removing the AnyValue import / built in override, and instead import AnyValue at runtime in the modules that annotate with it.
One thing that's missing from the spec is if leaf nodes should count towards the max attribute total count, I think that is the intent but it was not clearly documented (see #4587 and #4587) -- I can clarify and clean that up in a follow up PR though, as this one is already pretty big..
We don't convert / clean logging body's the way we do attribute values, but I think it makes sense to do something very similar because a logging body is an
AnyValue, same as attribute value.We can cleanup docs/conf.py a bit by removing the
AnyValueimport / built in override, and instead importAnyValueat runtime in the modules that annotate with it.One thing that's missing from the spec is if leaf nodes should count towards the max attribute total count, I think that is the intent but it was not clearly documented (see #4587 and #4587) -- I can clarify and clean that up in a follow up PR though, as this one is already pretty big..