What happened?
The otelecho middleware retains the historical echo.error span attribute (the full handler error string) for backward compatibility, alongside the low-cardinality error.type attribute added in #9434.
echo.error is unbounded-cardinality free text on a span attribute, which is a known cardinality hazard (called out in #9376). It is retained for compatibility, but should be deprecated and eventually removed.
What you expected to happen?
Track the deprecation and removal of echo.error here, so the retention in otelecho middleware can be dropped once consumers have migrated to error.type.
Environment
- go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho
What happened?
The
otelechomiddleware retains the historicalecho.errorspan attribute (the full handler error string) for backward compatibility, alongside the low-cardinalityerror.typeattribute added in #9434.echo.erroris unbounded-cardinality free text on a span attribute, which is a known cardinality hazard (called out in #9376). It is retained for compatibility, but should be deprecated and eventually removed.What you expected to happen?
Track the deprecation and removal of
echo.errorhere, so the retention inotelechomiddleware can be dropped once consumers have migrated toerror.type.Environment