I’ve noticed that when I run a query in Grafana using the built in grafana-azure-monitor-datasource
plugin, a query takes will take about 5 times longer than if I copy the exact same query out of Grafana (using Inspect > Query) and into the Azure Portal (Web UI) targeting my Log Analytics Workspace.
This is true for both simple/narrow and complex/big queries. It’s particularly a problem with big queries because they time out in Grafana (but run fine in Azure Portal).
Is this the expected & normal behavior or does it indicate some configuration problem on our end? In other words, does Azure apply some deprioritization or rate limiting to external queries that they don’t to things running from within the Portal?
- What Grafana version and what operating system are you using?
- Azure Managed Grafana
- Pro (Licensed)
- v9.0.8.1 (2ab85989b8)
-
What are you trying to achieve?
Trying to make Azure queries run at a similar speed as they do in the Azure Portal. -
How are you trying to achieve it?
Comparing the Total request time for the same query between Grafana and Azure Portal -
What happened?
Grafana is about 5x slower than Azure Portal across many tested queries. -
What did you expect to happen?
I would hope for similar response times from Azure as they provide in their WebUI -
Can you copy/paste the configuration(s) that you are having problems with?
N/A -
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
No errors other than timeouts if our query takes too long from Grafana. -
Did you follow any online instructions? If so, what is the URL?
N/A