I have an Angular application whose users are experiencing random latency in the loading of pages, so I installed Opentelemetry, Tempo and Grafana to monitor app traces.
The app is deployed in an Azure Kubernetes cluster behind an nginx ingress-controller community edition. From the analysis of traces and spans the slowest calls seem to be servings of static files (.js, .tff, .css) that spend little time in the actual backend service, while a long time coming back to the nginx ingress-controller, or in the ingress-controller itslef. In the screenshot below for example, the call takes one minute, but just 2.73ms in the backend pod.
What could be the cause of this? Has anyone had experience with such an issue, or know a way to further debug it?
