Start here. This is the direct spoken answer to practice first.
Why this question matters
A slow query in a database dashboard is only useful if the team can connect it back to the endpoint and code path. EF Core query tagging is one practical tool in that chain.
I would make database calls traceable from the request. The API needs a correlation id in logs and telemetry, and important EF Core queries can use query tags so the generated SQL identifies the code path or endpoint. Then a slow dependency call can be connected back to the request, user action, and controller or handler. That shortens the path from symptom to owner.