-
Notifications
You must be signed in to change notification settings - Fork 217
Conversation
@jbfavre as writing in #212, it seems you did a quality work here. If you want to merge with my current work (or even fork mine and take ownership of maintaining this bit) I'm happy to merge your work with mine (or to ask for the removal of my plugin in favour of yours, if that is better for you :)). |
@arodrime thanks for the comment. |
Ah maybe you're right. I know it's Grafana Labs building this plugin, yet, it needs to be installed like a plugin in Grafana, it's not there out of the box. That's where I draw the line between grafonnet core or extention/plugin as well. I'm not sure what was expected. @roidelapluie @trotttrotttrott maybe could you share with us your vision on this and pick either this PR or #212 ? |
@jbfavre sorry for the confusion, but @arodrime is correct. Polystat is not within the scope we've set for Grafonnet and should be managed as an extension. Though it's maintained by the Grafana Labs org, we don't consider it to be part of its "core features and plugins". Which means only what you'd find in a vanilla install. This has been debated a bit in the last few weeks so I apologize if our contributing docs aren't quite as clear as they could be. Definitely working on that. I've gone ahead and merged #212. @arodrime's version is solid. Let me know though if you guys have feedback about scope, extension management, etc. Either here or the Grafana public slack. |
@trotttrotttrott thanks for the explanation. I'm new to grafonnet, so I don't have the full debate history, nor have I deep knowledge about how grafonnet works. To use grafonnet, one needs to:
Compared to stock Grafana:
I agree this comparison isn't quite fair, because grafonnet provides abstraction features and consistency between files, which have to be manually resolve when using web UI. I know and understand Grafana isn't responsible to make each and every plugins compatible with latest Grafana versions. And so it goes for grafonnet. As for the grafonnet writing now. I'm not aware of any tool to ease plugin creation. In summary:
I'm sorry I missed the discussions of the last few week. I would have given my point of view on this already. I do not intend to re-open the debate. |
@jbfavre you make reasonable points. I would suggest moving them to a separate issue so they can be discussed independently of this case. The limitation on which plugins Grafonnet would support was made relatively arbitrarily, based upon the capacity of the teams that manage it. The alternative was a large number of either unreviewed or unmerged PRs. The other possibility is we look at auto generating Grafonnet plugins, based upon field definitions provided by Grafana 7.0. However, this idea is currently totally untested, and thus still just dreaming. |
@malcolmholmes I'll open 2 separate issues then. |
This PR intends to add support for polystat panel.
Please note that this is one of my first grafonnet contributions, therefore I'm likely to have missed some things.
I'll be happy to get your feedback so that I can improve this PR.