-
Notifications
You must be signed in to change notification settings - Fork 68
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
clickhouse datasource plugin.unavailable #907
Comments
Hello, thanks for submitting an issue. Do you have any more logs from the grafana process? I see you pasted the HTTP request log, but there should be more details about the error on a different line. It seems like the plugin process may be failing to start. How are you running Grafana? Which version of Grafana are you running? |
@SpencerTorres Grafana is started using docker-compose, with version v10.4.1. Additionally, when editing the ClickHouse data source in Grafana, there are no more logs available, only that one error log. |
Perhaps you could increase the log level on the grafana deployment to debug? Are you able to update to grafana v11? |
@SpencerTorres grafana debug logs: |
@SpencerTorres grafana upgrade to v11.1.0,clickhouse datasource is working,but why? |
I'm unsure why the plugin would be unavailable on older versions, the logs don't show any details about why this would be happening. I'll reach out to the other maintainers to see if they know. Thanks for the extra info. |
I'm not able to reproduce this issue using v10.4.1 of Grafana. Maybe restarting Grafana when you switched to v11 fixed this issue and not v11 itself. |
It seems like this could've been a one-off issue related to your specific deployment since we're unable to reproduce the error. Perhaps we should close this and re-open if others have a similar issue |
I ran into this when building on non-amd64 platform i.e. macOS arm64. The Go binary is built with a different name and is not executed on startup. |
The binary has to have a specific name. It must match the configured prefix ( The official plugin build should include binaries for common architectures. I just noticed this issue doesn't include architecture or whether or not this is an official build. Why did it work when upgrading to Grafana v11? @xiaoyuan2019 please provide these details if this issue is still relevant, otherwise we can close. |
Hi @xiaoyuan2019, I'll be closing this issue as we're unable to reproduce. If the issue reoccurs please reopen the issue 😊 |
logger=context userId=2 orgId=1 uname=wpsadmin t=2024-07-16T06:52:53.367321067Z level=error msg="Request Completed" method=GET path=/api/datasources/uid/cdrwjw6m3vda8a/health status=500 remote_addr=10.1.1.1 time_ms=1 duration=1.148295ms size=95 referer=https://x.x.x.x/grafana/connections/datasources/edit/cdrwjw6m3vda8a handler=/api/datasources/uid/:uid/health status_source=server
The text was updated successfully, but these errors were encountered: