Closed
Description
Feature Request
As far as I can tell, the tracing-opentelemetry code currently does not use the file()
and line()
elements of event metadata when creating an opentelemetry event. These would be nice to have in addition to the target.
Crates
tracing-opentelemetry
Motivation
More accurate information will make it easier to pinpoint issues.
Proposal
The event attributes could carry "file" and "line" attributes if the metadata yields Some
for the relevant methods.
cc @jtescher