fix(grafana): make file-1c dashboards live by default
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
"panels": [
|
||||
{
|
||||
"id": 1,
|
||||
"title": "Продажи за 7 дней",
|
||||
"title": "Снимки баз за 7 дней",
|
||||
"type": "stat",
|
||||
"datasource": {
|
||||
"type": "grafana-clickhouse-datasource",
|
||||
@@ -33,7 +33,7 @@
|
||||
"format": 1,
|
||||
"pluginVersion": "11.2.2",
|
||||
"queryType": "table",
|
||||
"rawSql": "SELECT sum(amount) AS value FROM analytics_1c.documents WHERE doc_type = 'Реализация' AND $__timeFilter(ts)",
|
||||
"rawSql": "SELECT count() AS value FROM analytics_1c.documents WHERE doc_type = 'InfobaseSnapshot' AND $__timeFilter(ts)",
|
||||
"refId": "A"
|
||||
}
|
||||
],
|
||||
@@ -79,7 +79,7 @@
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"title": "Просроченная дебиторка",
|
||||
"title": "Базы в состоянии busy",
|
||||
"type": "stat",
|
||||
"datasource": {
|
||||
"type": "grafana-clickhouse-datasource",
|
||||
@@ -102,7 +102,7 @@
|
||||
"format": 1,
|
||||
"pluginVersion": "11.2.2",
|
||||
"queryType": "table",
|
||||
"rawSql": "SELECT sum(amount) AS value FROM analytics_1c.documents WHERE status = 'overdue' AND $__timeFilter(ts)",
|
||||
"rawSql": "SELECT countDistinct(infobase) AS value FROM analytics_1c.documents WHERE status = 'busy' AND $__timeFilter(ts)",
|
||||
"refId": "A"
|
||||
}
|
||||
],
|
||||
@@ -286,7 +286,7 @@
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"title": "Продажи по дням",
|
||||
"title": "Снимки баз по дням",
|
||||
"type": "timeseries",
|
||||
"datasource": {
|
||||
"type": "grafana-clickhouse-datasource",
|
||||
@@ -309,7 +309,7 @@
|
||||
"format": 1,
|
||||
"pluginVersion": "11.2.2",
|
||||
"queryType": "timeSeries",
|
||||
"rawSql": "SELECT toStartOfDay(ts) AS time, sum(amount) AS value FROM analytics_1c.documents WHERE doc_type = 'Реализация' AND $__timeFilter(ts) GROUP BY time ORDER BY time",
|
||||
"rawSql": "SELECT toStartOfDay(ts) AS time, count() AS value FROM analytics_1c.documents WHERE doc_type = 'InfobaseSnapshot' AND $__timeFilter(ts) GROUP BY time ORDER BY time",
|
||||
"refId": "A"
|
||||
}
|
||||
],
|
||||
@@ -565,6 +565,6 @@
|
||||
"timezone": "browser",
|
||||
"title": "1C File - Executive Summary",
|
||||
"uid": "1c-file-exec",
|
||||
"version": 1,
|
||||
"version": 2,
|
||||
"weekStart": ""
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user