Closed pellared closed 2 months ago
PS. The same problem currently exists in https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/event-api.md#emit-event
The
Name
MUST be used to set theevent.name
Attribute. If theAttributes
provided by the user contain anevent.name
attribute the value provided in theName
takes precedence.
Another problem, I see in defining
Emit an Event
method (in scope of this PR) is that there would be an ambiguity what should happen if a user adds an additionalevent.name
attribute. Should thename
parameter orevent.name
attribute have precedence?PS. The same problem currently exists in https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/event-api.md#emit-event
_Originally posted by @pellared in https://github.com/open-telemetry/opentelemetry-specification/pull/4225#discussion_r1781631410_