apiVersion: v1
kind: ConfigMap
metadata:
  name: grafana-dashboard-1
  labels:
    grafana_dashboard: "1"
data:
  k8s-dashboard-01.json: |
    {
        "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": 1,
        "links": [
        ],
        "panels": [
            {
                "datasource": {
                    "type": "loki",
                    "uid": "P8E80F9AEF21F6940"
                },
                "fieldConfig": {
                    "defaults": {
                    },
                    "overrides": [
                    ]
                },
                "gridPos": {
                    "h": 8,
                    "w": 24,
                    "x": 0,
                    "y": 0
                },
                "id": 5,
                "options": {
                    "dedupStrategy": "none",
                    "enableLogDetails": true,
                    "prettifyLogMessage": false,
                    "showCommonLabels": false,
                    "showLabels": false,
                    "showTime": false,
                    "sortOrder": "Descending",
                    "wrapLogMessage": false
                },
                "pluginVersion": "11.3.1",
                "targets": [
                    {
                        "datasource": {
                            "type": "loki",
                            "uid": "P8E80F9AEF21F6940"
                        },
                        "expr": "{app=\"crossplane\"}",
                        "queryType": "range",
                        "refId": "A"
                    }
                ],
                "title": "Logs: App crossplane",
                "type": "logs"
            },
            {
                "datasource": {
                    "type": "loki",
                    "uid": "P8E80F9AEF21F6940"
                },
                "fieldConfig": {
                    "defaults": {
                    },
                    "overrides": [
                    ]
                },
                "gridPos": {
                    "h": 8,
                    "w": 24,
                    "x": 0,
                    "y": 8
                },
                "id": 4,
                "options": {
                    "dedupStrategy": "none",
                    "enableLogDetails": true,
                    "prettifyLogMessage": false,
                    "showCommonLabels": false,
                    "showLabels": false,
                    "showTime": false,
                    "sortOrder": "Descending",
                    "wrapLogMessage": false
                },
                "pluginVersion": "11.3.1",
                "targets": [
                    {
                        "datasource": {
                            "type": "loki",
                            "uid": "P8E80F9AEF21F6940"
                        },
                        "expr": "{app=\"argo-server\"}",
                        "queryType": "range",
                        "refId": "A"
                    }
                ],
                "title": "Logs: App argo-server",
                "type": "logs"
            },
            {
                "datasource": {
                    "type": "loki",
                    "uid": "P8E80F9AEF21F6940"
                },
                "fieldConfig": {
                    "defaults": {
                    },
                    "overrides": [
                    ]
                },
                "gridPos": {
                    "h": 8,
                    "w": 24,
                    "x": 0,
                    "y": 16
                },
                "id": 3,
                "options": {
                    "dedupStrategy": "none",
                    "enableLogDetails": true,
                    "prettifyLogMessage": false,
                    "showCommonLabels": false,
                    "showLabels": false,
                    "showTime": false,
                    "sortOrder": "Descending",
                    "wrapLogMessage": false
                },
                "pluginVersion": "11.3.1",
                "targets": [
                    {
                        "datasource": {
                            "type": "loki",
                            "uid": "P8E80F9AEF21F6940"
                        },
                        "expr": "{app=\"forgejo\"}",
                        "queryType": "range",
                        "refId": "A"
                    }
                ],
                "title": "Logs: App forgejo",
                "type": "logs"
            },
            {
                "datasource": {
                    "type": "loki",
                    "uid": "P8E80F9AEF21F6940"
                },
                "fieldConfig": {
                    "defaults": {
                    },
                    "overrides": [
                    ]
                },
                "gridPos": {
                    "h": 8,
                    "w": 24,
                    "x": 0,
                    "y": 24
                },
                "id": 2,
                "options": {
                    "dedupStrategy": "none",
                    "enableLogDetails": true,
                    "prettifyLogMessage": false,
                    "showCommonLabels": false,
                    "showLabels": false,
                    "showTime": false,
                    "sortOrder": "Descending",
                    "wrapLogMessage": false
                },
                "pluginVersion": "11.3.1",
                "targets": [
                    {
                        "datasource": {
                            "type": "loki",
                            "uid": "P8E80F9AEF21F6940"
                        },
                        "expr": "{app=\"backstage\"}",
                        "queryType": "range",
                        "refId": "A"
                    }
                ],
                "title": "Logs: App backstage",
                "type": "logs"
            },
            {
                "datasource": {
                    "type": "loki",
                    "uid": "P8E80F9AEF21F6940"
                },
                "fieldConfig": {
                    "defaults": {
                    },
                    "overrides": [
                    ]
                },
                "gridPos": {
                    "h": 8,
                    "w": 24,
                    "x": 0,
                    "y": 32
                },
                "id": 1,
                "options": {
                    "dedupStrategy": "none",
                    "enableLogDetails": true,
                    "prettifyLogMessage": false,
                    "showCommonLabels": false,
                    "showLabels": false,
                    "showTime": false,
                    "sortOrder": "Descending",
                    "wrapLogMessage": false
                },
                "pluginVersion": "11.3.1",
                "targets": [
                    {
                        "datasource": {
                            "type": "loki",
                            "uid": "P8E80F9AEF21F6940"
                        },
                        "expr": "{app=\"shoot-control-plane\"}",
                        "queryType": "range",
                        "refId": "A"
                    }
                ],
                "title": "Logs: App shoot-control-plane",
                "type": "logs"
            }
        ],
        "preload": false,
        "schemaVersion": 40,
        "tags": [
        ],
        "templating": {
            "list": [
            ]
        },
        "time": {
            "from": "now-6h",
            "to": "now"
        },
        "timepicker": {
        },
        "timezone": "browser",
        "title": "Loki Logs: Apps",
        "uid": "ee4iuluru756of",
        "version": 2,
        "weekStart": ""
    }