{ "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "grafana", "uid": "-- Grafana --" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": 17, "links": [], "panels": [ { "datasource": { "type": "yesoreyeram-infinity-datasource", "uid": "${DatasourceID}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "blue", "value": null } ] } }, "overrides": [] }, "gridPos": { "h": 5, "w": 8, "x": 0, "y": 0 }, "id": 2, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.4.0", "targets": [ { "columns": [ { "selector": "status", "text": "status", "type": "string" }, { "selector": "count", "text": "count", "type": "number" } ], "datasource": { "type": "yesoreyeram-infinity-datasource", "uid": "${DatasourceID}" }, "filters": [], "format": "timeseries", "global_query_id": "", "refId": "A", "root_selector": "summary", "source": "url", "type": "json", "url": "${URL}", "url_options": { "data": "", "method": "GET" } } ], "title": "Summary", "type": "stat" }, { "datasource": { "type": "yesoreyeram-infinity-datasource", "uid": "${DatasourceID}" }, "fieldConfig": { "defaults": { "color": { "fixedColor": "semi-dark-yellow", "mode": "continuous-RdYlGr" }, "fieldMinMax": false, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "#EAB839", "value": 1 } ] } }, "overrides": [] }, "gridPos": { "h": 5, "w": 16, "x": 8, "y": 0 }, "id": 3, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "vertical", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.4.0", "targets": [ { "columns": [ { "selector": "status", "text": "status", "type": "string" }, { "selector": "count", "text": "count", "type": "number" } ], "datasource": { "type": "yesoreyeram-infinity-datasource", "uid": "${DatasourceID}" }, "filters": [], "format": "timeseries", "global_query_id": "", "refId": "A", "root_selector": "current", "source": "url", "type": "json", "url": "${URL}", "url_options": { "data": "", "method": "GET" } } ], "title": "Current", "type": "stat" }, { "datasource": { "type": "yesoreyeram-infinity-datasource", "uid": "${DatasourceID}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "bars", "fillOpacity": 50, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 24, "x": 0, "y": 5 }, "id": 1, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "11.4.0", "targets": [ { "columns": [ { "selector": "date", "text": "date", "type": "timestamp" }, { "selector": "solved", "text": "solved", "type": "number" }, { "selector": "open", "text": "open", "type": "number" } ], "datasource": { "type": "yesoreyeram-infinity-datasource", "uid": "${DatasourceID}" }, "filters": [], "format": "table", "global_query_id": "", "refId": "A", "root_selector": "daily", "source": "url", "type": "json", "url": "${URL}", "url_options": { "data": "", "method": "GET" } } ], "title": "GLPI Open/Solved tickets", "type": "timeseries" }, { "datasource": { "type": "yesoreyeram-infinity-datasource", "uid": "${DatasourceID}" }, "fieldConfig": { "defaults": { "color": { "fixedColor": "#00000000", "mode": "fixed" }, "custom": { "align": "auto", "cellOptions": { "applyToRow": false, "mode": "gradient", "type": "color-background" }, "inspect": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] } }, "overrides": [ { "matcher": { "id": "byName", "options": "id" }, "properties": [ { "id": "custom.width", "value": 56 } ] }, { "matcher": { "id": "byName", "options": "date" }, "properties": [ { "id": "custom.width", "value": 181 } ] }, { "matcher": { "id": "byName", "options": "name" }, "properties": [ { "id": "custom.width", "value": 636 } ] }, { "matcher": { "id": "byName", "options": "status" }, "properties": [ { "id": "custom.width", "value": 68 } ] }, { "matcher": { "id": "byName", "options": "solvedate" }, "properties": [ { "id": "custom.width", "value": 92 } ] }, { "matcher": { "id": "byName", "options": "priority" }, "properties": [ { "id": "custom.width", "value": 67 } ] }, { "matcher": { "id": "byName", "options": "impact" }, "properties": [ { "id": "custom.width", "value": 74 } ] }, { "matcher": { "id": "byName", "options": "urgency" }, "properties": [ { "id": "custom.width", "value": 92 } ] }, { "matcher": { "id": "byName", "options": "type" }, "properties": [ { "id": "custom.width", "value": 96 } ] }, { "matcher": { "id": "byName", "options": "lastupdater" }, "properties": [ { "id": "custom.width", "value": 136 } ] } ] }, "gridPos": { "h": 14, "w": 24, "x": 0, "y": 13 }, "id": 4, "options": { "cellHeight": "sm", "footer": { "countRows": false, "enablePagination": true, "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true, "sortBy": [ { "desc": true, "displayName": "date" } ] }, "pluginVersion": "11.4.0", "targets": [ { "columns": [ { "selector": "id", "text": "id", "type": "number" }, { "selector": "date", "text": "date", "type": "timestamp" }, { "selector": "name", "text": "name", "type": "string" }, { "selector": "status", "text": "status", "type": "string" }, { "selector": "type", "text": "type", "type": "string" }, { "selector": "urgency", "text": "urgency", "type": "string" }, { "selector": "impact", "text": "impact", "type": "string" }, { "selector": "priority", "text": "priority", "type": "string" }, { "selector": "lastupdater", "text": "lastupdater", "type": "string" }, { "selector": "recipient", "text": "recipient", "type": "string" } ], "datasource": { "type": "yesoreyeram-infinity-datasource", "uid": "${DatasourceID}" }, "filters": [], "format": "table", "global_query_id": "", "refId": "A", "root_selector": "last_tickets", "source": "url", "type": "json", "url": "$URL", "url_options": { "data": "", "method": "GET" } } ], "title": "Last tickets", "type": "table" } ], "preload": false, "schemaVersion": 40, "tags": [], "templating": { "list": [ { "current": { "text": "", "value": "" }, "description": "Your yesoreyeram-infinity-datasource ID. Take it from URL at Connections > Data sources > yesoreyeram-infinity-datasource", "label": "DatasourceID", "name": "DatasourceID", "options": [ { "selected": true, "text": "", "value": "" } ], "query": "", "type": "textbox" }, { "current": { "text": "https://raw.githubusercontent.com/yaroslaff/glpi-grafana-exporter/refs/heads/master/demo/glpi.json", "value": "https://raw.githubusercontent.com/yaroslaff/glpi-grafana-exporter/refs/heads/master/demo/glpi.json" }, "description": "URL of glpi.json on your server, generated by glpi-grafana-exporter", "label": "URL", "name": "URL", "options": [ { "selected": true, "text": "https://raw.githubusercontent.com/yaroslaff/glpi-grafana-exporter/refs/heads/master/demo/glpi.json", "value": "https://raw.githubusercontent.com/yaroslaff/glpi-grafana-exporter/refs/heads/master/demo/glpi.json" } ], "query": "https://raw.githubusercontent.com/yaroslaff/glpi-grafana-exporter/refs/heads/master/demo/glpi.json", "type": "textbox" } ] }, "time": { "from": "now-30d", "to": "now" }, "timepicker": {}, "timezone": "browser", "title": "GLPI statistics", "uid": "", "version": 2, "weekStart": "" }