From 2c55ba2f4808a7ce6d8fecffe41444f3ab1e2e3b Mon Sep 17 00:00:00 2001 From: "(Eliseo) Nathaniel Ruiz Nowell" Date: Mon, 1 Nov 2021 18:32:11 -0400 Subject: [PATCH] Update expected python template for new OTel Python AWS SDK Instrumentation (#165) --- adot/utils/expected-templates/python.json | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/adot/utils/expected-templates/python.json b/adot/utils/expected-templates/python.json index cd133ce45..f209981b3 100644 --- a/adot/utils/expected-templates/python.json +++ b/adot/utils/expected-templates/python.json @@ -9,7 +9,22 @@ "name":"hello-lambda-python.*" }, { - "name":"hello-lambda-python.*" + "name":"hello-lambda-python.*", + "subsegments": [ + { + "name": "HTTP GET" + }, + { + "name": "S3", + "metadata": { + "default": { + "rpc.service": "S3", + "rpc.method": "ListBuckets", + "rpc.system": "aws-api" + } + } + } + ] }, { "name":"HTTP GET", @@ -24,9 +39,6 @@ { "name":"S3", "origin":"AWS::S3", - "inferred":true, - "aws":{ - "operation":"ListBuckets" - } + "inferred":true } ] \ No newline at end of file