diff --git a/.changeset/early-mails-explain.md b/.changeset/early-mails-explain.md new file mode 100644 index 00000000..462a21b5 --- /dev/null +++ b/.changeset/early-mails-explain.md @@ -0,0 +1,5 @@ +--- +"@saleor/app-sdk": patch +--- + +Removed OTEL attribute http.method. It eventually caused bad mapping in Datadog -> overwriting span name diff --git a/src/APL/saleor-cloud/saleor-cloud-apl.ts b/src/APL/saleor-cloud/saleor-cloud-apl.ts index fb3a8fad..1592398f 100644 --- a/src/APL/saleor-cloud/saleor-cloud-apl.ts +++ b/src/APL/saleor-cloud/saleor-cloud-apl.ts @@ -140,7 +140,6 @@ export class SaleorCloudAPL implements APL { attributes: { saleorApiUrl, [SemanticAttributes.PEER_SERVICE]: OTEL_APL_SERVICE_NAME, - [SemanticAttributes.HTTP_METHOD]: "GET", }, kind: SpanKind.CLIENT, }, @@ -269,7 +268,6 @@ export class SaleorCloudAPL implements APL { saleorApiUrl: authData.saleorApiUrl, appId: authData.appId, [SemanticAttributes.PEER_SERVICE]: OTEL_APL_SERVICE_NAME, - [SemanticAttributes.HTTP_METHOD]: "POST", }, kind: SpanKind.CLIENT, },