You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Azure Table Client (package azure-data-tables) inside an Azure Function instrumented with elasticapm.contrib.serverless.azure.ElasticAPMExtension and querying a data table using PartitionKey and RowKey, the underlying HTTP request to the table service sends the request parameters in the query string and the request has no body. When Azure Tables instrumentation from Elastic APM reaches this line:
Thanks for reporting, I think if you are keen to contributing a possible patch would be to just skip the json decoding if body is falsy and set it to {}.
Describe the bug:
When using Azure Table Client (package
azure-data-tables
) inside an Azure Function instrumented withelasticapm.contrib.serverless.azure.ElasticAPMExtension
and querying a data table usingPartitionKey
andRowKey
, the underlying HTTP request to the table service sends the request parameters in the query string and the request has no body. When Azure Tables instrumentation from Elastic APM reaches this line:apm-agent-python/elasticapm/instrumentation/packages/azure.py
Lines 302 to 307 in fc8ef22
It crashes because the body is
None
To Reproduce
func host start
to start the local development environmentfunc
logsEnvironment (please complete the following information)
Additional context
Add any other context about the problem here.
requirements.txt
:Click to expand
The text was updated successfully, but these errors were encountered: