The latest version of opentelemetry no longer includes opentelemetry_semantic_conventions as a dependency, which means bringing electric in as a dependency resulted in compilation errors.
This PR explicitly includes opentelemetry_semantic_conventions as a dependency, so fixes compilation, and updates our usage to remove the deprecated functions as well as moving to the latest attributes.
The latest version of
opentelemetry
no longer includesopentelemetry_semantic_conventions
as a dependency, which means bringingelectric
in as a dependency resulted in compilation errors.This PR explicitly includes
opentelemetry_semantic_conventions
as a dependency, so fixes compilation, and updates our usage to remove the deprecated functions as well as moving to the latest attributes.