Open Flarna opened 12 months ago
I think it's kind of a wash. All aws-API-specific attributes start with aws.
, all db-related ones with db.
. You can't have both. There are some remarks regarding use of db.*
e.g. at https://github.com/open-telemetry/opentelemetry-specification/pull/1422#issuecomment-789672353
This was closed by mistake by the stale bot. Re-opening
fyi @trask
I'd vote for the db.*
prefix to be given precedence since that seems like the more important grouping from semantic convention perspective.
even if we aren't targeting dynamodb as part of initial database semconv stability, I think we should make this change as part of the initial database semconv stability process so that this breaking change could benefit from being grouped with the other breaking changes related to stabilization
I thought about this some more and changed my opinion.
we should try to stick with the philosophy "try to consolidate all breaking changes into a single bump when going stable"
and so we should defer this change until we are planing dynamodb semconv stabilization (which is not included as part of initial db semconv stability)
The span attributes for dynamodb are currently in
aws
namespace.Other databases like mondodb or mssql have their special attributes in the
db
namespace.At other places like
cloud.region
vendor namespaces are also replaced/avoided by a generic namespace.Should the dynamodb attributes moved to db namespace?