-
Notifications
You must be signed in to change notification settings - Fork 43
Cannot read property 'map' of undefined #143
Comments
Hello. My first thought it is a 'no data' case. It is a known and long-lasting bug. |
Yep, it is definitely not a "No data" issue. Unfortunately, I have no access to Log Analytics Workspace to reproduce the issue. I've tried Azure Monitor queries and it works as expected. Can you please help gather some debug information to fix this issue? You need to navigate to a 'module.ts' in 'Sources' pane of DevTools and set a breakpoint on line 365. Then press 'reload' button in a dashboard. Next scroll to Scope and expand 'dataList' variable. |
Haven't forgot this but I haven't been able to test it again. Needed to roll back to 7.0.0. |
Hi @di97mni, are there any news on that? |
Had the same problem
Let me know if there is any extra info needed for debugging. |
@tambetliiv statusmap doesn't support "table" data from datasources, only "timeseries". |
Ok, thanks for the quick answer, seems like datasource provides "table". When testing with timeseries, no issues, and after changing to "table" it produces that error. Will try to find a way to provide data as a "timeseries" |
Today I tried to upgrade again. Sorry for the delay. I've set the breakpoint in Instead I see this errors in the console.log My javascript knowledge is very limited... @shurup have you had the same issue? |
Looking in the issue list I can see the plugin isn’t compatible with Grafana 7.4 |
Testing with 7.3.6 and using a query from the docs we can see that in 7.0.0 it's a time series whereas in 7.3.6 the same query is returned as a
|
Thank you for debugging! You've also shed the light on the mystery with Grafana 7.3.6 from #176 |
Changing to a query from the help section and using Graph panel we can see the same issue with Maybe this issue should go to the Grafana issue list instead? I have looked in the list for similar issue but no success. |
@di97mni I'm taking a look at this from Grafana POV - it looks like you're having problems with both Azure Monitor (Logs) and ADX? Do you have a sample query (preferably using the datatable fn?) I could run to try and dig into this? Unfortunately none of our Workspaces have AzureActivity data populated |
@joshhunt we are not using ADX, only log analytics and application insights. |
@di97mni Is it possible to reproduce this with the datatable operator within a Logs query with just a couple of rows? Unforunately I'm not too familiar with Statusmap and the fields it expects in the results. Just trying to figure out exactly what's breaking down here - it is likely that Statusmap adding support for Dataframes could fix this, but Grafana should be automatically converting back to the older format anyway. |
@joshhunt "REPLACE_WITH_WORKSPACE_ID" You also need to set the values for your Azure account in the docker compose file Then when I open panel in Grafana 7.0.0 I see this http://localhost:3000/d/Z3lF6oQGz/flant_grafana-statusmap_issues_143?orgId=1&editPanel=2 But when open it in Grafana 7.2.2 I see this http://localhost:3001/d/Z3lF6oQGz/flant_grafana-statusmap_issues_143?orgId=1&editPanel=2 |
Hi @joshhunt |
Probably same as #227 |
Grafana 7.2.2
Statusmap : 0.3.4
Getting this error when upgrading to Grafana 7.2.2 and Statusmap 0.3.4
Any ideas what to look for?
The text was updated successfully, but these errors were encountered: