{
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": {
          "type": "datasource",
          "uid": "grafana"
        },
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "target": {
          "limit": 100,
          "matchAny": false,
          "tags": [],
          "type": "dashboard"
        },
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "fiscalYearStartMonth": 0,
  "graphTooltip": 0,
  "id": 25,
  "iteration": 1674835364311,
  "links": [],
  "liveNow": false,
  "panels": [
    {
      "datasource": {
        "type": "postgres",
        "uid": "P172949F98CB31475"
      },
      "description": "[[full_name]] metrics last calculation dates",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "auto",
            "displayMode": "auto",
            "inspect": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Last calculated date"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 185
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Took"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 164
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Metric name"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 540
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Finished at"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 172
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Started at"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 183
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Milliseconds"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 101
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 22,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "hideTimeOverride": false,
      "id": 1,
      "interval": "",
      "links": [],
      "options": {
        "footer": {
          "enablePagination": true,
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "showHeader": true,
        "sortBy": [
          {
            "desc": true,
            "displayName": "Finished at"
          }
        ]
      },
      "pluginVersion": "8.5.20",
      "targets": [
        {
          "alias": "",
          "datasource": {
            "type": "postgres",
            "uid": "P172949F98CB31475"
          },
          "dsType": "influxdb",
          "format": "table",
          "group": [],
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "metricColumn": "none",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "",
          "rawQuery": true,
          "rawSql": "select\n  metric as \"Metric name\",\n  dt as \"Finished at\",\n  start_dt as \"Started at\",\n  took_as_str as \"Took\",\n  took as \"Milliseconds\",\n  command as \"Command\"\nfrom\n  gha_last_computed\norder by\n  dt desc",
          "refId": "A",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [],
          "timeColumn": "time",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "title": "[[full_name]] metrics last calculation dates",
      "transformations": [
        {
          "id": "merge",
          "options": {
            "reducers": []
          }
        }
      ],
      "type": "table"
    },
    {
      "datasource": {
        "type": "postgres",
        "uid": "P172949F98CB31475"
      },
      "description": "",
      "gridPos": {
        "h": 12,
        "w": 24,
        "x": 0,
        "y": 22
      },
      "id": 3,
      "options": {
        "content": "${docs:raw}",
        "mode": "html"
      },
      "pluginVersion": "8.5.20",
      "targets": [
        {
          "datasource": {
            "type": "postgres",
            "uid": "P172949F98CB31475"
          },
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "",
          "refId": "A",
          "select": [],
          "table": "",
          "timeColumn": "",
          "timeColumnType": "",
          "where": []
        }
      ],
      "title": "Dashboard documentation",
      "type": "text"
    }
  ],
  "refresh": false,
  "schemaVersion": 36,
  "style": "dark",
  "tags": [
    "dashboard",
    "kserve"
  ],
  "templating": {
    "list": [
      {
        "current": {
          "selected": false,
          "text": "Kubernetes",
          "value": "Kubernetes"
        },
        "datasource": {
          "type": "postgres",
          "uid": "P172949F98CB31475"
        },
        "definition": "",
        "hide": 2,
        "includeAll": false,
        "multi": false,
        "name": "full_name",
        "options": [],
        "query": "select value_s from gha_vars where name = 'full_name'",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": true,
        "sort": 0,
        "tagValuesQuery": "",
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "current": {
          "selected": false,
          "text": "<h1 id=\"-full_name-home-dashboard\">Kubernetes last updated dashboard</h1>\n<p>Links:</p>\n<ul>\n<li>Grafana dashboard <a href=\"https://github.com/cncf/devstats/blob/master/grafana/dashboards/kubernetes/last-updated.json\" target=\"_blank\">JSON</a>.</li>\n</ul>\n<h1 id=\"description\">Description</h1>\n<ul>\n<li>&#39;Metric name&#39; maps to a specific SQL file name (without <code>.sql</code> extension) used in a given dashboard, for example &#39;events&#39; maps to <a href=\"https://github.com/cncf/devstats/blob/master/metrics/shared/events.sql\" target=\"_blank\">events.sql</a>.</li>\n<li>Each dashboard has a list of metrics used in its dashboard documentation panel.</li>\n<li>Then there is a time period marker like <code>d, d7, h, h24, w, m, q, y, y10, a_x_y, a_x_n, c_b, c_n, c_j_i, c_i_g, c_i_n, c_j_g, c_g_n, </code> they mean:</li>\n<li>h - hourly, hN - moving average of N hours, d - daily, dN - moving average of N days, w - week, m - month, q - quarter, y - year, each can have extra N, examples: h24, d7, m3, y10.</li>\n<li><code>a_x_y</code> - between annotations, <code>a_0_1</code> - between 1st and 2nd annotaion and so on, <code>a_x_n</code> - when (x+1)th annotation is the last one then it is from (n+1)th annotation till now. Examples: <code>a_10_11, a_11_n</code>.</li>\n<li><code>c_n</code> - from joining CNCF till now, <code>c_b</code> - from beginning till joining CNCF.</li>\n<li><code>c_j_i, c_j_g</code> - since joining CNCF till incubation (<code>c_j_i</code>), graduation (<code>c_j_g</code>).</li>\n<li><code>c_i_g</code> - since incubation to graduation, <code>c_i_n</code> - since incubation to now, <code>c_g_n</code> - since graduation to now.</li>\n</ul>",
          "value": "<h1 id=\"-full_name-home-dashboard\">Kubernetes last updated dashboard</h1>\n<p>Links:</p>\n<ul>\n<li>Grafana dashboard <a href=\"https://github.com/cncf/devstats/blob/master/grafana/dashboards/kubernetes/last-updated.json\" target=\"_blank\">JSON</a>.</li>\n</ul>\n<h1 id=\"description\">Description</h1>\n<ul>\n<li>&#39;Metric name&#39; maps to a specific SQL file name (without <code>.sql</code> extension) used in a given dashboard, for example &#39;events&#39; maps to <a href=\"https://github.com/cncf/devstats/blob/master/metrics/shared/events.sql\" target=\"_blank\">events.sql</a>.</li>\n<li>Each dashboard has a list of metrics used in its dashboard documentation panel.</li>\n<li>Then there is a time period marker like <code>d, d7, h, h24, w, m, q, y, y10, a_x_y, a_x_n, c_b, c_n, c_j_i, c_i_g, c_i_n, c_j_g, c_g_n, </code> they mean:</li>\n<li>h - hourly, hN - moving average of N hours, d - daily, dN - moving average of N days, w - week, m - month, q - quarter, y - year, each can have extra N, examples: h24, d7, m3, y10.</li>\n<li><code>a_x_y</code> - between annotations, <code>a_0_1</code> - between 1st and 2nd annotaion and so on, <code>a_x_n</code> - when (x+1)th annotation is the last one then it is from (n+1)th annotation till now. Examples: <code>a_10_11, a_11_n</code>.</li>\n<li><code>c_n</code> - from joining CNCF till now, <code>c_b</code> - from beginning till joining CNCF.</li>\n<li><code>c_j_i, c_j_g</code> - since joining CNCF till incubation (<code>c_j_i</code>), graduation (<code>c_j_g</code>).</li>\n<li><code>c_i_g</code> - since incubation to graduation, <code>c_i_n</code> - since incubation to now, <code>c_g_n</code> - since graduation to now.</li>\n</ul>"
        },
        "datasource": {
          "type": "postgres",
          "uid": "P172949F98CB31475"
        },
        "definition": "select value_s from gha_vars where name = 'last_updated_docs_html'",
        "hide": 2,
        "includeAll": false,
        "multi": false,
        "name": "docs",
        "options": [],
        "query": "select value_s from gha_vars where name = 'last_updated_docs_html'",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "type": "query"
      }
    ]
  },
  "time": {
    "from": "now-7d",
    "to": "now"
  },
  "timepicker": {
    "hidden": true,
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "",
  "title": "Last updated",
  "uid": "82",
  "version": 4,
  "weekStart": ""
}
