-
Notifications
You must be signed in to change notification settings - Fork 9
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
Does not work on Apple M2 Pro #44
Comments
Hi, |
Certainly, So i tried building up the plugin, but ended up with no success steps i used: warning package.json: "dependencies" has dependency "react-autosuggest" with range "^10.1.0" that collides with a dependency in "devDependencies" of the same name with version "^9.4.3" conflict on the versions under packages.json so i have aligned the autosuggest on the file: "@types/react-autosuggest": "^10.1.6", "ts-jest": "26.4.4", "ts-loader": "8.0.4", "tslib": "^2.2.0", "typescript": "4.1.2" }, after aligning manually the Version expectations results then showed the following: $ grafana-toolkit plugin:build error Command failed with exit code 1. hope this elaborates the process |
Thanks for the update,
logger=secrets t=2023-06-24T23:43:14.268113+03:00 level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 a note worth mentioning: restarted the grafana service: brew services restart grafana Thanks. |
Hi, It worked for me with no issues after reproducing from your steps provided. The plugin path in your case is Can you try to check the config file - grafana.ini file to see if the plugin's path has been changed? |
o.k while directory does not contain arm64 file but: gpx_vertica-grafana-plugin_darwin_amd64 so the Apple M2 looks for the arm64 file that is not present under the plugin directory... seems that an arm64 compilation file is needed to overcome the problem |
The distribution list is generated using the Grafana toolkit and published during the plugin release. We don't change the manifest as the toolkit is used to build the package of the plugin. Did you try installing the plugin through the interface once again after you changed the grafana.ini file and the directory paths? Also, don't forget to restart the service. I am trying to get some more details on this as well. |
i did install the plugin through the interface after changing the grafana.ini... Grafana looks for: gpx_vertica-grafana-plugin_darwin_arm64 that does not exist what is the entity responsible of creating the files under plugin folder? ❯ pwd |
I am working with the Grafana plugin team to resolve this issue as the arm64 file was not generated by the Grafana toolkit. Will let you know about the update soon. |
perfect !!! |
Hi, While reviewing the documentation, I found that the 'nvm' only supports arm packages after v16 and our plugin is built using v14.17.6. See below: Grafana will no longer support the plugin built using the toolkit anymore. I am currently working on the migration from the toolkit. I will be updating the plugin with the latest updates soon and will include the arm64 distribution file for MacOS. Until then, I would advise you to upgrade your environment with 'nvm v>16'. |
You will have to build the plugin in your environment. The Grafana team forwarded this link, you can give it a try. If not, you can wait for an updated version as we have this in our pipeline. Thanks, |
Hi Tanvi, can you kindly estimate how long will it take for the plugin to be built? ################################################ Hi Ze'ev, -=-=-=-=-=-=-=-=-=-=-=-=- ######################################################## |
Hi, |
👋 Hi @Zeevbd I looked into this and I think I understand how to get over this error. Since building the plugin locally you'll need to build the frontend (which you did via The error message in question Let me know if that works! 🤞 |
Hi @asimpson, thanks for chiming in. did a fresh grafana installation 10.0.3 the message in response is that : No .go files marked with the mage build tag in this directory ![]() |
@Zeevbd to clarify: are you attempting to For the former, you'll need to For the later, it should "just work" by installing the plugin via the Plugin UI. |
@asimpson, then went into the UI and installed the plugin... the Results: ################################################################### ❯ pwd ######################################################## logs: logger=plugin.loader t=2023-08-16T22:41:52.237705+03:00 level=info msg="Plugin registered" pluginID=vertica-grafana-datasource if the file: gpx_vertica-grafana-plugin_darwin_arm64 is not created, it will not work.... ################################################################## |
Hi Tanvi... Thanks |
Hi Ze'ev, this is going to take some time to resolve. I have uploaded my code to my tpise branch in this repo, Grafana team is reviewing it for errors. We cannot guarantee a completion date as this is an open-source project where contributors are free to create any feature/bug fixes via submitting a PR. |
@Zeevbd sorry for being MIA for a bit. Your report is super strange to me, I've done the same steps on an M1 machine and the Darwin ARM binary was generated. Let's try something else 🤞
Hopefully this works. Please report back the results 🙏 That's the earliest version that contained the patch to build for darwin arm. It shouldn't cause any issues with your existing set up. The correct, long-term solution is to upgrade the entire plugin to use the latest create plugin tools, but this should at least get you out of this current jam. |
@asimpson thanks for responding back: ![]() got the needed file !!! encompassed in yellow. so i added the remark under /grafana.ini file but the logs say that it would not load the plugin logger=plugin.loader t=2023-09-02T10:37:16.450858+03:00 level=warn msg="Skipping loading plugin due to problem with signature" pluginID=vertica-grafana-datasource status=modified and the plugin on Grafana shows: ![]() any idea how to bypass ? :) |
@asimpson allow_loading_unsigned_plugins = vertica-grafana-datasource is under [plugin ] section in grafana.ini i have installed the latest version: |
I just tested this on a new [log]
level = "debug"
[paths]
plugins = /home/adam/Projects/tmp/plugins
[plugins]
allow_loading_unsigned_plugins = vertica-grafana-datasource And here's how it looks when I go to use the plugin: Are there any differences with how I have things configured here with your config? |
have you copied the the file: gpx_vertica-grafana-plugin_darwin_arm64 to the plugin directory? and used the configuration:. ? [paths] [plugins] because on my machine the plugin was blocked |
Nope, the plugin directory is the parent directory which contains the plugin. The full path to the plugin is:
|
Correct, so how to your opinion can we proceed from this stage? we have created the needed file: gpx_vertica-grafana-plugin_darwin_arm64 |
You shouldn't copy the built binary anywhere. Move the entire If you hover on the |
The yarn build fails on dependencies ❯ yarn build |
Hi Ze'ev, We have a new version of the plugin released yesterday. It is verified and signed by Grafana. And it also has the binary distribution for M1 and M2 and we have tested it. Please feel free to check it out and let us know for any comments. I am closing this issue as it is fixed. Thanks, |
Hi Tanvi. Thank you very much for the support and solution. |
Hi,
i have raised a ticket on a vertica plugin compatibility for M2 Apple Chipset.
the suggestion from tech support to raise an issue in the GitHub Rep:
have tried the solution given for the M1 Apple Chipset but it seems to not work:
#41
#################################################################
Response from : Grafana Tech Support suggested to open an issue under GitHub repo
#################################################################
"The error seems to be related to the plugin compatibility, and it is recommended to raise the issue in the GitHub repo and please let them know you already tried the suggestion for M1."
(Jay T. Support Engineer Grafana Labs)
please assist
The text was updated successfully, but these errors were encountered: