Grafana dashboard: OCI OKE
Description: Dashbaord displays the available information current on Metrics. For PODS and nodes.

Dashbaord displays the available information current on Metrics. For PODS and nodes.

{
  "__inputs": [
    {
      "name": "DS_OCI_METRICS",
      "label": "oci_metrics",
      "description": "",
      "type": "datasource",
      "pluginId": "oci-metrics-datasource",
      "pluginName": "Oracle Cloud Infrastructure Metrics"
    },
    {
      "name": "VAR_REGION_DEPLOYMENT",
      "type": "constant",
      "label": "region",
      "value": "us-ashburn-1",
      "description": "region single value of the region deployment to be displayed in the visualization. Example: us-ashburn-1"
    },
    {
      "name": "VAR_COMPARTMENT_ID",
      "type": "constant",
      "label": "compartment_id",
      "value": "ocid1.compartment.oc1..",
      "description": "compartment ocid identification where the resources reside."
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "7.3.4"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "oci-metrics-datasource",
      "name": "Oracle Cloud Infrastructure Metrics",
      "version": "2.0.0"
    },
    {
      "type": "panel",
      "id": "stat",
      "name": "Stat",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "gnetId": 13594,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1608136810792,
  "links": [],
  "panels": [
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_OCI_METRICS}",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [
            {
              "from": "",
              "id": 1,
              "text": "OK",
              "to": "",
              "type": 1,
              "value": "0"
            }
          ],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "short"
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 7,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "hiddenSeries": false,
      "id": 2,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "7.3.4",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "aggregation": "count()",
          "compartment": "$compartment_id",
          "dimensions": [],
          "metric": "APIServerRequestCount",
          "namespace": "oci_oke",
          "refId": "A",
          "region": "$region_deployment",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "API Server Request Count",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transformations": [
        {
          "id": "merge",
          "options": {}
        }
      ],
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "datasource": "${DS_OCI_METRICS}",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [
            {
              "from": "",
              "id": 1,
              "text": "OK",
              "to": "",
              "type": 1,
              "value": "0"
            }
          ],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "light-blue",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 24,
        "x": 0,
        "y": 7
      },
      "id": 3,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.3.4",
      "targets": [
        {
          "aggregation": "mean()",
          "compartment": "$compartment_id",
          "dimensions": [],
          "metric": "UnschedulablePods",
          "namespace": "oci_oke",
          "refId": "A",
          "region": "$region_deployment",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Unschedule Pods",
      "type": "stat"
    },
    {
      "datasource": "${DS_OCI_METRICS}",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [
            {
              "from": "",
              "id": 1,
              "text": "OK",
              "to": "",
              "type": 1,
              "value": "0"
            },
            {
              "from": "",
              "id": 2,
              "text": "DOWN",
              "to": "",
              "type": 1,
              "value": "1"
            }
          ],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "semi-dark-green",
                "value": 0
              },
              {
                "color": "semi-dark-red",
                "value": 1
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 24,
        "x": 0,
        "y": 14
      },
      "id": 4,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.3.4",
      "targets": [
        {
          "aggregation": "mean()",
          "compartment": "$compartment_id",
          "dimensions": [],
          "metric": "KubernetesNodeCondition",
          "namespace": "oci_oke",
          "refId": "A",
          "region": "$region_deployment",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Kubernetes Node State",
      "type": "stat"
    }
  ],
  "schemaVersion": 26,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "current": {
          "value": "${VAR_REGION_DEPLOYMENT}",
          "text": "${VAR_REGION_DEPLOYMENT}",
          "selected": false
        },
        "error": null,
        "hide": 2,
        "label": "region",
        "name": "region_deployment",
        "options": [
          {
            "value": "${VAR_REGION_DEPLOYMENT}",
            "text": "${VAR_REGION_DEPLOYMENT}",
            "selected": false
          }
        ],
        "query": "${VAR_REGION_DEPLOYMENT}",
        "skipUrlSync": false,
        "type": "constant"
      },
      {
        "current": {
          "value": "${VAR_COMPARTMENT_ID}",
          "text": "${VAR_COMPARTMENT_ID}",
          "selected": false
        },
        "error": null,
        "hide": 2,
        "label": "compartment_id",
        "name": "compartment_id",
        "options": [
          {
            "value": "${VAR_COMPARTMENT_ID}",
            "text": "${VAR_COMPARTMENT_ID}",
            "selected": false
          }
        ],
        "query": "${VAR_COMPARTMENT_ID}",
        "skipUrlSync": false,
        "type": "constant"
      }
    ]
  },
  "time": {
    "from": "now-6h",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "",
  "title": "OCI OKE",
  "uid": "w01C4_AMz",
  "version": 5,
  "description": "Dashbaord displays the available information current on Metrics. For PODS and nodes."
}