Grafana dashboard: OCI - Compute Instance Details
Description: OCI Compute instance details

OCI Instance Compute Details
Moving forward to better observe an environment a compute instance can also be another service to be check in details what is going one here the objective is provide a looking glass to this cloud service resource.
You can type the display name of the OCI compute instance that you want to obtain the behavior and press enter to obtain the following metrics:
CPU consumption
Memory consumption
Network Transmission rate
IOPS Rate
Amount of data written


{
  "__inputs": [
    {
      "name": "DS_OCI_METRICS",
      "label": "oci_metrics",
      "description": "",
      "type": "datasource",
      "pluginId": "oci-metrics-datasource",
      "pluginName": "Oracle Cloud Infrastructure Metrics"
    },
    {
      "name": "VAR_COMPARTMENT_ID",
      "type": "constant",
      "label": "compartment",
      "value": "ocid1.compartment.oc1..",
      "description": "compartment ocid identification where the resources reside."
    },
    {
      "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"
    }
  ],
  "__requires": [
    {
      "type": "panel",
      "id": "bargauge",
      "name": "Bar gauge",
      "version": ""
    },
    {
      "type": "panel",
      "id": "gauge",
      "name": "Gauge",
      "version": ""
    },
    {
      "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"
      },
      {
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": false,
        "iconColor": "#C4162A",
        "limit": 100,
        "matchAny": true,
        "name": "Welcome OCI Compute Details",
        "showIn": 0,
        "tags": [
          "oci_compute"
        ],
        "type": "tags"
      }
    ]
  },
  "description": "OCI Compute instance details",
  "editable": true,
  "gnetId": 13598,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1608143793087,
  "links": [],
  "panels": [
    {
      "datasource": "${DS_OCI_METRICS}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "decimals": 0,
          "mappings": [],
          "thresholds": {
            "mode": "percentage",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "#6ED0E0",
                "value": 55
              },
              {
                "color": "semi-dark-yellow",
                "value": 65
              },
              {
                "color": "red",
                "value": 85
              },
              {
                "color": "#EAB839",
                "value": 100
              }
            ]
          },
          "unit": "percent"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "CpuUtilization, {backup_operations}"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "backup_operations"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 7,
        "w": 3,
        "x": 0,
        "y": 0
      },
      "id": 2,
      "options": {
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true
      },
      "pluginVersion": "7.3.4",
      "targets": [
        {
          "aggregation": "mean()",
          "compartment": "$compartment_id",
          "dimensions": [
            {
              "key": "resourceDisplayName",
              "operator": "=",
              "value": "$vm_name"
            }
          ],
          "metric": "CpuUtilization",
          "namespace": "oci_computeagent",
          "refId": "A",
          "region": "$region_deployment",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "OCI - Compute METRICS",
      "transparent": true,
      "type": "gauge"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_OCI_METRICS}",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 3,
        "y": 0
      },
      "hiddenSeries": false,
      "id": 12,
      "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": "mean()",
          "compartment": "$compartment_id",
          "dimensions": [
            {
              "key": "resourceDisplayName",
              "operator": "=",
              "value": "$vm_name"
            }
          ],
          "metric": "CpuUtilization",
          "namespace": "oci_computeagent",
          "refId": "A",
          "region": "$region_deployment",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "CPU Utilization",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:1357",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:1358",
          "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": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "blue",
                "value": 1000000000
              },
              {
                "color": "yellow",
                "value": 5000000000
              },
              {
                "color": "red",
                "value": 5000000010
              }
            ]
          },
          "unit": "decbytes"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 14,
        "w": 9,
        "x": 15,
        "y": 0
      },
      "id": 4,
      "options": {
        "displayMode": "gradient",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true
      },
      "pluginVersion": "7.3.4",
      "targets": [
        {
          "aggregation": "mean()",
          "compartment": "$compartment_id",
          "dimensions": [
            {
              "key": "resourceDisplayName",
              "operator": "=",
              "value": "$vm_name"
            }
          ],
          "metric": "DiskBytesRead",
          "namespace": "oci_computeagent",
          "refId": "A",
          "region": "$region_deployment",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        },
        {
          "aggregation": "mean()",
          "compartment": "$compartment_id",
          "dimensions": [
            {
              "key": "resourceDisplayName",
              "operator": "=",
              "value": "$vm_name"
            }
          ],
          "hide": false,
          "metric": "DiskBytesWritten",
          "namespace": "oci_computeagent",
          "refId": "B",
          "region": "$region_deployment",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Bytes Reads & Writes",
      "type": "bargauge"
    },
    {
      "datasource": "${DS_OCI_METRICS}",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "decimals": 0,
          "mappings": [],
          "thresholds": {
            "mode": "percentage",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "#6ED0E0",
                "value": 65
              },
              {
                "color": "#EAB839",
                "value": 75
              },
              {
                "color": "red",
                "value": 85
              }
            ]
          },
          "unit": "percent"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 3,
        "x": 0,
        "y": 7
      },
      "id": 8,
      "options": {
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": false
      },
      "pluginVersion": "7.3.4",
      "targets": [
        {
          "aggregation": "mean()",
          "compartment": "$compartment_id",
          "dimensions": [
            {
              "key": "resourceDisplayName",
              "operator": "=",
              "value": "$vm_name"
            }
          ],
          "metric": "MemoryUtilization",
          "namespace": "oci_computeagent",
          "refId": "A",
          "region": "$region_deployment",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Memory",
      "type": "gauge"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_OCI_METRICS}",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 3,
        "y": 7
      },
      "hiddenSeries": false,
      "id": 13,
      "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": "mean()",
          "compartment": "$compartment_id",
          "dimensions": [
            {
              "key": "resourceDisplayName",
              "operator": "=",
              "value": "$vm_name"
            }
          ],
          "metric": "MemoryUtilization",
          "namespace": "oci_computeagent",
          "refId": "A",
          "region": "$region_deployment",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Memory Utilization",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:1357",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:1358",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "datasource": "${DS_OCI_METRICS}",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "displayName": "RATE",
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "Bps"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 11,
        "w": 3,
        "x": 0,
        "y": 14
      },
      "id": 6,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "value_and_name"
      },
      "pluginVersion": "7.3.4",
      "targets": [
        {
          "aggregation": "rate()",
          "compartment": "$compartment_id",
          "dimensions": [
            {
              "key": "resourceDisplayName",
              "operator": "=",
              "value": "$vm_name"
            }
          ],
          "hide": false,
          "metric": "NetworksBytesIn",
          "namespace": "oci_computeagent",
          "refId": "A",
          "region": "$region_deployment",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        },
        {
          "aggregation": "rate()",
          "compartment": "$compartment_id",
          "dimensions": [
            {
              "key": "resourceDisplayName",
              "operator": "=",
              "value": "$vm_name"
            }
          ],
          "metric": "NetworksBytesOut",
          "namespace": "oci_computeagent",
          "refId": "B",
          "region": "$region_deployment",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Rate Netork Bytes In & Out",
      "type": "stat"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_OCI_METRICS}",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "unit": "decbytes"
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 11,
        "w": 12,
        "x": 3,
        "y": 14
      },
      "hiddenSeries": false,
      "id": 14,
      "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": "rate()",
          "compartment": "$compartment_id",
          "dimensions": [
            {
              "key": "resourceDisplayName",
              "operator": "=",
              "value": "$vm_name"
            }
          ],
          "metric": "NetworksBytesIn",
          "namespace": "oci_computeagent",
          "refId": "A",
          "region": "$region_deployment",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        },
        {
          "aggregation": "rate()",
          "compartment": "$compartment_id",
          "dimensions": [
            {
              "key": "resourceDisplayName",
              "operator": "=",
              "value": "$vm_name"
            }
          ],
          "metric": "NetworksBytesOut",
          "namespace": "oci_computeagent",
          "refId": "B",
          "region": "$region_deployment",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Network Transmission Rate",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:1357",
          "format": "decbytes",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:1358",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_OCI_METRICS}",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "displayName": "IOPs",
          "unit": "short"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "DiskIopsRead"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Read IOPs"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "DiskIopsWritten"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Write IOPs"
              }
            ]
          }
        ]
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 11,
        "w": 9,
        "x": 15,
        "y": 14
      },
      "hiddenSeries": false,
      "id": 15,
      "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": "rate()",
          "compartment": "$compartment_id",
          "dimensions": [
            {
              "key": "resourceDisplayName",
              "operator": "=",
              "value": "$vm_name"
            }
          ],
          "metric": "DiskIopsRead",
          "namespace": "oci_computeagent",
          "refId": "A",
          "region": "$region_deployment",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        },
        {
          "aggregation": "rate()",
          "compartment": "$compartment_id",
          "dimensions": [
            {
              "key": "resourceDisplayName",
              "operator": "=",
              "value": "$vm_name"
            }
          ],
          "metric": "DiskIopsWritten",
          "namespace": "oci_computeagent",
          "refId": "B",
          "region": "$region_deployment",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "IOPS Rate",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:1357",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:1358",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    }
  ],
  "schemaVersion": 26,
  "style": "dark",
  "tags": [
    "oci",
    "oci_compute"
  ],
  "templating": {
    "list": [
      {
        "current": {
          "value": "${VAR_COMPARTMENT_ID}",
          "text": "${VAR_COMPARTMENT_ID}",
          "selected": false
        },
        "error": null,
        "hide": 2,
        "label": "compartment",
        "name": "compartment_id",
        "options": [
          {
            "value": "${VAR_COMPARTMENT_ID}",
            "text": "${VAR_COMPARTMENT_ID}",
            "selected": false
          }
        ],
        "query": "${VAR_COMPARTMENT_ID}",
        "skipUrlSync": false,
        "type": "constant"
      },
      {
        "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": {
          "selected": false,
          "text": "",
          "value": ""
        },
        "error": null,
        "hide": 0,
        "label": "vm_name",
        "name": "vm_name",
        "options": [
          {
            "selected": true,
            "text": "",
            "value": ""
          }
        ],
        "query": "",
        "skipUrlSync": false,
        "type": "textbox"
      }
    ]
  },
  "time": {
    "from": "now-6h",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "",
  "title": "OCI - Compute Instance Details",
  "uid": "8bXGhwcMk",
  "version": 2
}