loki: add apiVersion #90
2 changed files with 14 additions and 11 deletions
|
|
@ -24,7 +24,7 @@
|
|||
{
|
||||
"datasource": {
|
||||
"type": "loki",
|
||||
"uid": "Loki"
|
||||
"uid": "loki"
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 24,
|
||||
|
|
|
|||
|
|
@ -89,16 +89,19 @@
|
|||
|
||||
provision = {
|
||||
enable = true;
|
||||
datasources.settings.datasources = [
|
||||
{
|
||||
name = "Loki";
|
||||
type = "loki";
|
||||
access = "proxy";
|
||||
url = "http://127.0.0.1:3100";
|
||||
isDefault = true;
|
||||
uid = "Loki";
|
||||
}
|
||||
];
|
||||
datasources.settings = {
|
||||
apiVersion = 1;
|
||||
datasources = [
|
||||
{
|
||||
name = "Loki";
|
||||
type = "loki";
|
||||
access = "proxy";
|
||||
url = "http://127.0.0.1:3100";
|
||||
isDefault = true;
|
||||
uid = "loki";
|
||||
}
|
||||
];
|
||||
};
|
||||
dashboards.settings.providers = [
|
||||
{
|
||||
name = "default";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue