@@ -60,8 +60,9 @@ class S3TracingTest extends AgentInstrumentationSpecification {
6060          attributes {
6161            " aws.agent"   " java-aws-sdk" 
6262            " aws.endpoint"   String 
63-             " rpc.method"   " CreateQueue" 
6463            " aws.queue.name"   queueName
64+             " aws.request_id"   String 
65+             " rpc.method"   " CreateQueue" 
6566            " rpc.system"   " aws-api" 
6667            " rpc.service"   " AmazonSQS" 
6768            " $HttpAttributes . HTTP_REQUEST_METHOD  "   " POST" 
@@ -82,10 +83,10 @@ class S3TracingTest extends AgentInstrumentationSpecification {
8283          attributes {
8384            " aws.agent"   " java-aws-sdk" 
8485            " aws.endpoint"   String 
86+             " aws.bucket.name"   bucketName
8587            " rpc.method"   " CreateBucket" 
8688            " rpc.system"   " aws-api" 
8789            " rpc.service"   " Amazon S3" 
88-             " aws.bucket.name"   bucketName
8990            " $HttpAttributes . HTTP_REQUEST_METHOD  "   " PUT" 
9091            " $HttpAttributes . HTTP_RESPONSE_STATUS_CODE  "   200 
9192            " $UrlAttributes . URL_FULL  "   { it. startsWith(" http://"  ) }
@@ -104,8 +105,9 @@ class S3TracingTest extends AgentInstrumentationSpecification {
104105          attributes {
105106            " aws.agent"   " java-aws-sdk" 
106107            " aws.endpoint"   String 
107-             " rpc.method"   " GetQueueAttributes" 
108108            " aws.queue.url"   queueUrl
109+             " aws.request_id"   String 
110+             " rpc.method"   " GetQueueAttributes" 
109111            " rpc.system"   " aws-api" 
110112            " rpc.service"   " AmazonSQS" 
111113            " $HttpAttributes . HTTP_REQUEST_METHOD  "   " POST" 
@@ -126,8 +128,9 @@ class S3TracingTest extends AgentInstrumentationSpecification {
126128          attributes {
127129            " aws.agent"   " java-aws-sdk" 
128130            " aws.endpoint"   String 
129-             " rpc.method"   " SetQueueAttributes" 
130131            " aws.queue.url"   queueUrl
132+             " aws.request_id"   String 
133+             " rpc.method"   " SetQueueAttributes" 
131134            " rpc.system"   " aws-api" 
132135            " rpc.service"   " AmazonSQS" 
133136            " $HttpAttributes . HTTP_REQUEST_METHOD  "   " POST" 
@@ -188,8 +191,9 @@ class S3TracingTest extends AgentInstrumentationSpecification {
188191          attributes {
189192            " aws.agent"   " java-aws-sdk" 
190193            " aws.endpoint"   String 
191-             " rpc.method"   " ReceiveMessage" 
192194            " aws.queue.url"   queueUrl
195+             " aws.request_id"   String 
196+             " rpc.method"   " ReceiveMessage" 
193197            " rpc.system"   " aws-api" 
194198            " rpc.service"   " AmazonSQS" 
195199            " $HttpAttributes . HTTP_REQUEST_METHOD  "   " POST" 
@@ -282,8 +286,9 @@ class S3TracingTest extends AgentInstrumentationSpecification {
282286          attributes {
283287            " aws.agent"   " java-aws-sdk" 
284288            " aws.endpoint"   String 
285-             " rpc.method"   " PurgeQueue" 
286289            " aws.queue.url"   queueUrl
290+             " aws.request_id"   String 
291+             " rpc.method"   " PurgeQueue" 
287292            " rpc.system"   " aws-api" 
288293            " rpc.service"   " AmazonSQS" 
289294            " $HttpAttributes . HTTP_REQUEST_METHOD  "   " POST" 
@@ -336,8 +341,9 @@ class S3TracingTest extends AgentInstrumentationSpecification {
336341          attributes {
337342            " aws.agent"   " java-aws-sdk" 
338343            " aws.endpoint"   String 
339-             " rpc.method"   " CreateQueue" 
340344            " aws.queue.name"   queueName
345+             " aws.request_id"   String 
346+             " rpc.method"   " CreateQueue" 
341347            " rpc.system"   " aws-api" 
342348            " rpc.service"   " AmazonSQS" 
343349            " $HttpAttributes . HTTP_REQUEST_METHOD  "   " POST" 
@@ -357,8 +363,9 @@ class S3TracingTest extends AgentInstrumentationSpecification {
357363          attributes {
358364            " aws.agent"   " java-aws-sdk" 
359365            " aws.endpoint"   String 
360-             " rpc.method"   " GetQueueAttributes" 
361366            " aws.queue.url"   queueUrl
367+             " aws.request_id"   String 
368+             " rpc.method"   " GetQueueAttributes" 
362369            " rpc.system"   " aws-api" 
363370            " rpc.service"   " AmazonSQS" 
364371            " $HttpAttributes . HTTP_REQUEST_METHOD  "   " POST" 
@@ -399,6 +406,7 @@ class S3TracingTest extends AgentInstrumentationSpecification {
399406          attributes {
400407            " aws.agent"   " java-aws-sdk" 
401408            " aws.endpoint"   String 
409+             " aws.request_id"   String 
402410            " rpc.method"   " CreateTopic" 
403411            " rpc.system"   " aws-api" 
404412            " rpc.service"   " AmazonSNS" 
@@ -419,6 +427,7 @@ class S3TracingTest extends AgentInstrumentationSpecification {
419427          attributes {
420428            " aws.agent"   " java-aws-sdk" 
421429            " aws.endpoint"   String 
430+             " aws.request_id"   String 
422431            " rpc.method"   " Subscribe" 
423432            " rpc.system"   " aws-api" 
424433            " rpc.service"   " AmazonSNS" 
@@ -440,8 +449,9 @@ class S3TracingTest extends AgentInstrumentationSpecification {
440449          attributes {
441450            " aws.agent"   " java-aws-sdk" 
442451            " aws.endpoint"   String 
443-             " rpc.method"   " SetQueueAttributes" 
444452            " aws.queue.url"   queueUrl
453+             " aws.request_id"   String 
454+             " rpc.method"   " SetQueueAttributes" 
445455            " rpc.system"   " aws-api" 
446456            " rpc.service"   " AmazonSQS" 
447457            " $HttpAttributes . HTTP_REQUEST_METHOD  "   " POST" 
@@ -461,6 +471,7 @@ class S3TracingTest extends AgentInstrumentationSpecification {
461471          attributes {
462472            " aws.agent"   " java-aws-sdk" 
463473            " aws.endpoint"   String 
474+             " aws.request_id"   String 
464475            " rpc.method"   " SetTopicAttributes" 
465476            " rpc.system"   " aws-api" 
466477            " rpc.service"   " AmazonSNS" 
@@ -524,8 +535,9 @@ class S3TracingTest extends AgentInstrumentationSpecification {
524535          attributes {
525536            " aws.agent"   " java-aws-sdk" 
526537            " aws.endpoint"   String 
527-             " rpc.method"   " ReceiveMessage" 
528538            " aws.queue.url"   queueUrl
539+             " aws.request_id"   String 
540+             " rpc.method"   " ReceiveMessage" 
529541            " rpc.system"   " aws-api" 
530542            " rpc.service"   " AmazonSQS" 
531543            " $HttpAttributes . HTTP_REQUEST_METHOD  "   " POST" 
@@ -618,8 +630,9 @@ class S3TracingTest extends AgentInstrumentationSpecification {
618630          attributes {
619631            " aws.agent"   " java-aws-sdk" 
620632            " aws.endpoint"   String 
621-             " rpc.method"   " PurgeQueue" 
622633            " aws.queue.url"   queueUrl
634+             " aws.request_id"   String 
635+             " rpc.method"   " PurgeQueue" 
623636            " rpc.system"   " aws-api" 
624637            " rpc.service"   " AmazonSQS" 
625638            " $HttpAttributes . HTTP_REQUEST_METHOD  "   " POST" 
0 commit comments