From 7d9a062de0ade38926ec2a80a5342fe613d7ead4 Mon Sep 17 00:00:00 2001 From: Colin Date: Sun, 21 Apr 2024 15:09:27 -0400 Subject: [PATCH] fixup --- .DS_Store | Bin 0 -> 6148 bytes docker/grafana/dashboards/dashboard.json | 81 +++++++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 .DS_Store create mode 100644 docker/grafana/dashboards/dashboard.json diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..6823d8e279b80fd2c8d5b369c5d025faa5297fec GIT binary patch literal 6148 zcmeHKI|>3Z5S>vG!N$@uSMUZw^aOhWLB&E*5VYRPb9pr1d>UQtw2?P3dC6p6LSC`6 zBO*G#Y-S=85gEY^sAlb| WO>6_5j=0l-{24G^XjI_W3OoSIFcp>n literal 0 HcmV?d00001 diff --git a/docker/grafana/dashboards/dashboard.json b/docker/grafana/dashboards/dashboard.json new file mode 100644 index 0000000..5558f39 --- /dev/null +++ b/docker/grafana/dashboards/dashboard.json @@ -0,0 +1,81 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": "-- Grafana --", + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "type": "dashboard" + } + ] + }, + "editable": true, + "gnetId": null, + "graphTooltip": 0, + "id": null, + "links": [], + "panels": [ + { + "datasource": "Loki", + "fieldConfig": { + "defaults": { + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + } + }, + "thresholds": { + "steps": [ + { + "color": "green", + "value": null + } + ] + } + } + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 0 + }, + "id": 2, + "options": { + "showLabels": true, + "showTime": true, + "sortOrder": "Descending" + }, + "targets": [ + { + "expr": "{job=\"your_job_name\"}", + "queryType": "range", + "refId": "A" + } + ], + "title": "Logs", + "type": "logs" + } + ], + "schemaVersion": 30, + "style": "dark", + "tags": ["loki"], + "templating": { + "list": [] + }, + "time": { + "from": "now-1h", + "to": "now" + }, + "timepicker": {}, + "timezone": "", + "title": "Loki Logs Dashboard", + "uid": "loki-logs", + "version": 1 + } + \ No newline at end of file