News:

We really need your input in this questionnaire

Main Menu

NetXMS Grafana Plugin

Started by graeChris, May 23, 2023, 10:17:06 PM

Previous topic - Next topic

graeChris

Is there any development currently happening on the Grafana plugin? I checked github and noticed an issue was posted that AngularJS has been deprecated by Grafana in favor of React. 

https://github.com/netxms/grafana/issues/24

https://grafana.com/docs/grafana/latest/developers/angular_deprecation/#why-are-we-deprecating-angular-support

https://grafana.com/docs/grafana/latest/developers/angular_deprecation/angular-plugins/#netxmshttpsgrafanacomgrafanapluginsradensolutions-netxms-datasource

According to Grafana:
"For data source plugins the query editor and config options will likely need a total rewrite."

graeChris

Just wanted to follow up on this. I discovered the deprecation when I was attempting to figure out how to use dashboard variables with the plugin. It doesn't appear that that plugin supports dashboard variables. 

blairmc96

Can we please get a reply to this?  The Grafana site says it will be removed completely in 2024.

https://grafana.com/docs/grafana/latest/developers/angular_deprecation/

When will Angular plugins stop working?
Our goal is to transfer all the remaining Angular code to the core of Grafana before Grafana 10 is released in Summer 2023. Once this is done, the option "angular_support_enabled" will be disabled by default for new Grafana Cloud users, resulting in the inability to use Angular plugins. In case you still rely on AngularJS-based plugins developed internally or by the community, you will need to enable this option to continue using them. Following the release of Grafana 10 we will be migrating Grafana Cloud users where possible and disabling Angular support when appropriate, we will also be introducing new features to help all users identify how they are impacted and to warn of the use of deprecated plugins within the Grafana UI.

When will we remove Angular support completely?
Our plan is to completely remove support for Angular plugins in version 11, which will be released in 2024. This means that all plugins that depend on Angular will stop working and the temporary option introduced in version 10 to enable Angular will be removed.

Thanks!

Victor Kirhenshtein

Rewriting Grafana plugin is in our pipeline, I hope we can make it in January or February.

Best regards,
Victor

grae

Thanks Victor, please keep us in the loop!

blairmc96

#5
Hi Victor,

Has there been any progress on this?

I'm afraid to upgrade my Grafana for fear of losing the NetXMS abilities!

However, I've recently run into an issue where any queries from Grafana peg the CPU at 100%.

It seems to make at least 5 sessions for each refresh of the page!

As you can see, I don't have a very large installation and this has been fine up until very recently.  Memory is only using about half of 16GB.

Thanks!


MarcusH

#6
Also looking forward to new grafana connector.
It is normal for current one to eat up sessions, every panel and query you have that has some DCI reference will create session on page load. when page has loaded the sesssions slowly die and if you leave the page with only panel refreshes it keeps sessions low but as soon as you do side refresh in browser it start all sessions again.

Been strugling for a long time with grafana eating up over 128 sessions making server unconnectable until sessions die off.