grafana-toolbox / panodata-map-panel

Map Panel for Grafana with improved convenience, robustness and features. Friendly fork of the original Grafana Worldmap Panel. Currently not maintained, but verified to work up to Grafana 9.

Home Page:https://community.panodata.org/t/grafana-map-panel/121

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Displaying multiple values from the same metric within popup

pasquy73 opened this issue · comments

Hi all,
I would like to display in the popup, on the worldmap-panel, multiple attributes. For example:

New Jersey: 5 errors
items: 100
avg: 33 

So, my query can provide name1, value1, name2, value2, lat, long, time_sec for location data table and I want to display in the popup:

name1: value1
name2: value2

Is there a way to do this?
Thanks a lot.

Dear Pasquale,

thanks for writing in and for transferring this from the issue you created at grafana#235 already.

We will be happy to consider getting into the details of this when working on the next development iteration. However, I currently can't promise about a time frame and will be traveling until the 7th of December or so as I also told @sekomarek, who just asked for #27.

Feel free to get back to me and bump this issue accordingly if you don't hear anything back.

With kind regards,
Andreas.

Hi Andreas,
thanks a lot.
Don't worry, and enjoy your travels.

Hi Andreas,
it will be also interesting to add multiple contexts in the popup; for instance:

New Jersey: 5 errors
items: 100
avg: 33 

New York: 8 errors
items: 171
avg: 42
sum: 1415 

Dear Pasquale,

thanks for writing in and for transferring this from the issue you created at grafana#235 already.

We will be happy to consider getting into the details of this when working on the next development iteration. However, I currently can't promise about a time frame and will be traveling until the 7th of December or so as I also told @sekomarek, who just asked for #27.

Feel free to get back to me and bump this issue accordingly if you don't hear anything back.

With kind regards,
Andreas.

Hi Andreas,
do you have any news about this topic?
Thank you for your time.
Pasquale

Dear Pasquale,

when thinking about this, I wonder if your request isn't actually identical to grafana#59? Actually, it is not only about displaying multiple metric values within the popup, but already querying them beforehand, right?

With kind regards,
Andreas.

Yes. I do a query to get longitude, latitude, time_sec, name, value fields and it works.
I'm going to aggregate multiple values within the same longitude, latitude in order to provide also sum, average, numItems (value will be always the last value); so my new query provides longitude, latitude, time_sec, name, value, sum, average, numItems and I don't know how to show all params in the popup.

Ok, this is not quite multiple metrics, right? I am a bit unsure right now, so let me be safe to ask again specifically: Will there be more than one item configured on the metrics tab or will the fields be populated from within a single metric query?

Just a single metric query

This is just about a single metric query.

Ok, thanks for clarifying this. Then let's track #43 seperately.

Do you have any news about this?

Currently, I am not able to work on this but will be happy to prioritize your request as soon as possible when getting back into the code base. Sorry for the time being.

Hi guys.
I have the same problem too.

We have same problem, need to display multiple metrics on worldmap panel, single metric can drive the size of circle and color, also need to provide units for those metrics, For Eg: we have data bytes as metric it can easily run into trillions of bytes need decimal support and unit support for metrics as in other panels, Thanks

Dear @robouden,

within #57 (comment), you asked:

One more request. To get multiple values on the hover panel. That would be a big help for me and probably also other people.

Can you review this issue and confirm you are referring to the same feature request here?

With kind regards,
Andreas.

#77 by @matschaffer improves this for the Elasticsearch data source - thanks a stack! However, I am deliberately reopening this in order to keep tracking it for other data sources.