-
Notifications
You must be signed in to change notification settings - Fork 21
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
Opensearch Datasource Dashboard Facing Issues: An error occurred within the plugin #388
Comments
Hi @SricharanSundar ! I'm currently looking into this, I have a couple questions to help my investigation:
|
Hi @iwysiu, What's the last version that it worked properly on? If you go to the the configured datasource and click test, does it succeed or fail? And if it fails, what's the error? If you have access to the backend, can you get the error from the logs? Can you attach the query that's failing (if you use the Share button at the top you can export the dashboard as a json file) though remove any sensitive information from the query |
Hi again @SricharanSundar ! Thanks for answering the questions. Based on what you said, I think the issue is related to the fact that in the last version we migrated dashboard queries to a new logic path (#375) and you're running into bugs in that backend path. Can you attach the json for the dashboard that's having issues so we can work on reproducing and fixing them? |
Hi @iwysiu, |
Hello @iwysiu , @idastambuk , |
Hi @SricharanSundar, as @iwysiu mentioned, we migrated multiple query types to a different path, so it would be extremely helpful to know which queries are failing in order to reproduce and debug the problem. In the meantime we have reverted the migration with the version 2.15.1 so you can update to that version to fix your dashboards until we're able to reproduce and fix the problem. @jagyas |
Hi @idastambuk , I was receiving the same error on version 2.15.0 (fixed with 2.15.1) on the following dashboard, it was a query for the "Logs" metric
|
Hi @chcatf thanks for letting us know about the issue! Thanks! |
@idastambuk Thank you for looking into the issue, and apologies for the mess of JSON. I should note that the data source in this case is actually Elasticsearch 7.8 and not opensearch, but I was receiving the same error which was fixed with 2.15.1. I downgraded to 2.15.0 to reproduce, I found the dashboard JSON I linked here only gets "No Data" on 2.15.0 instead of the Datasource error, but it does get data with 2.15.1 so still a problem -- the query inspector response for the "No Data" on 2.15.0 is: The data from the query inspector for the query returning a data source error is: and the dashboard JSON for that (separate from the one I posted before) |
Hi again @chcatf thanks a lot for helping us debug this! Can you also double check that your Thanks! |
@idastambuk Sure, this is the query from the last dashboard JSON in my previous message.
|
What happened:
The Opensearch datasource dashboard is not working properly. Its giving an error occurred within the plugin.
Im getting the following output in query response.
traceId:undefined
request:Object
url:"api/ds/query?ds_type=grafana-opensearch-datasource&requestId=Q234"
method:"POST"
data:Object
queries:Array[1]
from:"1715583459199"
to:"1715669859200"
hideFromInspector:false
response:Object
message:"An error occurred within the plugin"
messageId:"plugin.downstreamError"
statusCode:500
traceID:""
What you expected to happen:
The dashboard need to work properly always. Few days before the dashboard work properly without any error but now it is causing issues. Now a days grafana releases many version but its creating some issues in existing dashboard.
How to reproduce it (as minimally and precisely as possible):
connect the opensearch data source with opensearch url endpoints and use sigv4 auth method.
Then create on log based dashboard using bar chart visualization.
Once the dashboard is saved, then sign out grafana and sign in again youre able to see this issue.
Anything else we need to know?:
Fix this issue as soon as possible in grafana.
Environment:
The text was updated successfully, but these errors were encountered: