azure-data-explorer-datasource
azure-data-explorer-datasource copied to clipboard
Set query database to default if unspecified
If a query is missing the database property the current behaviour will cause that query to fail. This change will set the database property on the query to the data source default if available.
Fixes #615
Use the following command to run this PR with Docker at http://localhost:3000:
docker run --rm -p 3000:3000 grafana/plugin-builds:9116b23e435c16cf5808766e66a6bf847194b981pre
@bossinc that's a good call-out. The only reason I'm thinking this is worthwhile is to solve the original issue of not wanting to specify the database in generated dashboards. Maybe we should add a default cluster option too?
@bossinc that's a good call-out. The only reason I'm thinking this is worthwhile is to solve the original issue of not wanting to specify the database in generated dashboards. Maybe we should add a default cluster option too?
@aangelisc lets talk about this next week. I am mixed about how we are doing defaults