Coder Social home page Coder Social logo

raulsperoni / magnesium-wordcloud-panel Goto Github PK

View Code? Open in Web Editor NEW
15.0 2.0 8.0 4.31 MB

Wordcloud / Tagcloud Panel Plugin for Grafana

License: Apache License 2.0

JavaScript 19.26% TypeScript 77.36% Dockerfile 3.38%
grafana wordcloud tagcloud grafana-plugin

magnesium-wordcloud-panel's People

Contributors

almyk avatar dependabot[bot] avatar raulsperoni avatar sympatheticmoose avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

magnesium-wordcloud-panel's Issues

No load in Grafana

Hi, I have downloaded and installed it and it is not able to load in Grafana, are there any additional settings I am missing? I installed Grafana directly from the binary. Best regards and thank you very much
unnamed

Plugin is at risk of deprecation

Hi there from Grafana Labs 👋

Firstly, thank you for contributing to the Grafana plugin ecosystem.

I'm reaching out as this plugin is at risk of being deprecated from the Grafana plugin catalog as it has not been updated in a number of years - including recent additions here, and as such it is unclear whether it is still maintained.

We recognise that priorities change and that it may no longer be possible to keep plugins up to date. For your awareness, deprecation has no impact on existing users of the plugin, but discourages further adoption to prevent users from starting to rely on it.

Please advise if you believe the plugin is stable and wish for it to remain in the catalog, or alternatively that you would prefer for the plugin should be deprecated. In the case of the latter, if there is any specific guidance you would like to offer users of the plugin - please let me know and we can include this in the deprecation notice.

Feel free to email me at [email protected] if preferred; apologies, we don't have an email address associated with this plugin so I had to raise an issue. If there's anything where we can help with regards to publishing an update, don't hesitate to reach out.

If we don't hear from you within 30 days, I'll go ahead and deprecate the plugin.

Thank you again
David

Avoid crash when no data is returned from query

In the case where no data is returned, the plugin crashes. Then, when the time range is changed and data is again available, it does not automatically recover. A full page reload is required to clear the error.

image

Expected behavior: when there's no data returned from the query to compute the word cloud, don't attempt to render; just show "No Data" or similar

Actual behavior: JS crash with red !, requiring full page reload to recover

Error message: TypeError: Cannot read property 'fields' of undefined
at eval (/public/plugins/magnesium-wordcloud-panel/module.js:2)
at na (vendorsapp.0cd8deb042c68e8113e4.js:2)
at La (vendors
app.0cd8deb042c68e8113e4.js:2)
at Uu (vendorsapp.0cd8deb042c68e8113e4.js:2)
at ks (vendors
app.0cd8deb042c68e8113e4.js:2)
at ws (vendorsapp.0cd8deb042c68e8113e4.js:2)
at _s (vendors
app.0cd8deb042c68e8113e4.js:2)
at ds (vendorsapp.0cd8deb042c68e8113e4.js:2)
at vendors
app.0cd8deb042c68e8113e4.js:2
at t.unstable_runWithPriority (vendors~app.0cd8deb042c68e8113e4.js:2)
ou @ react-dom.production.min.js:216
getDiagramSeriesModel.tsx:134

Browser: Chrome 92
OS: MacOS 11.3.1

Unsigned plugin

Hi

After installing the plugin, Grafana won't let me use it as it shows as unsigned. Is the plugin signed?

Filter grafana dashboard on click

It would be really nice to use the library's available callbacks to filter grafana dashboard data when a word is clicked. I haven't found a neat way to do this yet. Related to this.

Dashboard issue

Hello.

Mr. Raulsperoni.

I made a wordcloud on grafana dashboard.

but there is an error.

error is 'e.series[n.series_index] is undefined' like below.

image

but it is up and running again like below in grafana Edit Panel.

image

FontFamily # enhancement

Hi,
I didn't find concrete info about Fontfamily.
Which font database actually you use? Is it Microsoft default Fontfamily or google font or?
Cause I want to modify the font to make my graph more beautiful.

Thx!

Only first word shown

I am trying to use this plugin in a visualization that shows the data gathered by a honeypot. The data source is MySQL. The relevant data is in a table named auth, which contains, among others, the fields timestamp and password. I want to display a word cloud of the passwords used.

I use the query

SELECT
  password as Password,
  COUNT(password) AS Count
FROM
  auth
WHERE
  $__timeFilter(timestamp)
GROUP BY Password
ORDER BY Count DESC

If I format this as a table, the data looks fine. But the word cloud plugin displays only a single word - the topmost (most frequently used) password. What am I doing wrong? What is the format of the data expected by this plugin? I guess I don't understand what you mean by "group by terms" in the documentation. I am grouping by the passwords used - i.e., the terms I want displayed in the word cloud. Should I be doing something else? I did set Count as the "Count Field" and Password as the "Tags/Words Field" in the settings but it made no difference.

Exclude words panel option for wordcloud panel

Following your suggestion of opening an issue in GitHub!

I think it would be beneficial to be able to exclude certain words from the panel within the options tab in Grafana rather than on the Elasticsearch side.

e.series[n.series_index] is undefined

I use latest Grafana 7.1.0 and latest magnesium-wordcloud=panel and I got e.series[n.series_index] is undefined and the panel didn't work.
I saw that the data was hit and reply the result, but no result in the panel
image

Please advice...

Regards,
Fadjar Tandabawana

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.