|
|
@@ -75,7 +75,7 @@
|
|
|
{
|
|
|
"alias": "",
|
|
|
"format": "time_series",
|
|
|
- "rawSql": "SELECT\n $__timeGroup(\"createdAt\",'$summarize'),\n min(value) as \"value\",\n 'total avg' as \"metric\"\nFROM \n grafana_metric\nWHERE\n $__timeFilter(\"createdAt\") AND\n measurement = 'logins.count'\nGROUP BY time",
|
|
|
+ "rawSql": "SELECT\n $__timeGroup(\"createdAt\",'$summarize'),\n min(value) as \"value\",\n 'total avg' as \"metric\"\nFROM \n grafana_metric\nWHERE\n $__timeFilter(\"createdAt\") AND\n measurement = 'logins.count'\nGROUP BY time\nORDER BY time",
|
|
|
"refId": "B"
|
|
|
}
|
|
|
],
|
|
|
@@ -323,11 +323,7 @@
|
|
|
{
|
|
|
"alias": "",
|
|
|
"colorMode": null,
|
|
|
- "colors": [
|
|
|
- "rgba(245, 54, 54, 0.9)",
|
|
|
- "rgba(237, 129, 40, 0.89)",
|
|
|
- "rgba(50, 172, 45, 0.97)"
|
|
|
- ],
|
|
|
+ "colors": ["rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)"],
|
|
|
"decimals": 2,
|
|
|
"pattern": "/.*/",
|
|
|
"thresholds": [],
|
|
|
@@ -351,11 +347,7 @@
|
|
|
],
|
|
|
"schemaVersion": 16,
|
|
|
"style": "dark",
|
|
|
- "tags": [
|
|
|
- "gdev",
|
|
|
- "fake-data-gen",
|
|
|
- "postgres"
|
|
|
- ],
|
|
|
+ "tags": ["gdev", "fake-data-gen", "postgres"],
|
|
|
"templating": {
|
|
|
"list": [
|
|
|
{
|
|
|
@@ -501,32 +493,11 @@
|
|
|
"to": "now"
|
|
|
},
|
|
|
"timepicker": {
|
|
|
- "refresh_intervals": [
|
|
|
- "5s",
|
|
|
- "10s",
|
|
|
- "30s",
|
|
|
- "1m",
|
|
|
- "5m",
|
|
|
- "15m",
|
|
|
- "30m",
|
|
|
- "1h",
|
|
|
- "2h",
|
|
|
- "1d"
|
|
|
- ],
|
|
|
- "time_options": [
|
|
|
- "5m",
|
|
|
- "15m",
|
|
|
- "1h",
|
|
|
- "6h",
|
|
|
- "12h",
|
|
|
- "24h",
|
|
|
- "2d",
|
|
|
- "7d",
|
|
|
- "30d"
|
|
|
- ]
|
|
|
+ "refresh_intervals": ["5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d"],
|
|
|
+ "time_options": ["5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d"]
|
|
|
},
|
|
|
"timezone": "",
|
|
|
"title": "Datasource tests - Postgres",
|
|
|
"uid": "JYola5qzz",
|
|
|
"version": 4
|
|
|
-}
|
|
|
+}
|