Grafana dashboard: IRIS
Description: GKE-deployed IRIS metrics

Shows IRIS metrics exposed in Prometheus format.
Prerequisites: IRIS deployed in GKE, metrics are gathered by GKE-metrics-agent (based on OpenTelemetry) and sent to CloudMonitoring as custom-metrics.

{
  "__inputs": [],
  "__requires": [
    {
      "type": "panel",
      "id": "bargauge",
      "name": "Bar gauge",
      "version": ""
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "8.1.0"
    },
    {
      "type": "panel",
      "id": "stat",
      "name": "Stat",
      "version": ""
    },
    {
      "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"
      }
    ]
  },
  "editable": true,
  "gnetId": 14869,
  "graphTooltip": 0,
  "id": null,
  "links": [],
  "panels": [
    {
      "datasource": null,
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "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": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 0,
        "y": 0
      },
      "id": 2,
      "options": {
        "legend": {
          "calcs": [
            "last",
            "max"
          ],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "metricQuery": {
            "aliasBy": "CPU Utilization",
            "alignmentPeriod": "cloud-monitoring-auto",
            "crossSeriesReducer": "REDUCE_NONE",
            "editorMode": "visual",
            "filters": [],
            "groupBys": [],
            "metricKind": "GAUGE",
            "metricType": "custom.googleapis.com/opencensus/iris_cpu_usage",
            "perSeriesAligner": "ALIGN_MEAN",
            "preprocessor": "none",
            "projectName": "",
            "query": "",
            "valueType": "DOUBLE"
          },
          "queryType": "metrics",
          "refId": "A"
        }
      ],
      "title": "CPU Utilization",
      "type": "timeseries"
    },
    {
      "datasource": null,
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "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": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 12,
        "y": 0
      },
      "id": 3,
      "options": {
        "legend": {
          "calcs": [
            "last",
            "max"
          ],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "metricQuery": {
            "aliasBy": "Database Reads",
            "alignmentPeriod": "cloud-monitoring-auto",
            "crossSeriesReducer": "REDUCE_NONE",
            "editorMode": "visual",
            "filters": [],
            "groupBys": [],
            "metricKind": "GAUGE",
            "metricType": "custom.googleapis.com/opencensus/iris_phys_reads_per_sec",
            "perSeriesAligner": "ALIGN_MEAN",
            "preprocessor": "none",
            "projectName": "",
            "query": "",
            "valueType": "DOUBLE"
          },
          "queryType": "metrics",
          "refId": "A"
        }
      ],
      "title": "Database Reads",
      "type": "timeseries"
    },
    {
      "datasource": null,
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "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": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 0,
        "y": 9
      },
      "id": 4,
      "options": {
        "legend": {
          "calcs": [
            "last"
          ],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "metricQuery": {
            "aliasBy": "Glorefs",
            "alignmentPeriod": "cloud-monitoring-auto",
            "crossSeriesReducer": "REDUCE_NONE",
            "editorMode": "visual",
            "filters": [],
            "groupBys": [],
            "metricKind": "GAUGE",
            "metricType": "custom.googleapis.com/opencensus/iris_glo_ref_per_sec",
            "perSeriesAligner": "ALIGN_MEAN",
            "preprocessor": "none",
            "projectName": "",
            "query": "",
            "valueType": "DOUBLE"
          },
          "queryType": "metrics",
          "refId": "A"
        },
        {
          "hide": false,
          "metricQuery": {
            "aliasBy": "Remote Glorefs",
            "alignmentPeriod": "cloud-monitoring-auto",
            "crossSeriesReducer": "REDUCE_MEAN",
            "editorMode": "visual",
            "filters": [],
            "groupBys": [],
            "metricKind": "GAUGE",
            "metricType": "custom.googleapis.com/opencensus/iris_glo_ref_rem_per_sec",
            "perSeriesAligner": "ALIGN_MEAN",
            "preprocessor": "none",
            "projectName": "",
            "query": "",
            "valueType": "DOUBLE"
          },
          "queryType": "metrics",
          "refId": "B"
        }
      ],
      "title": "Glorefs",
      "type": "timeseries"
    },
    {
      "datasource": null,
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "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": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "ms"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 12,
        "y": 9
      },
      "id": 5,
      "options": {
        "legend": {
          "calcs": [
            "last",
            "max"
          ],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "metricQuery": {
            "aliasBy": "Database Latency",
            "alignmentPeriod": "cloud-monitoring-auto",
            "crossSeriesReducer": "REDUCE_NONE",
            "editorMode": "visual",
            "filters": [
              "metric.label.id",
              "=",
              "IRISSYS"
            ],
            "groupBys": [],
            "metricKind": "GAUGE",
            "metricType": "custom.googleapis.com/opencensus/iris_db_latency",
            "perSeriesAligner": "ALIGN_MEAN",
            "preprocessor": "none",
            "projectName": "",
            "query": "",
            "valueType": "DOUBLE"
          },
          "queryType": "metrics",
          "refId": "A"
        }
      ],
      "title": "IRIS Database Latency ",
      "type": "timeseries"
    },
    {
      "datasource": null,
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "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": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 0,
        "y": 18
      },
      "id": 6,
      "options": {
        "legend": {
          "calcs": [
            "last",
            "mean"
          ],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "metricQuery": {
            "aliasBy": "Global Updates",
            "alignmentPeriod": "cloud-monitoring-auto",
            "crossSeriesReducer": "REDUCE_NONE",
            "editorMode": "visual",
            "filters": [],
            "groupBys": [],
            "metricKind": "GAUGE",
            "metricType": "custom.googleapis.com/opencensus/iris_glo_update_per_sec",
            "perSeriesAligner": "ALIGN_MEAN",
            "preprocessor": "none",
            "projectName": "",
            "query": "",
            "valueType": "DOUBLE"
          },
          "queryType": "metrics",
          "refId": "A"
        }
      ],
      "title": "Global Updates",
      "type": "timeseries"
    },
    {
      "datasource": null,
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "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": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 12,
        "y": 18
      },
      "id": 10,
      "options": {
        "legend": {
          "calcs": [
            "last",
            "mean"
          ],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "metricQuery": {
            "aliasBy": "Cache Efficiency",
            "alignmentPeriod": "cloud-monitoring-auto",
            "crossSeriesReducer": "REDUCE_NONE",
            "editorMode": "visual",
            "filters": [],
            "groupBys": [],
            "metricKind": "GAUGE",
            "metricType": "custom.googleapis.com/opencensus/iris_cache_efficiency",
            "perSeriesAligner": "ALIGN_MEAN",
            "preprocessor": "none",
            "projectName": "",
            "query": "",
            "valueType": "DOUBLE"
          },
          "queryType": "metrics",
          "refId": "A"
        }
      ],
      "title": "Cache Efficiency",
      "type": "timeseries"
    },
    {
      "datasource": null,
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 8,
        "x": 0,
        "y": 27
      },
      "id": 8,
      "options": {
        "displayMode": "gradient",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "8.1.0",
      "targets": [
        {
          "metricQuery": {
            "aliasBy": "IRIS Disk Percent",
            "alignmentPeriod": "cloud-monitoring-auto",
            "crossSeriesReducer": "REDUCE_NONE",
            "editorMode": "visual",
            "filters": [
              "metric.label.id",
              "=",
              "IRISSYS"
            ],
            "groupBys": [],
            "metricKind": "GAUGE",
            "metricType": "custom.googleapis.com/opencensus/iris_disk_percent_full",
            "perSeriesAligner": "ALIGN_MEAN",
            "preprocessor": "none",
            "projectName": "",
            "query": "",
            "valueType": "DOUBLE"
          },
          "queryType": "metrics",
          "refId": "A"
        }
      ],
      "title": "IRIS Disk Percent",
      "type": "bargauge"
    },
    {
      "datasource": null,
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "decmbytes"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 8,
        "x": 8,
        "y": 27
      },
      "id": 9,
      "options": {
        "displayMode": "gradient",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "8.1.0",
      "targets": [
        {
          "metricQuery": {
            "aliasBy": "IRIS Disk Percent",
            "alignmentPeriod": "cloud-monitoring-auto",
            "crossSeriesReducer": "REDUCE_NONE",
            "editorMode": "visual",
            "filters": [
              "metric.label.id",
              "=",
              "IRISSYS"
            ],
            "groupBys": [],
            "metricKind": "GAUGE",
            "metricType": "custom.googleapis.com/opencensus/iris_directory_space",
            "perSeriesAligner": "ALIGN_MEAN",
            "preprocessor": "none",
            "projectName": "",
            "query": "",
            "valueType": "DOUBLE"
          },
          "queryType": "metrics",
          "refId": "A"
        }
      ],
      "title": "IRIS Disk Percent",
      "type": "bargauge"
    },
    {
      "datasource": null,
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 8,
        "x": 16,
        "y": 27
      },
      "id": 11,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "8.1.0",
      "targets": [
        {
          "metricQuery": {
            "aliasBy": "System Alerts",
            "alignmentPeriod": "cloud-monitoring-auto",
            "crossSeriesReducer": "REDUCE_NONE",
            "editorMode": "visual",
            "filters": [],
            "groupBys": [],
            "metricKind": "GAUGE",
            "metricType": "custom.googleapis.com/opencensus/iris_system_alerts",
            "perSeriesAligner": "ALIGN_MEAN",
            "preprocessor": "none",
            "projectName": "",
            "query": "",
            "valueType": "DOUBLE"
          },
          "queryType": "metrics",
          "refId": "A"
        }
      ],
      "title": "System Alerts",
      "type": "stat"
    }
  ],
  "refresh": false,
  "schemaVersion": 30,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": []
  },
  "time": {
    "from": "now-3h",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "",
  "title": "IRIS",
  "uid": "KN_HZ7n7z",
  "version": 5,
  "description": "GKE-deployed IRIS metrics"
}