Grafana dashboard: Hydrolix - Kinesis Ingest
Description: Monitoring your Kinesis ingest into your Hydrolix Cluster

Monitoring your Kinesis ingest into your Hydrolix Cluster

{
  "__inputs": [
    {
      "name": "DS_GCP_- PROD TEST PROM",
      "label": "GCP - Prod Test Prom",
      "description": "",
      "type": "datasource",
      "pluginId": "prometheus",
      "pluginName": "Prometheus"
    },
    {
      "name": "DS_GCP_- PROD TEST",
      "label": "GCP - Prod Test",
      "description": "",
      "type": "datasource",
      "pluginId": "grafana-clickhouse-datasource",
      "pluginName": "ClickHouse"
    }
  ],
  "__elements": {},
  "__requires": [
    {
      "type": "panel",
      "id": "gauge",
      "name": "Gauge",
      "version": ""
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "9.2.1"
    },
    {
      "type": "datasource",
      "id": "grafana-clickhouse-datasource",
      "name": "ClickHouse",
      "version": "2.0.1"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph (old)",
      "version": ""
    },
    {
      "type": "panel",
      "id": "logs",
      "name": "Logs",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "prometheus",
      "name": "Prometheus",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "stat",
      "name": "Stat",
      "version": ""
    },
    {
      "type": "panel",
      "id": "text",
      "name": "Text",
      "version": ""
    },
    {
      "type": "panel",
      "id": "timeseries",
      "name": "Time series",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": {
          "type": "datasource",
          "uid": "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": "Monitoring your Kinesis ingest into your Hydrolix Cluster",
  "editable": true,
  "fiscalYearStartMonth": 0,
  "gnetId": 17844,
  "graphTooltip": 0,
  "id": null,
  "links": [],
  "liveNow": false,
  "panels": [
    {
      "collapsed": false,
      "datasource": {
        "type": "grafana-clickhouse-datasource",
        "uid": "tFkwxOy7z"
      },
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 32,
      "panels": [],
      "title": "Summary",
      "type": "row"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_GCP_- PROD TEST PROM}"
      },
      "description": "",
      "gridPos": {
        "h": 8,
        "w": 7,
        "x": 0,
        "y": 1
      },
      "id": 7,
      "options": {
        "code": {
          "language": "plaintext",
          "showLineNumbers": false,
          "showMiniMap": false
        },
        "content": "# Kinesis Monitoring\nHydrolix Kinesis Peers connect to the customers Kinesis Infrastructure.\n\nKinesis-Peer is counting rows, bytes and values recieved from the source Kinesis.\n\nThe Kinesis-Peer generates a segment and sends to the indexer.\n\nSummary:\n\nAWS Kinesis -> Kinesis-Peer (HDX) -> Indexer -> Storage/Catalog\n",
        "mode": "markdown"
      },
      "pluginVersion": "9.2.1",
      "title": "Description",
      "type": "text"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_GCP_- PROD TEST PROM}"
      },
      "description": "Kinesis Infrastructure Components affecting Kinesis Streaming Ingest",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "red",
                "value": null
              },
              {
                "color": "green",
                "value": 1
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 2,
        "x": 7,
        "y": 1
      },
      "id": 41,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "value"
      },
      "pluginVersion": "9.2.1",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_GCP_- PROD TEST PROM}"
          },
          "editorMode": "code",
          "expr": "sum(up{app=~\"^$source.*\", instance=~\"^$kinesispeer.*\", port_name=\"indexer\"})",
          "legendFormat": "__auto",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "Kinesis Peers",
      "type": "stat"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_GCP_- PROD TEST PROM}"
      },
      "description": "Rate of source Bytes/s received by Kinesis-Peers",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "percentage",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "binBps"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 9,
        "y": 1
      },
      "id": 22,
      "options": {
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": false,
        "text": {}
      },
      "pluginVersion": "9.2.1",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_GCP_- PROD TEST PROM}"
          },
          "editorMode": "code",
          "exemplar": true,
          "expr": "sum(rate(kinesis_source_byte_count{app=~\"^$source.*\", instance=~\"^$kinesispeer.*\", project_name=~\"^$project\", table_name=~\"^$table\", transform_name=~\"^$transform\"}[$__rate_interval]))",
          "format": "time_series",
          "instant": false,
          "interval": "",
          "legendFormat": "",
          "refId": "A"
        }
      ],
      "title": "Kinesis Bytes/s Received",
      "type": "gauge"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_GCP_- PROD TEST PROM}"
      },
      "description": "Rate of source Bytes/s received by Kinesis-Peers",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "percentage",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 12,
        "y": 1
      },
      "id": 29,
      "options": {
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": false,
        "text": {}
      },
      "pluginVersion": "9.2.1",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_GCP_- PROD TEST PROM}"
          },
          "editorMode": "code",
          "exemplar": true,
          "expr": "sum(rate(kinesis_source_row_count{app=~\"^$source.*\",instance=~\"^$kinesispeer.*\", project_name=~\"^$project\", table_name=~\"^$table\", transform_name=~\"^$transform\"}[$__rate_interval]))",
          "format": "time_series",
          "instant": false,
          "interval": "",
          "legendFormat": "",
          "refId": "A"
        }
      ],
      "title": "Kinesis Rows/s Received",
      "type": "gauge"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_GCP_- PROD TEST PROM}"
      },
      "description": "Rate of source Values ( value = columns * rows ) received a second by  Kinesis-Peers",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 15,
        "y": 1
      },
      "id": 24,
      "options": {
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": false,
        "text": {}
      },
      "pluginVersion": "9.2.1",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_GCP_- PROD TEST PROM}"
          },
          "editorMode": "code",
          "exemplar": true,
          "expr": "sum(rate(kinesis_source_value_count{app=~\"^$source.*\",instance=~\"^$kinesispeer.*\", project_name=~\"^$project\", table_name=~\"^$table\", transform_name=~\"^$transform\"}[$__rate_interval]))",
          "format": "time_series",
          "instant": false,
          "interval": "",
          "legendFormat": "",
          "refId": "A"
        }
      ],
      "title": "Kinesis Values/s Received",
      "type": "gauge"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_GCP_- PROD TEST PROM}"
      },
      "description": "Rate of Errors being seen at the Indexer where data is written to storage.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "#EAB839",
                "value": 10
              },
              {
                "color": "red",
                "value": 20
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 3,
        "x": 18,
        "y": 1
      },
      "id": 61,
      "options": {
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": false,
        "text": {}
      },
      "pluginVersion": "9.2.1",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_GCP_- PROD TEST PROM}"
          },
          "editorMode": "code",
          "exemplar": true,
          "expr": "sum(rate(indexer_partitions_rejected_count{app=~\"^$source.*\",instance=~\"^$kinesispeer.*\", project_name=~\"^$project.*\", table_name=~\"^$table.*\", transform_name=~\"^$transform.*\"}[$__rate_interval]))",
          "format": "time_series",
          "instant": false,
          "interval": "",
          "legendFormat": "",
          "refId": "A"
        }
      ],
      "title": "Kinesis Indexer Error Count",
      "type": "gauge"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_GCP_- PROD TEST PROM}"
      },
      "description": "Peak bytes a second received by Hydrolix Kinesis",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "#422d88",
                "value": null
              }
            ]
          },
          "unit": "binBps"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 21,
        "y": 1
      },
      "id": 51,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "max"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "value"
      },
      "pluginVersion": "9.2.1",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_GCP_- PROD TEST PROM}"
          },
          "editorMode": "code",
          "exemplar": true,
          "expr": "sum(rate(kinesis_source_byte_count{instance=~\"^$kinesispeer.*\", project_name=~\"^$project\", table_name=~\"^$table\", transform_name=~\"^$transform\"}[$__rate_interval]))",
          "interval": "",
          "legendFormat": "",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "Peak Bytes/s",
      "type": "stat"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_GCP_- PROD TEST PROM}"
      },
      "description": "Rate of source Bytes/s received by Kinesis-Peers",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "percentage",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "binBps"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 9,
        "y": 5
      },
      "id": 34,
      "options": {
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": false,
        "text": {}
      },
      "pluginVersion": "9.2.1",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_GCP_- PROD TEST PROM}"
          },
          "editorMode": "code",
          "exemplar": true,
          "expr": "sum(rate(indexer_bytes_written_sum{app=~\"^$source.*\",instance=~\"^$kinesispeer.*\", project_name=~\"^$project\", table_name=~\"^$table\", transform_name=~\"^$transform\"}[$__rate_interval]))",
          "format": "time_series",
          "instant": false,
          "interval": "",
          "legendFormat": "",
          "refId": "A"
        }
      ],
      "title": "Kinesis Bytes/s Indexed",
      "type": "gauge"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_GCP_- PROD TEST PROM}"
      },
      "description": "Rate of indexed rows/s received by Kinesis-Peers",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "percentage",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 12,
        "y": 5
      },
      "id": 35,
      "options": {
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": false,
        "text": {}
      },
      "pluginVersion": "9.2.1",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_GCP_- PROD TEST PROM}"
          },
          "editorMode": "code",
          "exemplar": true,
          "expr": "sum(rate(indexer_rows_written_sum{app=~\"^$source.*\",instance=~\"^$kinesispeer.*\", project_name=~\"^$project\", table_name=~\"^$table\", transform_name=~\"^$transform\"}[$__rate_interval]))",
          "format": "time_series",
          "instant": false,
          "interval": "",
          "legendFormat": "",
          "refId": "A"
        }
      ],
      "title": "Kinesis Rows/s Indexed",
      "type": "gauge"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_GCP_- PROD TEST PROM}"
      },
      "description": "Lag milliseconds of Kinesis-Peer",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 25
              },
              {
                "color": "#EAB839",
                "value": 50
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 15,
        "y": 5
      },
      "id": 23,
      "options": {
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": false,
        "text": {}
      },
      "pluginVersion": "9.2.1",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_GCP_- PROD TEST PROM}"
          },
          "editorMode": "code",
          "exemplar": true,
          "expr": "sum(rate(kinesis_source_lag_ms{app=~\"^$source.*\",instance=~\"^$kinesispeer.*\"}[$__rate_interval]))",
          "format": "time_series",
          "instant": false,
          "interval": "",
          "legendFormat": "",
          "refId": "A"
        }
      ],
      "title": "Kinesis Source Lag",
      "type": "gauge"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_GCP_- PROD TEST PROM}"
      },
      "description": "Peak Rows Received a Second",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "#422d88",
                "value": null
              }
            ]
          },
          "unit": "short"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 21,
        "y": 5
      },
      "id": 53,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "max"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "9.2.1",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_GCP_- PROD TEST PROM}"
          },
          "editorMode": "code",
          "exemplar": true,
          "expr": "sum(rate(kinesis_source_row_count{instance=~\"^$kinesispeer.*\", project_name=~\"^$project\", table_name=~\"^$table\", transform_name=~\"^$transform\"}[$__rate_interval]))",
          "interval": "",
          "legendFormat": "",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "Peak Row/s",
      "type": "stat"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_GCP_- PROD TEST PROM}"
      },
      "description": "Rows Received Per Source (Transform)",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "red",
                "value": null
              },
              {
                "color": "green",
                "value": 1
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 24,
        "x": 0,
        "y": 9
      },
      "id": 67,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "value_and_name"
      },
      "pluginVersion": "9.2.1",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_GCP_- PROD TEST PROM}"
          },
          "editorMode": "code",
          "exemplar": false,
          "expr": "sum by (project_name,table_name,transform_name) (rate(indexer_rows_written_sum{app=~\"^$source.*\", instance=~\"^$kinesispeer.*\", project_name=~\"^$project\", table_name=~\"^$table\", transform_name=~\"^$transform\", port_name=\"indexer\"}[$__rate_interval]))",
          "instant": false,
          "legendFormat": "{{project_name}}.{{table_name}} {{transform_name}}",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "Source (Transform)",
      "type": "stat"
    },
    {
      "collapsed": true,
      "datasource": {
        "type": "prometheus",
        "uid": "RZvikJ8nk"
      },
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 13
      },
      "id": 5,
      "panels": [
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_GCP_- PROD TEST PROM}"
          },
          "description": "Rate of source Bytes a second received and written by Kinesis-Peers",
          "fieldConfig": {
            "defaults": {
              "unit": "binBps"
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 10,
            "w": 24,
            "x": 0,
            "y": 14
          },
          "hiddenSeries": false,
          "id": 8,
          "legend": {
            "avg": false,
            "current": false,
            "hideEmpty": true,
            "hideZero": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pluginVersion": "9.2.1",
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_GCP_- PROD TEST PROM}"
              },
              "editorMode": "code",
              "exemplar": true,
              "expr": "sum (rate(kinesis_source_byte_count{app=~\"^$source.*\",instance=~\"^$kinesispeer.*\", project_name=~\"^$project\", table_name=~\"^$table\", transform_name=~\"^$transform\"}[$__rate_interval]))",
              "interval": "",
              "legendFormat": "Read",
              "range": true,
              "refId": "A"
            },
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_GCP_- PROD TEST PROM}"
              },
              "editorMode": "code",
              "expr": "sum (rate(indexer_bytes_written_sum{app=~\"^$source.*\",instance=~\"^$kinesispeer.*\", project_name=~\"^$project\", table_name=~\"^$table\", transform_name=~\"^$transform\",port_name=\"indexer\"}[$__rate_interval]))",
              "hide": false,
              "legendFormat": "Written",
              "range": true,
              "refId": "B"
            }
          ],
          "thresholds": [],
          "timeRegions": [],
          "title": "Total Kinesis Bytes/s",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "mode": "time",
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "$$hashKey": "object:1712",
              "format": "binBps",
              "logBase": 1,
              "show": true
            },
            {
              "$$hashKey": "object:1713",
              "format": "short",
              "logBase": 1,
              "show": true
            }
          ],
          "yaxis": {
            "align": false
          }
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_GCP_- PROD TEST PROM}"
          },
          "description": "Rate of source Bytes a second received by Kinesis-Peers",
          "fieldConfig": {
            "defaults": {
              "unit": "binBps"
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 9,
            "w": 12,
            "x": 0,
            "y": 24
          },
          "hiddenSeries": false,
          "id": 69,
          "legend": {
            "avg": false,
            "current": false,
            "hideEmpty": true,
            "hideZero": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pluginVersion": "9.2.1",
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_GCP_- PROD TEST PROM}"
              },
              "editorMode": "code",
              "exemplar": true,
              "expr": "avg by (instance, service) (rate(kinesis_source_byte_count{app=~\"^$source.*\",instance=~\"^$kinesispeer.*\", project_name=~\"^$project\", table_name=~\"^$table\", transform_name=~\"^$transform\"}[$__rate_interval]))",
              "interval": "",
              "legendFormat": "{{instance}}",
              "range": true,
              "refId": "A"
            }
          ],
          "thresholds": [],
          "timeRegions": [],
          "title": "Kinesis Bytes/s Received",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "mode": "time",
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "$$hashKey": "object:1712",
              "format": "binBps",
              "logBase": 1,
              "show": true
            },
            {
              "$$hashKey": "object:1713",
              "format": "short",
              "logBase": 1,
              "show": true
            }
          ],
          "yaxis": {
            "align": false
          }
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_GCP_- PROD TEST PROM}"
          },
          "description": "Rate of Bytes a second  written by the indexer",
          "fieldConfig": {
            "defaults": {
              "unit": "binBps"
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 9,
            "w": 12,
            "x": 12,
            "y": 24
          },
          "hiddenSeries": false,
          "id": 21,
          "legend": {
            "avg": false,
            "current": false,
            "hideEmpty": true,
            "hideZero": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pluginVersion": "9.2.1",
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_GCP_- PROD TEST PROM}"
              },
              "editorMode": "code",
              "exemplar": true,
              "expr": "avg by (instance) (rate(indexer_bytes_written_sum{app=~\"^$source.*\",instance=~\"^$kinesispeer.*\", project_name=~\"^$project\", table_name=~\"^$table\", transform_name=~\"^$transform\",port_name=\"indexer\"}[$__rate_interval]))",
              "interval": "",
              "legendFormat": "{{$Instance}}",
              "range": true,
              "refId": "A"
            }
          ],
          "thresholds": [],
          "timeRegions": [],
          "title": "Bytes/s written by the Indexer",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "mode": "time",
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "$$hashKey": "object:1712",
              "format": "binBps",
              "logBase": 1,
              "show": true
            },
            {
              "$$hashKey": "object:1713",
              "format": "short",
              "logBase": 1,
              "show": true
            }
          ],
          "yaxis": {
            "align": false
          }
        }
      ],
      "title": "Kinesis Bytes",
      "type": "row"
    },
    {
      "collapsed": true,
      "datasource": {
        "type": "prometheus",
        "uid": "RZvikJ8nk"
      },
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 14
      },
      "id": 14,
      "panels": [
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_GCP_- PROD TEST PROM}"
          },
          "description": "Rate of source Rows (Events) read and written a second by the Kinesis-Peer",
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 10,
            "w": 24,
            "x": 0,
            "y": 15
          },
          "hiddenSeries": false,
          "id": 15,
          "legend": {
            "avg": false,
            "current": false,
            "hideEmpty": true,
            "hideZero": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pluginVersion": "9.2.1",
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_GCP_- PROD TEST PROM}"
              },
              "editorMode": "code",
              "exemplar": true,
              "expr": "sum(rate(kinesis_source_row_count{app=~\"^$source.*\",instance=~\"^$kinesispeer.*\", project_name=~\"^$project\", table_name=~\"^$table\", transform_name=~\"^$transform\"}[$__rate_interval]))",
              "interval": "",
              "legendFormat": "Read",
              "range": true,
              "refId": "A"
            },
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_GCP_- PROD TEST PROM}"
              },
              "editorMode": "code",
              "expr": "sum(rate(indexer_rows_written_sum{app=~\"^$source.*\",instance=~\"^$kinesispeer.*\", project_name=~\"^$project\", table_name=~\"^$table\", transform_name=~\"^$transform\"}[$__rate_interval]))",
              "hide": false,
              "legendFormat": "written",
              "range": true,
              "refId": "B"
            }
          ],
          "thresholds": [],
          "timeRegions": [],
          "title": "Total Kinesis Rows/s",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "mode": "time",
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "$$hashKey": "object:1959",
              "format": "short",
              "logBase": 1,
              "show": true
            },
            {
              "$$hashKey": "object:1960",
              "format": "short",
              "logBase": 1,
              "show": true
            }
          ],
          "yaxis": {
            "align": false
          }
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_GCP_- PROD TEST PROM}"
          },
          "description": "Rate of source Rows  (Events) received a second by the Kafka-Peer",
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 9,
            "w": 12,
            "x": 0,
            "y": 25
          },
          "hiddenSeries": false,
          "id": 68,
          "legend": {
            "avg": false,
            "current": false,
            "hideEmpty": true,
            "hideZero": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pluginVersion": "9.2.1",
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_GCP_- PROD TEST PROM}"
              },
              "editorMode": "code",
              "exemplar": true,
              "expr": "avg by (instance) (rate(kinesis_source_row_count{app=~\"^$source.*\",instance=~\"^$kinesispeer.*\", project_name=~\"^$project\", table_name=~\"^$table\", transform_name=~\"^$transform\"}[$__rate_interval]))",
              "interval": "",
              "legendFormat": "{{instance}}",
              "range": true,
              "refId": "A"
            }
          ],
          "thresholds": [],
          "timeRegions": [],
          "title": "Avg Kinesis Rows/s Received (Pods)",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "mode": "time",
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "$$hashKey": "object:1959",
              "format": "short",
              "logBase": 1,
              "show": true
            },
            {
              "$$hashKey": "object:1960",
              "format": "short",
              "logBase": 1,
              "show": true
            }
          ],
          "yaxis": {
            "align": false
          }
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_GCP_- PROD TEST PROM}"
          },
          "description": "",
          "fieldConfig": {
            "defaults": {
              "unit": "short"
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 9,
            "w": 12,
            "x": 12,
            "y": 25
          },
          "hiddenSeries": false,
          "id": 33,
          "legend": {
            "avg": false,
            "current": false,
            "hideEmpty": true,
            "hideZero": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pluginVersion": "9.2.1",
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_GCP_- PROD TEST PROM}"
              },
              "editorMode": "code",
              "exemplar": true,
              "expr": "avg by (instance) (rate(indexer_rows_written_sum{app=~\"^$source.*\",instance=~\"^$kinesispeer.*\", project_name=~\"^$project\", table_name=~\"^$table\", transform_name=~\"^$transform\"}[$__rate_interval]))",
              "interval": "",
              "legendFormat": "{{$Instance}}",
              "range": true,
              "refId": "A"
            }
          ],
          "thresholds": [],
          "timeRegions": [],
          "title": "Avg Rows/s written by the Indexer (Pods)",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "mode": "time",
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "$$hashKey": "object:1712",
              "format": "short",
              "logBase": 1,
              "show": true
            },
            {
              "$$hashKey": "object:1713",
              "format": "short",
              "logBase": 1,
              "show": true
            }
          ],
          "yaxis": {
            "align": false
          }
        }
      ],
      "title": "Kinesis Rows",
      "type": "row"
    },
    {
      "collapsed": true,
      "datasource": {
        "type": "prometheus",
        "uid": "RZvikJ8nk"
      },
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 15
      },
      "id": 12,
      "panels": [
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_GCP_- PROD TEST PROM}"
          },
          "description": "Rate of Kinesis Read Errors a second experienced by the Kinesis-Peers",
          "fieldConfig": {
            "defaults": {
              "unit": "none"
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 9,
            "w": 12,
            "x": 0,
            "y": 16
          },
          "hiddenSeries": false,
          "id": 28,
          "legend": {
            "avg": false,
            "current": false,
            "hideEmpty": true,
            "hideZero": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pluginVersion": "9.2.1",
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_GCP_- PROD TEST PROM}"
              },
              "editorMode": "code",
              "exemplar": true,
              "expr": "avg by (instance) (rate(kinesis_source_read_error_count{app=~\"^$source.*\",instance=~\"^$kinesispeer.*\"}[$__rate_interval]))",
              "interval": "",
              "legendFormat": "{{instance}}",
              "range": true,
              "refId": "A"
            }
          ],
          "thresholds": [],
          "timeRegions": [],
          "title": "Kinesis Read Error/s Rate",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "mode": "time",
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "$$hashKey": "object:2683",
              "format": "none",
              "logBase": 1,
              "show": true
            },
            {
              "$$hashKey": "object:2684",
              "format": "short",
              "logBase": 1,
              "show": true
            }
          ],
          "yaxis": {
            "align": false
          }
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_GCP_- PROD TEST PROM}"
          },
          "description": "Rate of Kinesis  Write Errors a second experienced by the Kinesis -Peers",
          "fieldConfig": {
            "defaults": {
              "unit": "none"
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 9,
            "w": 12,
            "x": 12,
            "y": 16
          },
          "hiddenSeries": false,
          "id": 55,
          "legend": {
            "avg": false,
            "current": false,
            "hideEmpty": true,
            "hideZero": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pluginVersion": "9.2.1",
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_GCP_- PROD TEST PROM}"
              },
              "editorMode": "code",
              "exemplar": true,
              "expr": "avg by (instance) (rate(indexer_partitions_rejected_count{app=~\"^$source.*\",instance=~\"^$kinesispeer.*\", project_name=~\"^$project.*\", table_name=~\"^$table.*\", transform_name=~\"^$transform.*\"}[$__rate_interval]))",
              "interval": "",
              "legendFormat": "{{instance}}",
              "range": true,
              "refId": "A"
            }
          ],
          "thresholds": [],
          "timeRegions": [],
          "title": "Kinesis Write Error/s Rate",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "mode": "time",
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "$$hashKey": "object:2683",
              "format": "none",
              "logBase": 1,
              "show": true
            },
            {
              "$$hashKey": "object:2684",
              "format": "short",
              "logBase": 1,
              "show": true
            }
          ],
          "yaxis": {
            "align": false
          }
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_GCP_- PROD TEST PROM}"
          },
          "description": "Average Kinesis Lag in milliseconds",
          "fieldConfig": {
            "defaults": {
              "unit": "none"
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 9,
            "w": 12,
            "x": 0,
            "y": 25
          },
          "hiddenSeries": false,
          "id": 2,
          "legend": {
            "avg": false,
            "current": false,
            "hideEmpty": true,
            "hideZero": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pluginVersion": "9.2.1",
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_GCP_- PROD TEST PROM}"
              },
              "editorMode": "code",
              "exemplar": true,
              "expr": "avg by (instance) (kinesis_source_lag_ms{app=~\"^$source.*\",instance=~\"^$kinesispeer.*\"})",
              "interval": "",
              "legendFormat": "{{instance}}",
              "range": true,
              "refId": "A"
            }
          ],
          "thresholds": [],
          "timeRegions": [],
          "title": "Kinesis Source Lag (ms)",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "mode": "time",
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "$$hashKey": "object:2683",
              "format": "none",
              "logBase": 1,
              "show": true
            },
            {
              "$$hashKey": "object:2684",
              "format": "short",
              "logBase": 1,
              "show": true
            }
          ],
          "yaxis": {
            "align": false
          }
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_GCP_- PROD TEST PROM}"
          },
          "description": "Rate of Kinesis Write Errors by Type a second experienced by the Kafka-Peers",
          "fieldConfig": {
            "defaults": {
              "unit": "none"
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 9,
            "w": 12,
            "x": 12,
            "y": 25
          },
          "hiddenSeries": false,
          "id": 57,
          "legend": {
            "avg": false,
            "current": false,
            "hideEmpty": true,
            "hideZero": false,
            "max": false,
            "min": false,
            "rightSide": true,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pluginVersion": "9.2.1",
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_GCP_- PROD TEST PROM}"
              },
              "editorMode": "code",
              "exemplar": true,
              "expr": "avg(rate(indexer_partitions_rejected_bucket{app=~\"^$source.*\",instance=~\"^$kinesispeer.*\",le=\"0\", project_name=~\"^$project.*\", table_name=~\"^$table.*\", transform_name=~\"^$transform.*\"}[$__rate_interval]))",
              "interval": "",
              "legendFormat": "File parse failure",
              "range": true,
              "refId": "A"
            },
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_GCP_- PROD TEST PROM}"
              },
              "editorMode": "code",
              "expr": "avg(rate(indexer_partitions_rejected_bucket{app=~\"^$source.*\",instance=~\"^$kinesispeer.*\",le=\"1\", project_name=~\"^$project.*\", table_name=~\"^$table.*\", transform_name=~\"^$transform.*\"}[$__rate_interval]))",
              "hide": false,
              "legendFormat": "Schema mismatch error",
              "range": true,
              "refId": "B"
            },
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_GCP_- PROD TEST PROM}"
              },
              "editorMode": "code",
              "expr": "avg(rate(indexer_partitions_rejected_bucket{app=~\"^$source.*\",instance=~\"^$kinesispeer.*\",le=\"2\", project_name=~\"^$project.*\", table_name=~\"^$table.*\", transform_name=~\"^$transform.*\"}[$__rate_interval]))",
              "hide": false,
              "legendFormat": "Failed to write partition",
              "range": true,
              "refId": "C"
            },
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_GCP_- PROD TEST PROM}"
              },
              "editorMode": "code",
              "expr": "avg(rate(indexer_partitions_rejected_bucket{app=~\"^$source.*\",instance=~\"^$kinesispeer.*\",le=\"3\", project_name=~\"^$project.*\", table_name=~\"^$table.*\", transform_name=~\"^$transform.*\"}[$__rate_interval]))",
              "hide": false,
              "legendFormat": "Block conversion/Insertion failure.",
              "range": true,
              "refId": "D"
            }
          ],
          "thresholds": [],
          "timeRegions": [],
          "title": "Kinesis Write Error/s Rate by Type",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "mode": "time",
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "$$hashKey": "object:2683",
              "format": "none",
              "logBase": 1,
              "show": true
            },
            {
              "$$hashKey": "object:2684",
              "format": "short",
              "logBase": 1,
              "show": true
            }
          ],
          "yaxis": {
            "align": false
          }
        }
      ],
      "title": "Lag and Errors",
      "type": "row"
    },
    {
      "collapsed": true,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 16
      },
      "id": 39,
      "panels": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_GCP_- PROD TEST PROM}"
          },
          "description": "Number of partition Created",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisCenteredZero": false,
                "axisColorMode": "text",
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 10,
                "gradientMode": "none",
                "hideFrom": {
                  "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"
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "none"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "Partition creation time"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "s"
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 9,
            "w": 24,
            "x": 0,
            "y": 17
          },
          "id": 37,
          "options": {
            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "multi",
              "sort": "none"
            }
          },
          "pluginVersion": "8.4.4",
          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_GCP_- PROD TEST PROM}"
              },
              "editorMode": "code",
              "exemplar": true,
              "expr": "sum (increase(indexer_partitions_written_count{app=~\"^$source.*\",instance=~\"^$kinesispeer.*\", project_name=~\"^$project.*\", table_name=~\"^$table.*\", transform_name=~\"^$transform.*\"}[$__rate_interval]))",
              "interval": "",
              "legendFormat": "Partition written",
              "range": true,
              "refId": "A"
            },
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_GCP_- PROD TEST PROM}"
              },
              "editorMode": "code",
              "exemplar": true,
              "expr": "sum (increase(indexer_partitions_rejected_count{app=~\"^$source.*\",instance=~\"^$kinesispeer.*\", project_name=~\"^$project.*\", table_name=~\"^$table.*\", transform_name=~\"^$transform.*\"}[$__rate_interval]))",
              "hide": false,
              "interval": "",
              "legendFormat": "Partition rejected",
              "range": true,
              "refId": "B"
            },
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_GCP_- PROD TEST PROM}"
              },
              "editorMode": "code",
              "exemplar": true,
              "expr": "sum (rate(indexer_partition_write_seconds_count{app=~\"^$source.*\",instance=~\"^$kinesispeer.*\", project_name=~\"^$project.*\", table_name=~\"^$table.*\", transform_name=~\"^$transform.*\"}[$__rate_interval]))",
              "hide": false,
              "interval": "",
              "legendFormat": "Partition creation time",
              "range": true,
              "refId": "C"
            }
          ],
          "title": "Partition Information",
          "type": "timeseries"
        }
      ],
      "title": "Partition Informations",
      "type": "row"
    },
    {
      "collapsed": true,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 17
      },
      "id": 43,
      "panels": [
        {
          "datasource": {
            "type": "grafana-clickhouse-datasource",
            "uid": "${DS_GCP_- PROD TEST}"
          },
          "gridPos": {
            "h": 14,
            "w": 24,
            "x": 0,
            "y": 18
          },
          "id": 45,
          "options": {
            "dedupStrategy": "none",
            "enableLogDetails": true,
            "prettifyLogMessage": false,
            "showCommonLabels": false,
            "showLabels": false,
            "showTime": true,
            "sortOrder": "Descending",
            "wrapLogMessage": true
          },
          "targets": [
            {
              "datasource": {
                "type": "grafana-clickhouse-datasource",
                "uid": "${DS_GCP_- PROD TEST}"
              },
              "expand": true,
              "format": 0,
              "meta": {
                "builderOptions": {
                  "fields": [],
                  "limit": 100,
                  "mode": "list"
                }
              },
              "queryType": "sql",
              "rawSql": "SELECT timestamp as time,\r\nmessage,\r\nlevel,\r\nfile,\r\napp,\r\naccurateCastOrNull(rows,'String') as Rows,\r\naccurateCastOrNull(bytes,'String') as Bytes,\r\naccurateCastOrNull(columns,'String') as columns,\r\ncontainer,\r\npartition,\r\naccurateCastOrNull(data.columns,'String') as `data.columns`,\r\naccurateCastOrNull(data.data_size,'String') as `data.data_size`,\r\naccurateCastOrNull(data.index_size,'String') as `data.index_size`,\r\naccurateCastOrNull(data.manifest_size,'String') `data.manifest_size`,\r\naccurateCastOrNull(data.mem_size,'String') as `data.mem_size`,\r\naccurateCastOrNull(data.rows,'String') as `data.rows`,\r\ndata.source,\r\ndata_path,\r\naccurateCastOrNull(max_timestamp,'String') as max_timestamp,\r\naccurateCastOrNull(min_timestamp,'String') as min_timestamp,\r\naccurateCastOrNull(original_timestamp,'String') as original_timestamp,\r\nroot_path,\r\nshard_key_hash,\r\nkubernetes.container_id,\r\nkubernetes.container_image,\r\nkubernetes.container_name,\r\naccurateCastOrNull(kubernetes.namespace_labels,'String') as `kubernetes.namespace_labels`,\r\naccurateCastOrNull(kubernetes.pod_annotations,'String') as `kubernetes.pod_annotations`,\r\nkubernetes.pod_ip,\r\naccurateCastOrNull(kubernetes.pod_ips,'String') as `kubernetes.pod_ips`,\r\naccurateCastOrNull(kubernetes.pod_labels,'String') as `kubernetes.pod_labels`,\r\nkubernetes.pod_name,\r\nkubernetes.pod_namespace,\r\nkubernetes.pod_node_name,\r\nkubernetes.pod_owner,\r\nkubernetes.pod_uid,\r\nsource_type,\r\nstream,\r\nerror,\r\naccurateCastOrNull(catchall,'String') as catchall,\r\nname,\r\ndestination,\r\naccurateCastOrNull(files,'String') as `files`,\r\naccurateCastOrNull(attrs.ACL,'String') as `attrs.ACL`,\r\nattrs.Bucket,\r\naccurateCastOrNull(attrs.CRC32C,'String') as `attrs.CRC32C`,\r\nattrs.CacheControl,\r\nattrs.ContentDisposition,\r\nattrs.ContentEncoding,\r\nattrs.ContentLanguage,\r\nattrs.ContentType,\r\naccurateCastOrNull(attrs.Created,'String') as `attrs.Created`,\r\naccurateCastOrNull(attrs.CustomTime,'String') as `attrs.CustomTime`,\r\nattrs.CustomerKeySHA256,\r\naccurateCastOrNull(attrs.Deleted,'String') as `attrs.Deleted`,\r\nattrs.Etag,\r\naccurateCastOrNull(attrs.EventBasedHold,'String') as `attrs.EventBasedHold`,\r\naccurateCastOrNull(attrs.Generation,'String') as `attrs.Generation`,\r\nattrs.KMSKeyName,\r\nattrs.MD5,\r\nattrs.MediaLink,\r\nattrs.Metadata,\r\naccurateCastOrNull(attrs.Metageneration,'String') as `attrs.Metageneration`,\r\nattrs.Name,\r\nattrs.Owner,\r\nattrs.PredefinedACL,\r\nattrs.Prefix,\r\naccurateCastOrNull(attrs.RetentionExpirationTime,'String') as `attrs.RetentionExpirationTime`,\r\naccurateCastOrNull(attrs.Size,'String') as `attrs.Size`,\r\nattrs.StorageClass,\r\naccurateCastOrNull(attrs.TemporaryHold,'String') as `attrs.TemporaryHold`,\r\naccurateCastOrNull(attrs.Updated,'String') as `attrs.Updated`,\r\nsource,\r\naccurateCastOrNull(source_size,'String') as `source_size`\r\nFROM\r\n    hydro.logs\r\nWHERE\r\n    $__timeFilter(timestamp)\r\n    AND app='kinesis-peer'\r\n    AND container='kinesis-peer'\r\n        AND (\r\n  if('${search:text}' = '', true, message ILIKE '%${search}%') \r\n  OR if('${search:text}' = '', true, error ILIKE '%${search}%') \r\n  OR if('${search:text}' = '', true, exception ILIKE '%${search}%')\r\n  OR if('${search:text}' = '', true, query ILIKE '%${search}%')\r\n  )\r\n    AND $__conditionalAll(level IN (${level}), $level)\r\n    AND $__conditionalAll(kubernetes.pod_ip IN (${kinesispeer}), $kinesispeer)\r\nORDER BY\r\n    time DESC\r\nLIMIT\r\n    1000\r\nSETTINGS hdx_query_max_timerange_sec=604800, hdx_query_max_execution_time=60,hdx_query_admin_comment='${__user.login}'",
              "refId": "A"
            }
          ],
          "title": "Logs Panel (Kinesis-Peer)",
          "type": "logs"
        }
      ],
      "title": "Kinesis-Peer (Logs)",
      "type": "row"
    },
    {
      "collapsed": true,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 18
      },
      "id": 47,
      "panels": [
        {
          "datasource": {
            "type": "grafana-clickhouse-datasource",
            "uid": "${DS_GCP_- PROD TEST}"
          },
          "gridPos": {
            "h": 14,
            "w": 24,
            "x": 0,
            "y": 19
          },
          "id": 49,
          "options": {
            "dedupStrategy": "none",
            "enableLogDetails": true,
            "prettifyLogMessage": false,
            "showCommonLabels": false,
            "showLabels": false,
            "showTime": true,
            "sortOrder": "Descending",
            "wrapLogMessage": true
          },
          "targets": [
            {
              "datasource": {
                "type": "grafana-clickhouse-datasource",
                "uid": "${DS_GCP_- PROD TEST}"
              },
              "expand": true,
              "format": 0,
              "meta": {
                "builderOptions": {
                  "fields": [],
                  "limit": 100,
                  "mode": "list"
                }
              },
              "queryType": "sql",
              "rawSql": "SELECT\r\ntimestamp as time,\r\nmessage,\r\nlevel,\r\napp,\r\naccurateCastOrNull(bytes_read,'String') as `bytes_read`,\r\naccurateCastOrNull(catchall,'String') as `catchall`,\r\ncomponent,\r\ncontainer,\r\nerror,\r\naccurateCastOrNull(exec_time,'String') as `exec_time`,\r\nfile,\r\ninterface,\r\nkubernetes.container_id,\r\nkubernetes.container_image,\r\nkubernetes.container_name,\r\naccurateCastOrNull(kubernetes.namespace_labels,'String') as `kubernetes.namespace_labels`,\r\naccurateCastOrNull(kubernetes.pod_annotations,'String') as `kubernetes.pod_annotations`,\r\nkubernetes.pod_ip,\r\naccurateCastOrNull(kubernetes.pod_ips,'String') as `kubernetes.pod_ips`,\r\naccurateCastOrNull(kubernetes.pod_labels,'String') as `kubernetes.pod_labels`,\r\nkubernetes.pod_name,\r\nkubernetes.pod_namespace,\r\nkubernetes.pod_node_name,\r\nkubernetes.pod_owner,\r\nkubernetes.pod_uid,\r\naccurateCastOrNull(memory_usage_bytes,'String') as `memory_usage_bytes`,\r\naccurateCastOrNull(num_partitions,'String') as `num_partitions`,\r\naccurateCastOrNull(num_peers,'String') as `num_peers`,\r\naccurateCastOrNull(original_timestamp,'String') as `original_timestamp`,\r\npool,\r\nquery,\r\naccurateCastOrNull(query_attempts,'String') as `query_attempts`,\r\nquery_id,\r\nquery_settings,\r\naccurateCastOrNull(query_start_time,'String') as `query_start_time`,\r\naccurateCastOrNull(result_bytes,'String') as `result_bytes`,\r\naccurateCastOrNull(result_rows,'String') as `result_rows`,\r\naccurateCastOrNull(rows_read,'String') as `rows_read`,\r\nsource_type,\r\nstream,\r\nuser\r\nFROM\r\n    hydro.logs\r\nWHERE\r\n    $__timeFilter(timestamp)\r\n    AND app='kinesis-peer'\r\n    AND container='turbine'\r\n    AND (\r\n  if('${search:text}' = '', true, message ILIKE '%${search}%') \r\n  OR if('${search:text}' = '', true, error ILIKE '%${search}%') \r\n  OR if('${search:text}' = '', true, exception ILIKE '%${search}%')\r\n  OR if('${search:text}' = '', true, query ILIKE '%${search}%')\r\n  )\r\n    AND $__conditionalAll(level IN (${level}), $level)\r\n    AND $__conditionalAll(kubernetes.pod_ip IN (${kinesispeer}), $kinesispeer)\r\nORDER BY\r\n    time DESC\r\nLIMIT\r\n    1000\r\nSETTINGS hdx_query_max_timerange_sec=604800, hdx_query_max_execution_time=60,hdx_query_admin_comment='${__user.login}'",
              "refId": "A"
            }
          ],
          "title": "Logs Panel (Kinesis-Peer Indexer)",
          "type": "logs"
        }
      ],
      "title": "Kinesis Indexer/Turbine (Logs)",
      "type": "row"
    }
  ],
  "refresh": "5s",
  "schemaVersion": 37,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "current": {},
        "datasource": {
          "type": "prometheus",
          "uid": "${DS_GCP_- PROD TEST PROM}"
        },
        "definition": "label_values(kinesis_source_byte_count, app)",
        "hide": 0,
        "includeAll": true,
        "multi": true,
        "name": "source",
        "options": [],
        "query": {
          "query": "label_values(kinesis_source_byte_count, app)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "type": "query"
      },
      {
        "current": {},
        "datasource": {
          "type": "prometheus",
          "uid": "${DS_GCP_- PROD TEST PROM}"
        },
        "definition": "label_values(kinesis_source_byte_count{port_name=~\".*$source.*\"}, component_ip)",
        "description": "Instance IP running",
        "hide": 0,
        "includeAll": true,
        "multi": true,
        "name": "kinesispeer",
        "options": [],
        "query": {
          "query": "label_values(kinesis_source_byte_count{port_name=~\".*$source.*\"}, component_ip)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "current": {},
        "datasource": {
          "type": "grafana-clickhouse-datasource",
          "uid": "${DS_GCP_- PROD TEST}"
        },
        "definition": "SELECT arrayJoin( ['info','warning','warn','error','debug','trace'])",
        "hide": 0,
        "includeAll": true,
        "label": "Level(Logs)",
        "multi": true,
        "name": "level",
        "options": [],
        "query": "SELECT arrayJoin( ['info','warning','warn','error','debug','trace'])",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "type": "query"
      },
      {
        "current": {},
        "datasource": {
          "type": "prometheus",
          "uid": "${DS_GCP_- PROD TEST PROM}"
        },
        "definition": "label_values(kinesis_source_row_count,project_name)",
        "hide": 0,
        "includeAll": true,
        "multi": false,
        "name": "project",
        "options": [],
        "query": {
          "query": "label_values(kinesis_source_row_count,project_name)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "type": "query"
      },
      {
        "current": {},
        "datasource": {
          "type": "prometheus",
          "uid": "${DS_GCP_- PROD TEST PROM}"
        },
        "definition": "label_values(kinesis_source_row_count,table_name)",
        "hide": 0,
        "includeAll": true,
        "multi": false,
        "name": "table",
        "options": [],
        "query": {
          "query": "label_values(kinesis_source_row_count,table_name)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "type": "query"
      },
      {
        "current": {},
        "datasource": {
          "type": "prometheus",
          "uid": "${DS_GCP_- PROD TEST PROM}"
        },
        "definition": "label_values(kinesis_source_row_count,transform_name)",
        "hide": 0,
        "includeAll": true,
        "multi": false,
        "name": "transform",
        "options": [],
        "query": {
          "query": "label_values(kinesis_source_row_count,transform_name)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "type": "query"
      },
      {
        "current": {
          "selected": false,
          "text": "",
          "value": ""
        },
        "hide": 0,
        "label": "Search (Logs)",
        "name": "search",
        "options": [
          {
            "selected": true,
            "text": "",
            "value": ""
          }
        ],
        "query": "",
        "skipUrlSync": false,
        "type": "textbox"
      }
    ]
  },
  "time": {
    "from": "now-15m",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "",
  "title": "Hydrolix - Kinesis Ingest",
  "uid": "CKBDIyk4z",
  "version": 14,
  "weekStart": ""
}