# Source: grafana-dashboard/templates/configmap.yaml
apiVersion: v1
kind: ConfigMap
metadata:
  name: grafana-dashboard-jenkins-x
  labels:
    app.kubernetes.io/instance: jenkins-x
    app.kubernetes.io/name: grafana-dashboard
    helm.sh/chart: grafana-dashboard-0.2.0
    jenkins-x.io/grafana-dashboard: "1"
    gitops.jenkins-x.io/pipeline: 'namespaces'
  annotations:
    meta.helm.sh/release-name: 'grafana-dashboard'
  namespace: jx-observability
data:
  jenkins-x.json: |-
    {
      "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": 13,
      "links": [],
      "panels": [
        {
          "datasource": null,
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {},
              "custom": {},
              "thresholds": {
                "mode": "absolute",
                "steps": []
              }
            },
            "overrides": []
          },
          "gridPos": {
            "h": 8,
            "w": 24,
            "x": 0,
            "y": 0
          },
          "id": 2,
          "options": {
            "content": "![logo](https://raw.githubusercontent.com/jenkins-x/jx-docs/master/assets/icons/logo.svg)",
            "mode": "markdown"
          },
          "pluginVersion": "7.4.3",
          "targets": [
            {
              "queryType": "randomWalk",
              "refId": "A"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "",
          "type": "text"
        },
        {
          "datasource": null,
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "gridPos": {
            "h": 9,
            "w": 6,
            "x": 0,
            "y": 8
          },
          "id": 5,
          "options": {
            "maxItems": 20,
            "query": "",
            "showHeadings": false,
            "showRecentlyViewed": false,
            "showSearch": false,
            "showStarred": true,
            "tags": []
          },
          "pluginVersion": "7.4.3",
          "targets": [
            {
              "queryType": "randomWalk",
              "refId": "A"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Your favorite dashboards",
          "type": "dashlist"
        },
        {
          "datasource": null,
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "gridPos": {
            "h": 9,
            "w": 6,
            "x": 6,
            "y": 8
          },
          "id": 4,
          "options": {
            "maxItems": 20,
            "query": "",
            "showHeadings": false,
            "showRecentlyViewed": false,
            "showSearch": true,
            "showStarred": false,
            "tags": [
              "jenkins-x"
            ]
          },
          "pluginVersion": "7.4.3",
          "targets": [
            {
              "queryType": "randomWalk",
              "refId": "A"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Jenkins X Dashboards",
          "type": "dashlist"
        },
        {
          "cacheTimeout": null,
          "datasource": "-- Grafana --",
          "fieldConfig": {
            "defaults": {
              "color": {},
              "custom": {},
              "thresholds": {
                "mode": "absolute",
                "steps": []
              }
            },
            "overrides": []
          },
          "gridPos": {
            "h": 9,
            "w": 12,
            "x": 12,
            "y": 8
          },
          "id": 7,
          "interval": null,
          "links": [],
          "options": {
            "content": "# Grafana for Jenkins X\n\n- <img width=\"20px\" src=\"https://raw.githubusercontent.com/jenkins-x/jx-docs/master/static/images/logo.svg\"> [Jenkins X website](https://jenkins-x.io/)\n- <img width=\"20px\" src=\"https://grafana.com/static/img/logos/grafana_logo_swirl-events.svg\"> [Grafana website](https://grafana.com/)\n- <img width=\"20px\" src=\"https://img2.freepng.fr/20180824/jtl/kisspng-computer-icons-logo-portable-network-graphics-clip-icons-for-free-iconza-circle-social-5b7fe46b0bac53.1999041115351082030478.jpg\"> [GitHub repository with the Grafana dashboards for Jenkins X](https://github.com/jenkins-x-charts/grafana-dashboard)\n\n",
            "mode": "markdown"
          },
          "pluginVersion": "7.4.3",
          "timeFrom": null,
          "timeShift": null,
          "title": "",
          "type": "text"
        }
      ],
      "schemaVersion": 27,
      "style": "dark",
      "tags": [],
      "templating": {
        "list": []
      },
      "time": {
        "from": "now-6h",
        "to": "now"
      },
      "timepicker": {
        "hidden": true
      },
      "timezone": "browser",
      "title": "Jenkins X",
      "uid": "jenkins-x",
      "version": 1
    }
