Reputation: 1867
I am using Grafana WorldMap panel and Influxdb as the data source to plot the points of a vehicle.
Now, I when I hover over these points, it displays like this n/a:NaN
I don't know what is this n/a : NaN
,
I want that when I hover
over these points, I should get that how many times this point is stored in the database(or any other info like the tags associated with these points). How can I do that?
Some data from Influx:
time geohash host location value
1490602036767444479 tekx7nfjs6rt Luv-Inspiron 100
1490603677196025990 tduw7hf1k3zs Luv-Inspiron 15
1490603780222510535 ttw58x6qxue9 Luv-Inspiron 6
1490603911122290125 ttw58x6qxue9 Luv-Inspiron 6
1490604983924097158 ttqn096mpz59 Luv-Inspiron 19
1490699614650281185 dr5rsgyct32n Luv-Inspiron Bangalore 19
1490699654166573019 fdf92s8typst Luv-Inspiron Bangalore 19
I added location just recently, thats why some are not having that location data.
When I add alias(metrics) in the Metrics tab, then these show different colors according to the values, Can you please explain why?
Upvotes: 0
Views: 2987
Reputation: 4088
You are missing two additional steps:
alias(metric)
to your select
querymetric
to your Table Label Field
in the Worldmap
tabRead more about it in the readme
When I add alias(metrics) in the Metrics tab, then these show different colors according to the values, Can you please explain why?
That's because you defined Thresholds under Worldmap -> Threshold Options
Upvotes: 1