Update aws sdk2 instrumentation to follow semconv#15028
Update aws sdk2 instrumentation to follow semconv#15028trask merged 5 commits intoopen-telemetry:mainfrom
Conversation
There was a problem hiding this comment.
should we mark this as a breaking change? With some description like:
The following attributes have been renamed to adhere to semantic conventions:
- aws.dynamodb.provisioned_throughput.read_capacity_units -> aws.dynamodb.provisioned_read_capacity (value went from long to double)
- aws.dynamodb.provisioned_throughput.write_capacity_units -> aws.dynamodb.provisioned_write_capacity (value went from long to double)
- aws.dynamodb.exclusive_start_table_name -> aws.dynamodb.exclusive_start_table
And the following attributes are no longer emitted by default, but can be enabled with the experimental flag:
- aws.queue.name
- aws.lambda.function.name
- aws.lambda.function.arn
I think so. Our convention is to not emit non-spec attributes by default. By that logic these attributes should have been behind the experimental flag, but apparently we messed up. In we check whether experimental flags are enabled but in request attributes are added by default, but response attributes require the experimental flag.
|
|
Resolves #14580
Update attribute names and types and enable the ones that are in spec without the experimental falg. This PR also affects some attributes that were generated without the experimental flag, but aren't in the semantic conventions such as
aws.queue.urlandaws.queue.name.