forked from denniskniep/grafana-datasource-plugin-neo4j
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0ab86ed
commit e477c98
Showing
4 changed files
with
166 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
apiVersion: 1 | ||
|
||
providers: | ||
# <string> an unique provider name | ||
- name: 'DashboardProvider' | ||
# <string, required> name of the dashboard folder. Required | ||
folder: 'Genreal' | ||
# <string, required> provider type. Required | ||
type: file | ||
# <bool> disable dashboard deletion | ||
disableDeletion: false | ||
# <bool> enable dashboard editing | ||
editable: true | ||
# <int> how often Grafana will scan for changed dashboards | ||
updateIntervalSeconds: 60 | ||
# <bool> allow updating provisioned dashboards from the UI | ||
allowUiUpdates: false | ||
options: | ||
# <string, required> path to dashboard files on disk. Required | ||
path: /etc/grafana/provisioning/dashboards/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
{ | ||
"annotations": { | ||
"list": [ | ||
{ | ||
"builtIn": 1, | ||
"datasource": "-- Grafana --", | ||
"enable": true, | ||
"hide": true, | ||
"iconColor": "rgba(0, 211, 255, 1)", | ||
"name": "Annotations & Alerts", | ||
"target": { | ||
"limit": 100, | ||
"matchAny": false, | ||
"tags": [], | ||
"type": "dashboard" | ||
}, | ||
"type": "dashboard" | ||
} | ||
] | ||
}, | ||
"editable": true, | ||
"fiscalYearStartMonth": 0, | ||
"graphTooltip": 0, | ||
"id": 1, | ||
"iteration": 1642973246308, | ||
"links": [], | ||
"liveNow": false, | ||
"panels": [ | ||
{ | ||
"fieldConfig": { | ||
"defaults": { | ||
"color": { | ||
"mode": "thresholds" | ||
}, | ||
"custom": { | ||
"align": "auto", | ||
"displayMode": "auto" | ||
}, | ||
"mappings": [], | ||
"thresholds": { | ||
"mode": "absolute", | ||
"steps": [ | ||
{ | ||
"color": "green", | ||
"value": null | ||
}, | ||
{ | ||
"color": "red", | ||
"value": 80 | ||
} | ||
] | ||
} | ||
}, | ||
"overrides": [] | ||
}, | ||
"gridPos": { | ||
"h": 10, | ||
"w": 24, | ||
"x": 0, | ||
"y": 0 | ||
}, | ||
"id": 4, | ||
"options": { | ||
"footer": { | ||
"fields": "", | ||
"reducer": [ | ||
"sum" | ||
], | ||
"show": false | ||
}, | ||
"showHeader": true | ||
}, | ||
"pluginVersion": "8.3.4", | ||
"targets": [ | ||
{ | ||
"cypherQuery": "Match(m:Movie) where m.title = ${title:doublequote} return m.title, m.tagline, m.released", | ||
"datasource": { | ||
"type": "kniepdennis-neo4j-datasource", | ||
"uid": "P13FD9E770BE36698" | ||
}, | ||
"refId": "A" | ||
} | ||
], | ||
"title": "Movie", | ||
"type": "table" | ||
} | ||
], | ||
"schemaVersion": 34, | ||
"style": "dark", | ||
"tags": [], | ||
"templating": { | ||
"list": [ | ||
{ | ||
"current": { | ||
"selected": false, | ||
"text": "", | ||
"value": "" | ||
}, | ||
"hide": 0, | ||
"name": "search", | ||
"options": [ | ||
{ | ||
"selected": true, | ||
"text": "", | ||
"value": "" | ||
} | ||
], | ||
"query": "", | ||
"skipUrlSync": false, | ||
"type": "textbox" | ||
}, | ||
{ | ||
"current": { | ||
"selected": false, | ||
"text": "The Matrix", | ||
"value": "The Matrix" | ||
}, | ||
"definition": "Match(m:Movie) where toUpper(m.title) contains toUpper(${search:doublequote}) return m.title", | ||
"hide": 0, | ||
"includeAll": false, | ||
"multi": false, | ||
"name": "title", | ||
"options": [], | ||
"query": { | ||
"cypherQuery": "Match(m:Movie) where toUpper(m.title) contains toUpper(${search:doublequote}) return m.title" | ||
}, | ||
"refresh": 2, | ||
"regex": "", | ||
"skipUrlSync": false, | ||
"sort": 0, | ||
"type": "query" | ||
} | ||
] | ||
}, | ||
"time": { | ||
"from": "now-6h", | ||
"to": "now" | ||
}, | ||
"timepicker": {}, | ||
"timezone": "", | ||
"title": "Movie Dashboard", | ||
"uid": "c3NinSb7z", | ||
"version": 5, | ||
"weekStart": "" | ||
} |