|
| 1 | +{ |
| 2 | + "New Grafana dashboard": { |
| 3 | + "prefix": [ |
| 4 | + "grafana_dashboard", |
| 5 | + "dashboard" |
| 6 | + ], |
| 7 | + "description": "Create a new Grafana dashboard", |
| 8 | + "isFileTemplate": true, |
| 9 | + "body": [ |
| 10 | + "{", |
| 11 | + " \"title\": \"${1:New dashboard title}\",", |
| 12 | + " \"uid\": \"${2:new-dashboard-uid}\",", |
| 13 | + " \"annotations\": {", |
| 14 | + " \"list\": [", |
| 15 | + " {", |
| 16 | + " \"builtIn\": 1,", |
| 17 | + " \"datasource\": {", |
| 18 | + " \"type\": \"grafana\",", |
| 19 | + " \"uid\": \"-- Grafana --\"", |
| 20 | + " },", |
| 21 | + " \"enable\": true,", |
| 22 | + " \"hide\": true,", |
| 23 | + " \"iconColor\": \"rgba(0, 211, 255, 1)\",", |
| 24 | + " \"name\": \"Annotations & Alerts\",", |
| 25 | + " \"type\": \"dashboard\"", |
| 26 | + " }", |
| 27 | + " ]", |
| 28 | + " },", |
| 29 | + " \"editable\": true,", |
| 30 | + " \"fiscalYearStartMonth\": 0,", |
| 31 | + " \"graphTooltip\": 0,", |
| 32 | + " \"links\": [],", |
| 33 | + " \"panels\": [],", |
| 34 | + " \"preload\": false,", |
| 35 | + " \"schemaVersion\": 39,", |
| 36 | + " \"tags\": [],", |
| 37 | + " \"templating\": {", |
| 38 | + " \"list\": []", |
| 39 | + " },", |
| 40 | + " \"time\": {", |
| 41 | + " \"from\": \"now-6h\",", |
| 42 | + " \"to\": \"now\"", |
| 43 | + " },", |
| 44 | + " \"timepicker\": {},", |
| 45 | + " \"timezone\": \"browser\",", |
| 46 | + " \"version\": 0,", |
| 47 | + " \"weekStart\": \"\"", |
| 48 | + "}" |
| 49 | + ] |
| 50 | + } |
| 51 | +} |
0 commit comments