diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..6823d8e Binary files /dev/null and b/.DS_Store differ 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