-
Notifications
You must be signed in to change notification settings - Fork 17
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
Unexpected keyword argument 'datasource' #110
Comments
Hi there. Thank you for reporting this flaw. Let's investigate it. May I ask you about the Grafana version you are using? With kind regards, |
Hey!
|
Hi again, thank you for providing the Grafana version. Apologies that we haven't been able to look into this, yet. With kind regards, |
This comment was marked as off-topic.
This comment was marked as off-topic.
Dear @apepojken, there is a patch now. However, we are not sure if that solves the problem. Is there any chance you would be able to convey corresponding dashboard JSON representations to us, so we may be able to inspect them, and reflect the data structure through code, to improve where are apparently still rough edges right now? That would tremendously support us on the debugging process. With kind regards, |
Hi again, we just invoked your command on play.grafana.org, without the patch from GH-131, and the outcome is that it did not cause any exception.
So, it seems it might be really an edge case on your end. However, everything is possible, as this sample sure enough is not exhaustive at all. Also, play.grafana.org is running on Grafana version 11.1.0-68793 already. In this spirit, it would be really good to get some data samples (dashboard JSON dumps) from your installation, when possible, in order to be able to run grafana-wtf on the real data which causes issues for you. Otherwise, we are not sure about including the patch from GH-131 into the upcoming release. With kind regards, |
Hey!
And then a list of all the datasources. Regarding the dashboard JSON dumps, We currently have 194 of them. Do you want me to send the output of Thanks for helping out! |
Also, please tell me if you need any additional info on the datasources that trigger the warning |
Dear @apepojken,
Excellent, thanks! It will be merged and included into the upcoming release.
I don't think that is needed now that it works for you.
From the output shared above, the spot that encodes references to data sources apparently has a redundant bit of information in your Grafana instance: {
"datasource": {
"type": "prometheus",
"uid": "LeC8GuI4k"
},
"type": "prometheus",
"uid": "LeC8GuI4k"
} I think the With kind regards, |
When I try to explore datasources it always fail with a TypeError. No idea why this happens.
I have tried versions 0.15.0 - 0.17.0
This is what happens:
So far everything else seem to work, and grafana-wtf has been of great help to me. Would really appreciate if you could help me with this.
Thanks!
The text was updated successfully, but these errors were encountered: