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

Displaying multiple values from the same metric within popup #28

Open
pasquy73 opened this issue Nov 21, 2019 · 13 comments · Fixed by #77
Open

Displaying multiple values from the same metric within popup #28

pasquy73 opened this issue Nov 21, 2019 · 13 comments · Fixed by #77
Labels
popup All things about popups

Comments

@pasquy73
Copy link

pasquy73 commented Nov 21, 2019

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.

@amotl amotl changed the title How to display multiple metrics Displaying multiple metrics within popup Nov 21, 2019
@amotl
Copy link

amotl commented Nov 21, 2019

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.

@amotl amotl changed the title Displaying multiple metrics within popup Displaying multiple metric values within popup Nov 21, 2019
@pasquy73
Copy link
Author

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

@pasquy73
Copy link
Author

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 

@pasquy73
Copy link
Author

pasquy73 commented Jan 7, 2020

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

@amotl
Copy link

amotl commented Jan 8, 2020

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.

@pasquy73
Copy link
Author

pasquy73 commented Jan 8, 2020

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.

@amotl
Copy link

amotl commented Jan 8, 2020

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?

@pasquy73
Copy link
Author

pasquy73 commented Jan 8, 2020

Just a single metric query

@amotl
Copy link

amotl commented Jan 8, 2020

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.

@amotl amotl changed the title Displaying multiple metric values within popup Displaying multiple values from the same metric within popup Jan 8, 2020
@hesam1992
Copy link

Hi guys.
I have the same problem too.

@vmanju123
Copy link

vmanju123 commented Mar 2, 2020

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

@amotl
Copy link

amotl commented Oct 26, 2020

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.

@amotl
Copy link

amotl commented Dec 6, 2020

#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.

@amotl amotl reopened this Dec 6, 2020
@amotl amotl added the popup All things about popups label Aug 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
popup All things about popups
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants