A lot of code imports semantic conventions attributes from opentelemetry.semconv.trace.SpanAttributes instead of the preferred opentelemetry.semconv.attributes and opentelemetry.semconv.incubating.
This issue it is only about removing usage of SpanAttributes while not changing the output of the telemetry. If some attributes (e.g. in messaging) are not available anymore just keep using the one from SpanAttributes.
Here's the list of of packages found grepping SpanAttributes on a recent checkout. Some packages may be more easy than others to convert since there may just be a couple of instances to fix.
People willing to help with this, state in the issue on what package you are going to work and you have 1 week to create a PR, after that we'll consider the package available to others.
The PR message should contains Refs #3475 instead of Fixes #3475.
Entries per file to fix git grep SpanAttributes | cut -d : -f1 | uniq -c or per package to fix git grep SpanAttributes | cut -d : -f1 | cut -d / -f2 | uniq -c.
A lot of code imports semantic conventions attributes from
opentelemetry.semconv.trace.SpanAttributesinstead of the preferredopentelemetry.semconv.attributesandopentelemetry.semconv.incubating.This issue it is only about removing usage of
SpanAttributeswhile not changing the output of the telemetry. If some attributes (e.g. in messaging) are not available anymore just keep using the one fromSpanAttributes.Here's the list of of packages found grepping
SpanAttributeson a recent checkout. Some packages may be more easy than others to convert since there may just be a couple of instances to fix.People willing to help with this, state in the issue on what package you are going to work and you have 1 week to create a PR, after that we'll consider the package available to others.
The PR message should contains
Refs #3475instead ofFixes #3475.SpanAttributeswithopentelemetry.semconv.attributes#3491Entries per file to fix
git grep SpanAttributes | cut -d : -f1 | uniq -cor per package to fixgit grep SpanAttributes | cut -d : -f1 | cut -d / -f2 | uniq -c.