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

Support prometheus datasource? #10

Open
luckzack opened this issue Apr 19, 2021 · 2 comments
Open

Support prometheus datasource? #10

luckzack opened this issue Apr 19, 2021 · 2 comments

Comments

@luckzack
Copy link

Great wordcloud plugin, but I hope it can support prometheus datasource

@raulsperoni
Copy link
Owner

raulsperoni commented Apr 19, 2021

Thanks, I think it should work yes, as long a your data has the right shape (a column with count and a column with the word)

@fredrik84
Copy link

I solved this by adding transformations to my query. First Series to Rows and then a Group By with grouping on metric and calculate mean on the value.
My promql query is grouped to only 1 label.

count by (label) (query)

image

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

3 participants