-
Notifications
You must be signed in to change notification settings - Fork 107
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
Status Panel breaks with Grafana 6.7.0 #159
Comments
I got the same problem, even with 6.7.1 |
Yep, exactly the same Problem. After Upgrading to 6.7.1 its broken. |
Seems that the problem is in setTextMaxWidth() {
let tail = ' …';
let panelWidth = this.$panelContainer.innerWidth();
if (isNaN(panelWidth))
panelWidth = parseInt(panelWidth.slice(0, -2), 10) / 12;
panelWidth = panelWidth - 20;
this.maxWidth = panelWidth;
} |
I know it is not a satisfying thing to say, but this project looks dead and given that there are backwards-incompatibility issues with panels in Grafana at least once a year, using built-in panels is a much safer bet. Grafana has a new |
Most likely, one of our internal customers got also some sort of JS errors: |
The panel-container class is not accessible like it is here: But if you change it to: the panel should start working again. But the way this panel works by accessing core classes outside it's scope (panel-container & panel-header) is very fragile and will break again as these are classes Grafana will change in the future. |
I updated Grafana 6.5 to 6.7 , from that on status panel not working . I see already some actions taken here, just posting |
It seems I've found the solution. The
If I not mistakes, this is a container of the plugin which previously was retrieved by calling |
Yes, it works! Thank you, |
Probably, It was a quick fix. In our case it was OK. |
Yes, It's OK also for me simply adding the trasparency to the panel, |
Dear @sgolubevCY , Thanks for share your solution. Sory, but i'm a JS newbie. After fix the source file, what other command o task need I execute? I've made the change you suggested on Thanks in advance! |
Hello, Bye |
Hi @MefhigosetH, As @ftasso suggested, you have to change this line in the same file into "dist" folder. |
@ftasso @sgolubevCY Oh, thanks! This 'detail' was the solution. Now, I can see my pannels :-D |
Hey everyone. |
@ktibi This might be related to the issue where if you click on the "Duplicate Query" icon instead of the "Add Query" button. Duplicate Query will break the panel. It seems to copy some internal ID that Status panel references. It is not documented other than in an issue, but that is the way to add more than one metric! Hope this helps. The status plugin works for me with the fix and displays multiple metrics. |
@xkilian Thx your explanation. Add new query instead of duplicate resolve the issue. |
Yes, yes. With the patch sugested by @sgolubevCY , the panel on my dashboards, worked fine again: I hope, the project can merge my PR. |
Grafana 6.7.2
|
Dear @freedomwarrior , @luciferYu The issue was fixed with the @sgolubevCY change, on prev messages here. Or you can review muy PullRequest 161 for known where to apply the neccesary changes. Cheers |
Worked! |
i see the issue is fixed but the panel display is not elegant as it used to be as @MefhigosetH mentioned. This needs to fixed too along with the other things. |
…v6.7.x From Vonage@c47c659 Should fix Vonage#159
When could is fixed this issue ? I see workaround applied by @vkalladath in a fork repo , bug the original repo have not a merge with the fix yet. |
I would like this to be fixed in the main repository too |
hi can you share the JSON format of the dashboard? |
Fixed to support Grafana 7 according to this issue: Vonage#159
Updated according to this issue: Vonage#159
Updated according to this issue: Vonage#159
Updated according to this issue: Vonage#159
Fixed to support Grafana 7 according to this issue: Vonage#159
Works up to 6.6.2, breaks in 6.7.0 released yesterday.
The text was updated successfully, but these errors were encountered: