With Azure monitor plugin, it is showing drop-down list of all the resource group associated to the Service principal.
How can we configure so that out of multiple resource group dashboard shows only one resource group to the Grafana view only users. Is it possible with Azure monitor plugin data source?
Please suggest.
welcome to the community @pawanpandey7595!
I’m not sure, but have you explored the idea of creating a separate datasource for viewers. The datasource will use the Azure AD App and service principal you create on the Azure side, so if there is a role-based access control to limit resources that the app has access to then that could help. Then you could create a dashboard with the viewer version of the datasource and another one for authenticated users.
1 Like
Another option is to make a copy of the dashboard and set your Resource Group variable to the single value you need instead of using the template variable query. You can also optionally hide the variable.
We are also interested in this option. We have central grafana instance, so there will be multiple application teams accessing it and we want to restrict each team to their own resources/resource groups.
While this can be done by fixing the panel, using variables, That also means we are restricting their ability to write their own query against their resource groups.
It will be good to have resource group/resource level restrictions at the Azure monitor data source level.
–Phani
1 Like
Can one pass user.login to leverage it as a filter on the resource group? For example this is what can be done in sql server
https://localhost:3000/t/limit-users-to-access-variable-values/8513/12