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
Flask Python application doesn't record the SPAN with S3 call:
To Reproduce
Flask Application doing S3 call
In console you will see the exception Failed to submit message: 'HTTP 400: {"accepted":3,"errors":[{"message":"validation error: span: context: destination: service: \'name\' required",...
Environment (please complete the following information)
OS: Linux
Python version: 3.6
Framework and version: Flask 1.1.2
APM Server version: v7.12.0
Agent version: 6.1.0
From the APM version 7.12 name field is required
Problem is located here:
elasticapm/instrumentation/packages/botocore.py context["destination"]["service"] = {"type": span_type}
for destination.service there is no destination.service.name element
IMHO: destination.service.name should be set as in the elasticapm/instrumentation/packages/elasticsearch.py