lib/new_relic/agent/instrumentation/dynamodb/instrumentation.rb in newrelic_rpm-9.13.0 vs lib/new_relic/agent/instrumentation/dynamodb/instrumentation.rb in newrelic_rpm-9.14.0
- old
+ new
@@ -29,11 +29,12 @@
host: config&.endpoint&.host || DEFAULT_HOST,
port_path_or_id: config&.endpoint&.port,
collection: args[0][:table_name]
)
- arn = get_arn(args[0])
- segment&.add_agent_attribute('cloud.resource_id', arn) if arn
+ # TODO: Update this when it has been decided how to handle account id for ARN
+ # arn = get_arn(args[0])
+ # segment&.add_agent_attribute('cloud.resource_id', arn) if arn
@nr_captured_request = nil # clear request just in case
begin
NewRelic::Agent::Tracer.capture_segment_error(segment) { yield }
ensure