Grafana dashboard: OCI - Compute - Production
Description: OCI Compute instance
OCI instance compute bring information specific for an specific instance  to move forward to an environment behavior on how the resources that reside for example in a compartment for an project production providing the following details:
IOPS Read + Write
Compute Instance State
CPU consumption
Memory consumption


OCI Autonomous  Shared will displays information about the following aspects of the service:
CPU
Active Logons
UserCalls
Execute Cound
Connection Latency
Transaction Count


{
  "__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_id",
      "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": "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": 13596,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1608142174230,
  "links": [],
  "panels": [
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_OCI_METRICS}",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [],
          "thresholds": {
            "mode": "percentage",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "#EAB839",
                "value": 45
              },
              {
                "color": "#6ED0E0",
                "value": 65
              },
              {
                "color": "red",
                "value": 85
              }
            ]
          },
          "unit": "percent"
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 0
      },
      "hiddenSeries": false,
      "id": 10,
      "legend": {
        "avg": false,
        "current": false,
        "hideEmpty": false,
        "hideZero": true,
        "max": false,
        "min": false,
        "show": false,
        "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": [],
          "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 CONSUMPTION",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "percent",
          "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": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "#EAB839",
                "value": 45
              },
              {
                "color": "#6ED0E0",
                "value": 65
              },
              {
                "color": "red",
                "value": 85
              }
            ]
          },
          "unit": "percent"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 12,
        "y": 0
      },
      "id": 8,
      "options": {
        "displayMode": "gradient",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true
      },
      "pluginVersion": "7.3.4",
      "targets": [
        {
          "aggregation": "mean()",
          "compartment": "$compartment_id",
          "dimensions": [],
          "metric": "MemoryUtilization",
          "namespace": "oci_computeagent",
          "refId": "A",
          "region": "$region_deployment",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "%Memory Usage",
      "type": "bargauge"
    },
    {
      "datasource": "${DS_OCI_METRICS}",
      "description": "Reads and Writes",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "#6ED0E0",
                "value": 500
              },
              {
                "color": "#EAB839",
                "value": 1500
              },
              {
                "color": "red",
                "value": 3000
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 10,
        "w": 8,
        "x": 0,
        "y": 8
      },
      "id": 4,
      "options": {
        "displayMode": "lcd",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "max"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true
      },
      "pluginVersion": "7.3.4",
      "targets": [
        {
          "aggregation": "rate()",
          "compartment": "$compartment_id",
          "dimensions": [],
          "metric": "DiskIopsRead",
          "namespace": "oci_computeagent",
          "refId": "A",
          "region": "$region_deployment",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        },
        {
          "aggregation": "rate()",
          "compartment": "$compartment_id",
          "dimensions": [],
          "metric": "DiskIopsWritten",
          "namespace": "oci_computeagent",
          "refId": "B",
          "region": "$region_deployment",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Block Volume IOPS",
      "type": "bargauge"
    },
    {
      "datasource": "${DS_OCI_METRICS}",
      "description": "read and writes",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "#6ED0E0",
                "value": 104857600
              },
              {
                "color": "#EAB839",
                "value": 838860800
              },
              {
                "color": "red",
                "value": 2147483648
              }
            ]
          },
          "unit": "bytes"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 10,
        "w": 16,
        "x": 8,
        "y": 8
      },
      "id": 6,
      "options": {
        "displayMode": "gradient",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true
      },
      "pluginVersion": "7.3.4",
      "targets": [
        {
          "aggregation": "rate()",
          "compartment": "$compartment_id",
          "dimensions": [],
          "metric": "DiskBytesRead",
          "namespace": "oci_computeagent",
          "refId": "A",
          "region": "$region_deployment",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        },
        {
          "aggregation": "rate()",
          "compartment": "$compartment_id",
          "dimensions": [],
          "metric": "DiskBytesWritten",
          "namespace": "oci_computeagent",
          "refId": "B",
          "region": "$region_deployment",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Bytes R&W",
      "type": "bargauge"
    },
    {
      "datasource": "${DS_OCI_METRICS}",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [
            {
              "from": "",
              "id": 1,
              "text": "MR",
              "to": "",
              "type": 1,
              "value": "1"
            },
            {
              "from": "",
              "id": 2,
              "text": "OK",
              "to": "",
              "type": 1,
              "value": "0"
            }
          ],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "dark-green",
                "value": 0
              },
              {
                "color": "red",
                "value": 1
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 24,
        "x": 0,
        "y": 18
      },
      "id": 2,
      "options": {
        "colorMode": "background",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.3.4",
      "targets": [
        {
          "aggregation": "mean()",
          "compartment": "$compartment_id",
          "dimensions": [],
          "metric": "maintenance_status",
          "namespace": "oci_compute_infrastructure_health",
          "refId": "A",
          "region": "$region_deployment",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "OCI Computr Maintenance",
      "type": "stat"
    }
  ],
  "schemaVersion": 26,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "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"
      },
      {
        "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"
      }
    ]
  },
  "time": {
    "from": "now-6h",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "",
  "title": "OCI - Compute - Production",
  "uid": "hB8tGLAMz",
  "version": 7,
  "description": "OCI Compute instance\r\nOCI instance compute bring information specific for an specific instance  to move forward to an environment behavior on how the resources that reside for example in a compartment for an project production providing the following details:\r\nIOPS Read + Write\r\nCompute Instance State\r\nCPU consumption\r\nMemory consumption\r\n"
}