Grafana dashboard: OCI Object Storage
Description: OCI Object Storage displays information about buckets and objects:
Number of objects per bucket
Total size of objects per bucket
Failed API operations.


OCI Object Storage displays information about buckets and objects:
Number of objects per bucket
Total size of objects per bucket
Failed API operations.


{
  "__inputs": [
    {
      "name": "DS_OCI_METRICS",
      "label": "oci_metrics",
      "description": "Oracle Cloud Infrastructure Metrics",
      "type": "datasource",
      "pluginId": "oci-metrics-datasource",
      "pluginName": "Oracle Cloud Infrastructure Metrics"
    },
    {
      "name": "VAR_REGION_DEPLYMENT",
      "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": "panel",
      "id": "bargauge",
      "name": "Bar gauge",
      "version": ""
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "7.3.4"
    },
    {
      "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": 13593,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1608136808477,
  "links": [],
  "panels": [
    {
      "datasource": "${DS_OCI_METRICS}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "light-blue",
            "mode": "fixed"
          },
          "custom": {
            "align": null,
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "short"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 12,
        "w": 11,
        "x": 0,
        "y": 0
      },
      "id": 5,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "sum"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.3.4",
      "targets": [
        {
          "aggregation": "mean()",
          "compartment": "$compartment_id",
          "dimensions": [],
          "metric": "AllRequests",
          "namespace": "oci_objectstorage",
          "refId": "A",
          "region": "$region_deplyment",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "AllRequests",
      "type": "stat"
    },
    {
      "datasource": "${DS_OCI_METRICS}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "light-blue",
            "mode": "fixed"
          },
          "custom": {
            "align": null,
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "short"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 8,
        "x": 11,
        "y": 0
      },
      "id": 6,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "sum"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.3.4",
      "targets": [
        {
          "aggregation": "mean()",
          "compartment": "$compartment_id",
          "dimensions": [],
          "metric": "PutRequests",
          "namespace": "oci_objectstorage",
          "refId": "A",
          "region": "$region_deplyment",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Put Requests",
      "type": "stat"
    },
    {
      "datasource": "${DS_OCI_METRICS}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "light-blue",
            "mode": "fixed"
          },
          "custom": {
            "align": null,
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "short"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 12,
        "w": 5,
        "x": 19,
        "y": 0
      },
      "id": 2,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "sum"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.3.4",
      "targets": [
        {
          "aggregation": "mean()",
          "compartment": "$compartment_id",
          "dimensions": [],
          "metric": "ClientErrors",
          "namespace": "oci_objectstorage",
          "refId": "A",
          "region": "$region_deplyment",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Client Errors",
      "type": "stat"
    },
    {
      "datasource": "${DS_OCI_METRICS}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "light-blue",
            "mode": "fixed"
          },
          "custom": {
            "align": null,
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "short"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 8,
        "x": 11,
        "y": 6
      },
      "id": 7,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "sum"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.3.4",
      "targets": [
        {
          "aggregation": "mean()",
          "compartment": "ocid1.compartment.oc1..aaaaaaaa27oaurw3afyxat3jvperectk7lzrhxi4f6bnut553qyessif2g5a",
          "dimensions": [],
          "metric": "GetRequests",
          "namespace": "oci_objectstorage",
          "refId": "A",
          "region": "us-ashburn-1",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Get Requests",
      "type": "stat"
    },
    {
      "datasource": "${DS_OCI_METRICS}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "light-blue",
            "mode": "fixed"
          },
          "custom": {
            "align": null,
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "bytes"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 24,
        "x": 0,
        "y": 12
      },
      "id": 4,
      "options": {
        "colorMode": "background",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "sum"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.3.4",
      "targets": [
        {
          "aggregation": "mean()",
          "compartment": "$compartment_id",
          "dimensions": [],
          "metric": "StoredBytes",
          "namespace": "oci_objectstorage",
          "refId": "A",
          "region": "$region_deplyment",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "StoredBytes",
      "type": "stat"
    },
    {
      "datasource": "${DS_OCI_METRICS}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "continuous-YlRd"
          },
          "custom": {
            "align": null,
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "short"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 24,
        "x": 0,
        "y": 20
      },
      "id": 3,
      "options": {
        "displayMode": "gradient",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "sum"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true
      },
      "pluginVersion": "7.3.4",
      "targets": [
        {
          "aggregation": "mean()",
          "compartment": "$compartment_id",
          "dimensions": [],
          "metric": "ObjectCount",
          "namespace": "oci_objectstorage",
          "refId": "A",
          "region": "$region_deplyment",
          "resolution": "auto",
          "resourcegroup": "select resource group",
          "window": "auto"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "ObjectCount",
      "type": "bargauge"
    }
  ],
  "schemaVersion": 26,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "current": {
          "value": "${VAR_REGION_DEPLYMENT}",
          "text": "${VAR_REGION_DEPLYMENT}",
          "selected": false
        },
        "error": null,
        "hide": 2,
        "label": "region",
        "name": "region_deplyment",
        "options": [
          {
            "value": "${VAR_REGION_DEPLYMENT}",
            "text": "${VAR_REGION_DEPLYMENT}",
            "selected": false
          }
        ],
        "query": "${VAR_REGION_DEPLYMENT}",
        "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 Object Storage",
  "uid": "1c4h4_AGz",
  "version": 3,
  "description": "OCI Object Storage displays information about buckets and objects:\r\nNumber of objects per bucket\r\nTotal size of objects per bucket\r\nFailed API operations.\r\n"
}