|
67 | 67 | - name: create a data source of Azure Monitor using Managed Identity |
68 | 68 | text: | |
69 | 69 | az grafana data-source create -n MyGrafana --definition '{ |
70 | | - "uid": "5SjzhUu4n", |
71 | 70 | "access": "proxy", |
72 | 71 | "jsonData": { |
73 | 72 | "azureAuthType": "msi", |
|
79 | 78 | - name: create a data source of Azure Monitor using App Registration |
80 | 79 | text: | |
81 | 80 | az grafana data-source create -n MyGrafana --definition '{ |
82 | | - "uid": "5SjzhUu4z", |
83 | 81 | "name": "Azure Monitor-2", |
84 | 82 | "type": "grafana-azure-monitor-datasource", |
85 | 83 | "access": "proxy", |
|
95 | 93 | - name: create a data source of Azure Data Explorer using Managed Identity |
96 | 94 | text: | |
97 | 95 | az grafana data-source create -n MyGrafana --definition '{ |
98 | | - "uid": "3JTnaUuVz", |
99 | 96 | "name": "Azure Data Explorer Datasource-2", |
100 | 97 | "type": "grafana-azure-data-explorer-datasource", |
101 | 98 | "access": "proxy", |
|
107 | 104 | - name: create a data source of Azure Data Explorer using App Registration |
108 | 105 | text: | |
109 | 106 | az grafana data-source create -n MyGrafana --definition '{ |
110 | | - "uid": "uEi-b8X4k", |
111 | 107 | "name": "Azure Data Explorer Datasource-1", |
112 | 108 | "type": "grafana-azure-data-explorer-datasource", |
113 | 109 | "access": "proxy", |
|
122 | 118 | }, |
123 | 119 | "secureJsonData": { "azureClientSecret": "verySecret" } |
124 | 120 | }' |
| 121 | + - name: create a data source of Azure Managed Prometheus using App Registration |
| 122 | + text: | |
| 123 | + az grafana data-source create -n MyGrafana --definition '{ |
| 124 | + "name": "Azure Managed Prometheus-1", |
| 125 | + "type": "prometheus", |
| 126 | + "access": "proxy", |
| 127 | + "url": "https://myprom-abcd.westcentralus.prometheus.monitor.azure.com", |
| 128 | + "jsonData": { |
| 129 | + "httpMethod": "POST", |
| 130 | + "azureCredentials": { |
| 131 | + "authType": "clientsecret", |
| 132 | + "azureCloud": "AzureCloud", |
| 133 | + "tenantId": "72f988bf-86f1-41af-91ab-111111111111", |
| 134 | + "clientId": "fb31a2f5-9122-4be9-9705-111111111111" |
| 135 | + }, |
| 136 | + "timeInterval": "30s" |
| 137 | + }, |
| 138 | + "secureJsonData": { "azureClientSecret": "verySecret" } |
| 139 | + }' |
| 140 | + - name: create a data source of Azure Managed Prometheus using managed identity |
| 141 | + text: | |
| 142 | + az grafana data-source create -n MyGrafana --definition '{ |
| 143 | + "name": "Azure Managed Prometheus-1", |
| 144 | + "type": "prometheus", |
| 145 | + "access": "proxy", |
| 146 | + "url": "https://myprom-jryu.westcentralus.prometheus.monitor.azure.com", |
| 147 | + "jsonData": { |
| 148 | + "httpMethod": "POST", |
| 149 | + "azureCredentials": { "authType": "msi" } |
| 150 | + } |
| 151 | + }' |
125 | 152 | - name: create a data source of Azure SQL |
126 | 153 | text: | |
127 | 154 | az grafana data-source create -n MyGrafana --definition '{ |
|
0 commit comments