Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data points do not display if JSON endpoint takes longer to respond than the query #53

Open
amotl opened this issue Feb 7, 2020 · 0 comments

Comments

@amotl
Copy link

amotl commented Feb 7, 2020

@stevemandl reported over at grafana#220 (comment) the other day:

If the json endpoint takes longer to respond than the query, there are no map points rendered. I was able to get it to work when the query I was using took a long time to respond (longer than the JSON location response), but when I optimized my query to run faster this behavior started. The workaround I am using is to hit the refresh button after the locations have had a chance to load.

He already verified that behavior with our fork and confirmed that it does not fix this issue yet even if the updated code base uses .refresh() rather than .render() through https://github.com/panodata/grafana-map-panel/blob/0.9.0/src/worldmap_ctrl.ts#L233-L240, as outlined within grafana#221.

cc @xiaobeiyang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant