I am running Grafana version 11.1.0.0 on my windows 10 operating system.
I have installed Grafana and MSSQL in my local machine. We have multiple MSSQL environments where we need to automate Grafana dashboard deployment.
Here, I need a support for Grafana Automation. I am creating a script under PowerShell.
I wanted to create MSSQL datasource using Powershell script for Grafana dashboard. So how can i achieve this?
using something like invoke-restmethod powershell cmdlet, you can call the grafan rest api to provision datasources:
1 Like