Grafana dashboard: OCI VCN  Resource Monitoring
Description: Oracle Cloud VCN Monitoring. This dashboard help you in monitoring your VCN resources of OCI. Created by Ram N Sangwan

The Dashboard show OCI metrics on VCN resources. It includes VNIC Packets and Bytes dropped. Ingress and Egress Packets and Bytes dropped by firewall. 

{
  "__inputs": [
    {
      "name": "DS_ORACLE_CLOUD INFRASTRUCTURE METRICS",
      "label": "Oracle Cloud Infrastructure Metrics",
      "description": "",
      "type": "datasource",
      "pluginId": "oci-metrics-datasource",
      "pluginName": "Oracle Cloud Infrastructure Metrics"
    }
  ],
  "__elements": [],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "8.3.0"
    },
    {
      "type": "panel",
      "id": "heatmap",
      "name": "Heatmap",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "oci-metrics-datasource",
      "name": "Oracle Cloud Infrastructure Metrics",
      "version": "3.0.0"
    },
    {
      "type": "panel",
      "id": "timeseries",
      "name": "Time series",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "target": {
          "limit": 100,
          "matchAny": false,
          "tags": [],
          "type": "dashboard"
        },
        "type": "dashboard"
      }
    ]
  },
  "description": "Oracle Cloud VCN Monitoring. This dashboard help you in monitoring your VCN resources of OCI. Created by Ram N Sangwan",
  "editable": true,
  "fiscalYearStartMonth": 0,
  "gnetId": 14006,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1638514426345,
  "links": [
    {
      "icon": "external link",
      "tags": [],
      "title": "Ram N Sangwan",
      "tooltip": "Visit Developer Profile",
      "type": "link",
      "url": "www.rnsangwan.com"
    },
    {
      "icon": "external link",
      "tags": [],
      "title": "The SkillPedia",
      "tooltip": "Learn or Teach a Technology",
      "type": "link",
      "url": "https://www.theskillpedia.com"
    }
  ],
  "liveNow": false,
  "panels": [
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 16,
      "panels": [],
      "title": "Incoming Data  Monitoring",
      "type": "row"
    },
    {
      "datasource": {
        "type": "oci-metrics-datasource",
        "uid": "${DS_ORACLE_CLOUD INFRASTRUCTURE METRICS}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 10,
            "gradientMode": "none",
            "hideFrom": {
              "graph": false,
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "short"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 12,
        "w": 8,
        "x": 0,
        "y": 1
      },
      "id": 12,
      "links": [],
      "options": {
        "graph": {},
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "pluginVersion": "8.3.0",
      "targets": [
        {
          "aggregation": "mean()",
          "compartment": "$compartment",
          "dimensions": [],
          "metric": "VnicToNetworkBytes",
          "namespace": "oci_vcn",
          "refId": "A",
          "region": "$region",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        }
      ],
      "title": "Bytes to Network ( $compartment )",
      "type": "timeseries"
    },
    {
      "cards": {},
      "color": {
        "cardColor": "#b4ff00",
        "colorScale": "sqrt",
        "colorScheme": "interpolateBlues",
        "exponent": 0.5,
        "mode": "spectrum"
      },
      "dataFormat": "timeseries",
      "datasource": {
        "type": "oci-metrics-datasource",
        "uid": "${DS_ORACLE_CLOUD INFRASTRUCTURE METRICS}"
      },
      "gridPos": {
        "h": 12,
        "w": 7,
        "x": 8,
        "y": 1
      },
      "heatmap": {},
      "hideZeroBuckets": false,
      "highlightCards": true,
      "id": 8,
      "legend": {
        "show": false
      },
      "links": [],
      "pluginVersion": "8.3.0",
      "reverseYBuckets": false,
      "targets": [
        {
          "aggregation": "mean()",
          "compartment": "$compartment",
          "dimensions": [],
          "metric": "VnicToNetworkPackets",
          "namespace": "oci_vcn",
          "refId": "A",
          "region": "$region",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        }
      ],
      "title": "Packets to Network ( $compartment )",
      "tooltip": {
        "show": true,
        "showHistogram": false
      },
      "type": "heatmap",
      "xAxis": {
        "show": true
      },
      "yAxis": {
        "format": "short",
        "logBase": 1,
        "show": true
      },
      "yBucketBound": "auto"
    },
    {
      "datasource": {
        "type": "oci-metrics-datasource",
        "uid": "${DS_ORACLE_CLOUD INFRASTRUCTURE METRICS}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": -1,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "graph": false,
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "blue",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 12,
        "w": 8,
        "x": 15,
        "y": 1
      },
      "id": 2,
      "links": [],
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "pluginVersion": "8.3.0",
      "targets": [
        {
          "aggregation": "mean()",
          "compartment": "$compartment",
          "dimensions": [],
          "metric": "VnicIngressDropsSecurityList",
          "namespace": "oci_vcn",
          "refId": "A",
          "region": "$region",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        }
      ],
      "title": "Ingress Packets Dropped by Security List ( $compartment )",
      "type": "timeseries"
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 13
      },
      "id": 14,
      "panels": [],
      "title": "Outgoing Data Monitoring",
      "type": "row"
    },
    {
      "datasource": {
        "type": "oci-metrics-datasource",
        "uid": "${DS_ORACLE_CLOUD INFRASTRUCTURE METRICS}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "graph": false,
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": []
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 11,
        "w": 8,
        "x": 0,
        "y": 14
      },
      "id": 10,
      "links": [],
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "pluginVersion": "8.3.0",
      "targets": [
        {
          "aggregation": "mean()",
          "compartment": "$compartment",
          "dimensions": [],
          "metric": "VnicFromNetworkBytes",
          "namespace": "oci_vcn",
          "refId": "A",
          "region": "$region",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        }
      ],
      "title": "Bytes from Network ( $compartment )",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "oci-metrics-datasource",
        "uid": "${DS_ORACLE_CLOUD INFRASTRUCTURE METRICS}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "packets",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 10,
            "gradientMode": "none",
            "hideFrom": {
              "graph": false,
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "short"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 11,
        "w": 8,
        "x": 8,
        "y": 14
      },
      "id": 4,
      "links": [],
      "options": {
        "graph": {},
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "pluginVersion": "8.3.0",
      "targets": [
        {
          "aggregation": "count()",
          "compartment": "$compartment",
          "dimensions": [],
          "metric": "VnicEgressDropsSecurityList",
          "namespace": "oci_vcn",
          "refId": "A",
          "region": "$region",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        }
      ],
      "title": "Egress Packets Dropped by Security List ( $compartment )",
      "type": "timeseries"
    },
    {
      "cards": {},
      "color": {
        "cardColor": "#b4ff00",
        "colorScale": "sqrt",
        "colorScheme": "interpolateOranges",
        "exponent": 0.5,
        "mode": "spectrum"
      },
      "dataFormat": "timeseries",
      "datasource": {
        "type": "oci-metrics-datasource",
        "uid": "${DS_ORACLE_CLOUD INFRASTRUCTURE METRICS}"
      },
      "gridPos": {
        "h": 10,
        "w": 8,
        "x": 16,
        "y": 14
      },
      "heatmap": {},
      "hideZeroBuckets": false,
      "highlightCards": true,
      "id": 6,
      "legend": {
        "show": false
      },
      "links": [],
      "pluginVersion": "8.3.0",
      "reverseYBuckets": false,
      "targets": [
        {
          "aggregation": "mean()",
          "compartment": "$compartment",
          "dimensions": [],
          "metric": "VnicFromNetworkPackets",
          "namespace": "oci_vcn",
          "refId": "A",
          "region": "$region",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        }
      ],
      "title": "Packets from Network ( $compartment )",
      "tooltip": {
        "show": true,
        "showHistogram": false
      },
      "type": "heatmap",
      "xAxis": {
        "show": true
      },
      "yAxis": {
        "format": "short",
        "logBase": 1,
        "show": true
      },
      "yBucketBound": "auto"
    }
  ],
  "refresh": "5s",
  "schemaVersion": 33,
  "style": "dark",
  "tags": [
    "OCI VCN"
  ],
  "templating": {
    "list": [
      {
        "current": {},
        "datasource": {
          "type": "oci-metrics-datasource",
          "uid": "${DS_ORACLE_CLOUD INFRASTRUCTURE METRICS}"
        },
        "definition": "regions()",
        "description": "Select Region where your resources are located",
        "hide": 0,
        "includeAll": false,
        "label": "Region",
        "multi": false,
        "name": "region",
        "options": [],
        "query": "regions()",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 6,
        "tagValuesQuery": "",
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "current": {},
        "datasource": {
          "type": "oci-metrics-datasource",
          "uid": "${DS_ORACLE_CLOUD INFRASTRUCTURE METRICS}"
        },
        "definition": "compartments()",
        "description": "Compartment for your resources",
        "hide": 0,
        "includeAll": false,
        "label": "Compartment",
        "multi": false,
        "name": "compartment",
        "options": [],
        "query": "compartments()",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 6,
        "tagValuesQuery": "",
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-30m",
    "to": "now"
  },
  "timepicker": {
    "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": "OCI VCN  Resource Monitoring",
  "uid": "Tsp_D5ydIS",
  "version": 3,
  "weekStart": ""
}