Simple Example to integrate Grafana with WorldMap Panel
Submitted by robertf on Wed, 02/26/2020 - 17:08
My Environment:
Grafana 6.6.0
WorldMap Panel 0.2.1
MySQL 5.7
Step 1: Connect to your database (create a datasource)
Configuration menu item -> Data Sources -> Add Data Source.
Select MySQL or whatever the database you need to connect to.
Step 2: Install WorldMap Panel plugin
You can install it manually or using the cli using the following command
grafana-cli plugins uninstall worldmap-panel
Step 3:
Result
You may see 2 common error messages "TypeError: Cannot read property 'x' of undefined" Or "TypeError: Cannot read property 'length' of undefined"
for me I just uninstalled and reinstalled the panel and everything worked properly!