diff --git a/modules/nixos/loki/dashboards/logs.json b/modules/nixos/loki/dashboards/logs.json deleted file mode 100644 index b929e9b..0000000 --- a/modules/nixos/loki/dashboards/logs.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Graphics --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 1, - "links": [], - "panels": [ - { - "datasource": { - "type": "loki", - "uid": "Loki" - }, - "gridPos": { - "h": 24, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 1, - "options": { - "dedupStrategy": "none", - "enableLogDetails": true, - "prettifyLogMessage": false, - "showCommonLabels": false, - "showLabels": false, - "showTime": true, - "sortOrder": "Descending", - "wrapLogMessage": false - }, - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "Loki" - }, - "expr": "{job=\"systemd-journal\"}", - "refId": "A" - } - ], - "title": "System Logs", - "type": "logs" - } - ], - "schemaVersion": 38, - "style": "dark", - "tags": [], - "templating": { - "list": [] - }, - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "System Logs", - "uid": "system-logs", - "version": 1 -} diff --git a/modules/nixos/loki/default.nix b/modules/nixos/loki/default.nix index f6f6045..d5261e6 100644 --- a/modules/nixos/loki/default.nix +++ b/modules/nixos/loki/default.nix @@ -60,13 +60,6 @@ access = "proxy"; url = "http://127.0.0.1:3100"; isDefault = true; - uid = "Loki"; - } - ]; - dashboards.settings.providers = [ - { - name = "default"; - options.path = ./dashboards; } ]; };