Im currently setting up Otel for our cloud azure solution. We are using Azure WebApp and AzureAppInsights. The app is fastapi backend.
I have set up the otel like:
def setup_otel(app: FastAPI):
if settings.APPLICATIONINSIGHTS_CONNECTION_STRING:
configure_azure_monitor(
connection_string=settings.APPLICATIONINSIGHTS_CONNECTION_STRING,
logger_name=settings.LOGGER_NAME
)
The traces for transactions are present in App Insight but the root (probably) fastapi implementation traces are duplicated – POST /api/ingest/v2/upload http receive
, more can be seen at screenshot:
Can this be somehow fixed?
Thanks in advance