name | string | Required | The data source name. |
type | string | Required | The data source plugin type, for example prometheus. |
uid | string | Required, Identifier | The stable Grafana data source UID. |
access | string | | The access mode. Grafana commonly uses proxy. |
basicAuth | bool | | Whether basic authentication is enabled. |
basicAuthUser | string | | The basic authentication user name. |
database | string | | The database name. |
isDefault | bool | | Whether this is the default data source. |
jsonDataJson | string | | A JSON object containing plugin-specific non-secret configuration. |
secureJsonDataJson | string | Write-only, Sensitive | A JSON object containing plugin-specific secret configuration. |
url | string | | The data source URL. |
user | string | | The user name. |
withCredentials | bool | | Whether credentials are sent with cross-site requests. |