Skip to content

Commit a6c185f

Browse files
committed
Update in azure-data-tables uses PATCH instead of PUT
1 parent 9a1225f commit a6c185f

File tree

1 file changed

+1
-1
lines changed
  • elasticapm/instrumentation/packages

1 file changed

+1
-1
lines changed

elasticapm/instrumentation/packages/azure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ def handle_azuretable(request, hostname, path, query_params, service, service_ty
316316
}
317317

318318
operation_name = "Unknown"
319-
if method.lower() == "put":
319+
if method.lower() == "put" or method.lower() == "patch":
320320
operation_name = "Update"
321321
if "properties" in query_params.get("comp", []):
322322
operation_name = "SetProperties"

0 commit comments

Comments
 (0)