Heroku PostgreSQL Database
Logs from heroku postgres and using pgrest app.

Log format:

source=HEROKU_POSTGRESQL addon=storage-replica-1 sample#current_transaction=224120752 sample#db_size=355884880431bytes sample#tables=17 sample#active-connections=19 sample#waiting-connections=0 sample#index-cache-hit-rate=0.87435 sample#table-cache-hit-rate=0.76407 sample#load-avg-1m=0.8725 sample#load-avg-5m=0.675 sample#load-avg-15m=0.4525 sample#read-iops=4851.8 sample#write-iops=1.4512 sample#tmp-disk-used=543633408 sample#tmp-disk-available=72435159040 sample#memory-total=32402856kB sample#memory-free=204284kB sample#memory-cached=31013876kB sample#memory-postgres=129548kB sample#follower-lag-commits=106 sample#wal-percentage-used=0.07494363207220228 
{
  "__inputs": [
    {
      "name": "DS_GRAFANACLOUD-DAGHOUSE-LOGS",
      "label": "grafanacloud-logs",
      "description": "Loki receiving logs from promtail",
      "type": "datasource",
      "pluginId": "loki",
      "pluginName": "Loki"
    }
  ],
  "__elements": {},
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "9.3.2-67a213dc85"
    },
    {
      "type": "datasource",
      "id": "loki",
      "name": "Loki",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "timeseries",
      "name": "Time series",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": {
          "type": "grafana",
          "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"
      }
    ]
  },
  "editable": true,
  "fiscalYearStartMonth": 0,
  "graphTooltip": 0,
  "id": null,
  "links": [],
  "liveNow": false,
  "panels": [
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 83,
      "panels": [],
      "title": "Database Metrics",
      "type": "row"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 1,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "decbytes"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 1
      },
      "id": 85,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "desc"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum by (database) (sum_over_time({job=\"heroku_production\", database=\"$database\"} | regexp \".*sample#db_size=(?P<sample_db_size>[0-9]+).*\" | unwrap sample_db_size [1m]))",
          "hide": false,
          "legendFormat": "{{database}}",
          "queryType": "range",
          "refId": "A"
        }
      ],
      "title": "Database Size",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 1,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 1
      },
      "id": 86,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "desc"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum by (database) (sum_over_time({job=\"heroku_production\", database=\"$database\"} | regexp \".*sample#active-connections=(?P<sample_active_connections>[0-9]+).*\" | unwrap sample_active_connections[1m]))",
          "hide": false,
          "legendFormat": "Active",
          "queryType": "range",
          "refId": "A"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum by (database) (sum_over_time({job=\"heroku_production\", database=\"$database\"} | regexp \".*sample#waiting-connections=(?P<sample_waiting_connections>[0-9]+).*\" | unwrap sample_waiting_connections[1m]))",
          "hide": false,
          "legendFormat": "Waiting",
          "queryType": "range",
          "refId": "C"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum by (database) (sum_over_time({job=\"heroku_production\", database=\"$database\"} | regexp \".*sample#active-connections=(?P<sample_active_connections>[0-9]+).*\" | unwrap sample_active_connections[1m]))",
          "hide": true,
          "legendFormat": "Active",
          "queryType": "range",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum by (database) (sum_over_time({job=\"heroku_production\", database=\"$database\"} | regexp \".*sample#waiting-connections=(?P<sample_waiting_connections>[0-9]+).*\" | unwrap sample_waiting_connections[1m]))",
          "hide": true,
          "legendFormat": "Waiting",
          "queryType": "range",
          "refId": "D"
        }
      ],
      "title": "Connections",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 1,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "decimals": 5,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 8
      },
      "id": 87,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "desc"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum by (database) (sum_over_time({job=\"heroku_production\", database=\"$database\"} | \nregexp \"sample#index-cache-hit-rate=(?P<index_cache_hit_rate>[0-9|.|0-9]+) \" | unwrap index_cache_hit_rate[1m]))",
          "hide": false,
          "legendFormat": "index-cache-hit-rate",
          "queryType": "range",
          "refId": "A"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum by (database) (sum_over_time({job=\"heroku_production\", database=\"$database\"} | \nregexp \"sample#table-cache-hit-rate=(?P<table_cache_hit_rate>[0-9|.|0-9]+) \" | unwrap table_cache_hit_rate[1m]))",
          "hide": false,
          "legendFormat": "table-cache-hit-rate",
          "queryType": "range",
          "refId": "B"
        }
      ],
      "title": "Cache Hit Rate",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 1,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "decbytes"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 8
      },
      "id": 90,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "desc"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum by (database) (sum_over_time({job=\"heroku_production\", database=\"$database\"} | \nregexp \"sample#tmp-disk-used=(?P<tmp_disk_used>[0-9|.|0-9]+) \" | unwrap tmp_disk_used[1m]))",
          "hide": false,
          "legendFormat": "tmp disk used",
          "queryType": "range",
          "refId": "A"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum by (database) (sum_over_time({job=\"heroku_production\", database=\"$database\"} | \nregexp \"sample#tmp-disk-available=(?P<tmp_disk_available>[0-9|.|0-9]+) \" | unwrap tmp_disk_available[1m]))",
          "hide": false,
          "legendFormat": "tmp disk available",
          "queryType": "range",
          "refId": "B"
        }
      ],
      "title": "Disk",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 1,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "deckbytes"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 15
      },
      "id": 91,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "desc"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum by (database) (sum_over_time({job=\"heroku_production\", database=\"$database\"} | \nregexp \"sample#memory-total=(?P<memory_total>[0-9]+)\" | unwrap memory_total[1m]))",
          "hide": false,
          "legendFormat": "total",
          "queryType": "range",
          "refId": "A"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum by (database) (sum_over_time({job=\"heroku_production\", database=\"$database\"} | \nregexp \"sample#memory-free=(?P<memory_free>[0-9]+)\" | unwrap memory_free[1m]))",
          "hide": false,
          "legendFormat": "free",
          "queryType": "range",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum by (database) (sum_over_time({job=\"heroku_production\", database=\"$database\"} | \nregexp \"sample#memory-cached=(?P<memory_cached>[0-9]+)\" | unwrap memory_cached[1m]))",
          "hide": false,
          "legendFormat": "cached",
          "queryType": "range",
          "refId": "C"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum by (database) (sum_over_time({job=\"heroku_production\", database=\"$database\"} | \nregexp \"sample#memory-postgres=(?P<memory_postgres>[0-9]+)\" | unwrap memory_postgres[1m]))",
          "hide": false,
          "legendFormat": "postgres",
          "queryType": "range",
          "refId": "D"
        }
      ],
      "title": "Memory",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 1,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "decimals": 3,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 15
      },
      "id": 89,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "desc"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum by (database) (sum_over_time({job=\"heroku_production\", database=\"$database\"} | \nregexp \"sample#read-iops=(?P<read_iops>[0-9|.|0-9]+) \" | unwrap read_iops[1m]))",
          "hide": false,
          "legendFormat": "Read",
          "queryType": "range",
          "refId": "A"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum by (database) (sum_over_time({job=\"heroku_production\", database=\"$database\"} | \nregexp \"sample#write-iops=(?P<write_iops>[0-9|.|0-9]+) \" | unwrap write_iops[1m]))",
          "hide": false,
          "legendFormat": "write",
          "queryType": "range",
          "refId": "B"
        }
      ],
      "title": "IOPS",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "description": "In the Heroku Postgres Metrics Logs Heroku emits a sample#wal-percentage-used metric. A healthy database has this at 0.75 or lower. Above 0.75 Heroku automatically limits connections to the Heroku Postgres instance.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 1,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "decimals": 2,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "percentunit"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 22
      },
      "id": 92,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "desc"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum by (database) (sum_over_time({job=\"heroku_production\", database=\"$database\"} | \nregexp \"sample#wal-percentage-used=(?P<wal_percentage_used>[0-9|.|0-9]+)\" | unwrap wal_percentage_used[1m]))",
          "hide": false,
          "legendFormat": "wal percentage used",
          "queryType": "range",
          "refId": "A"
        }
      ],
      "title": "WAL % used",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 1,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "decimals": 4,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 22
      },
      "id": 88,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "desc"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum by (database) (sum_over_time({job=\"heroku_production\", database=\"$database\"} | \nregexp \"sample#load-avg-1m=(?P<load_avg_1m>[0-9|.|0-9]+) \" | unwrap load_avg_1m[1m]))",
          "hide": false,
          "legendFormat": "load avg 1m",
          "queryType": "range",
          "refId": "A"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum by (database) (sum_over_time({job=\"heroku_production\", database=\"$database\"} | \nregexp \"sample#load-avg-5m=(?P<load_avg_5m>[0-9|.|0-9]+) \" | unwrap load_avg_5m[1m]))",
          "hide": false,
          "legendFormat": "load avg 5m",
          "queryType": "range",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum by (database) (sum_over_time({job=\"heroku_production\", database=\"$database\"} | \nregexp \"sample#load-avg-15m=(?P<load_avg_15m>[0-9|.|0-9]+) \" | unwrap load_avg_15m[1m]))",
          "hide": false,
          "legendFormat": "load avg 15m",
          "queryType": "range",
          "refId": "C"
        }
      ],
      "title": "CPU Load",
      "type": "timeseries"
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 29
      },
      "id": 11,
      "panels": [],
      "title": "Database Endpoints",
      "type": "row"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "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"
              }
            ]
          },
          "unit": "ms"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 30
      },
      "id": 12,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.5, {job=\"heroku_production\", host=\"$pgrest\"} |= `path=\"/rpc/create_upload\"` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "Median {{method}}",
          "queryType": "range",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.75, {job=\"heroku_production\", host=\"$pgrest\"} |= `path=\"/rpc/create_upload\"` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "P75 {{method}}",
          "queryType": "range",
          "refId": "C"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.95, {job=\"heroku_production\", host=\"$pgrest\"} |= `path=\"/rpc/create_upload\"` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "P95 {{method}}",
          "queryType": "range",
          "refId": "D"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.99, {job=\"heroku_production\", host=\"$pgrest\"} |= `path=\"/rpc/create_upload\"` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "P99 {{method}}",
          "queryType": "range",
          "refId": "E"
        }
      ],
      "title": "Response Time: /rpc/create_upload",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "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"
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 30
      },
      "id": 32,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (status_code, method)  (sum_over_time({job=\"heroku_production\", host=\"$pgrest\"} |= `path=\"/rpc/create_upload\"` | unwrap status_code[1m]))",
          "hide": false,
          "legendFormat": "{{method}} {{status_code}}",
          "queryType": "range",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (status_code, method)  (rate({job=\"heroku_production\", host=\"$pgrest\"} |= `path=\"/rpc/create_upload\"`[1m]))",
          "hide": true,
          "legendFormat": "{{method}} {{status_code}}",
          "queryType": "range",
          "refId": "A"
        }
      ],
      "title": "Status Code: /rpc/create_upload",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "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"
              }
            ]
          },
          "unit": "ms"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 37
      },
      "id": 14,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.5, {job=\"heroku_production\", host=\"$pgrest\"} |~ `path=\"/upload` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "Median {{method}}",
          "queryType": "range",
          "refId": "B",
          "resolution": 10
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.75, {job=\"heroku_production\", host=\"$pgrest\"} |~ `path=\"/upload` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "P75 {{method}}",
          "queryType": "range",
          "refId": "C"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.95, {job=\"heroku_production\", host=\"$pgrest\"} |~ `path=\"/upload` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "P95 {{method}}",
          "queryType": "range",
          "refId": "D"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.99, {job=\"heroku_production\", host=\"$pgrest\"} |~ `path=\"upload` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "P99 {{method}}",
          "queryType": "range",
          "refId": "E"
        }
      ],
      "title": "Response Time: /upload.*",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "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"
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 37
      },
      "id": 23,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (status_code, method)  (rate({job=\"heroku_production\", host=\"$pgrest\"} |~ `path=\"/upload`[1m]))",
          "hide": true,
          "legendFormat": "{{method}} {{status_code}}",
          "queryType": "range",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (status_code, method)  (sum_over_time({job=\"heroku_production\", host=\"$pgrest\"} |~ `path=\"/upload` | unwrap status_code [1m]))",
          "hide": false,
          "legendFormat": "{{method}} {{status_code}}",
          "queryType": "range",
          "refId": "A"
        }
      ],
      "title": "Status Code: /upload",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "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"
              }
            ]
          },
          "unit": "ms"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 44
      },
      "id": 16,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.5, {job=\"heroku_production\", host=\"$db\"} |= `path=\"/\"` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "Median {{method}}",
          "queryType": "range",
          "refId": "B",
          "resolution": 10
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.75, {job=\"heroku_production\", host=\"$db\"} |= `path=\"/\"` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "P75 {{method}}",
          "queryType": "range",
          "refId": "C"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.95, {job=\"heroku_production\", host=\"$db\"} |= `path=\"/\"` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "P95 {{method}}",
          "queryType": "range",
          "refId": "D"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.99, {job=\"heroku_production\", host=\"$db\"} |= `path=\"/\"` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "P99 {{method}}",
          "queryType": "range",
          "refId": "E"
        }
      ],
      "title": "Response Time: /",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "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"
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 44
      },
      "id": 24,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (status_code, method)  (rate({job=\"heroku_production\", host=\"$db\"} |= `path=\"/\"` [1m]))",
          "hide": true,
          "legendFormat": "{{method}} {{status_code}}",
          "queryType": "range",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (status_code, method)  (sum_over_time({job=\"heroku_production\", host=\"$db\"} |= `path=\"/\"` | unwrap status_code [1m]))",
          "hide": false,
          "legendFormat": "{{method}} {{status_code}}",
          "queryType": "range",
          "refId": "A"
        }
      ],
      "title": "Status Code: /",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "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"
              }
            ]
          },
          "unit": "ms"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 51
      },
      "id": 18,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.5, {job=\"heroku_production\", host=\"$pgrest\"} |~ `path=\"/rpc/find_deals_by_content_cids` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "Median {{method}}",
          "queryType": "range",
          "refId": "B",
          "resolution": 10
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.75, {job=\"heroku_production\", host=\"$pgrest\"} |~ `path=\"/rpc/find_deals_by_content_cids` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "P75 {{method}}",
          "queryType": "range",
          "refId": "C"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.95, {job=\"heroku_production\", host=\"$pgrest\"} |~ `path=\"/rpc/find_deals_by_content_cids` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "P95 {{method}}",
          "queryType": "range",
          "refId": "D"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.99, {job=\"heroku_production\", host=\"$pgrest\"} |~ `path=\"/rpc/find_deals_by_content_cids` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "P99 {{method}}",
          "queryType": "range",
          "refId": "E"
        }
      ],
      "title": "Response Time: /rpc/find_deals_by_content_cids.*",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "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"
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 51
      },
      "id": 25,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (status_code, method)  (rate({job=\"heroku_production\", host=\"$pgrest\"} |~ `path=\"/rpc/find_deals_by_content_cids`[1m]))",
          "hide": true,
          "legendFormat": "{{method}} {{status_code}}",
          "queryType": "range",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (status_code, method)  (sum_over_time({job=\"heroku_production\", host=\"$pgrest\"} |~ `path=\"/rpc/find_deals_by_content_cids` | unwrap status_code[1m]))",
          "hide": false,
          "legendFormat": "{{method}} {{status_code}}",
          "queryType": "range",
          "refId": "A"
        }
      ],
      "title": "Status Code: /rpc/find_deals_by_content_cids",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 1,
            "pointSize": 1,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              }
            ]
          },
          "unit": "ms"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 58
      },
      "id": 19,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.5, {job=\"heroku_production\", host=\"$pgrest\"} |~ `path=\"/auth` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "Median {{method}}",
          "queryType": "range",
          "refId": "B",
          "resolution": 10
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.75, {job=\"heroku_production\", host=\"$pgrest\"} |~ `path=\"/auth` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "P75 {{method}}",
          "queryType": "range",
          "refId": "C"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.95, {job=\"heroku_production\", host=\"$pgrest\"} |~ `path=\"/auth` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "P95 {{method}}",
          "queryType": "range",
          "refId": "D"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.99, {job=\"heroku_production\", host=\"$pgrest\"} |~ `path=\"/auth` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "P99 {{method}}",
          "queryType": "range",
          "refId": "E"
        }
      ],
      "title": "Response Time: /auth.*",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "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": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 58
      },
      "id": 26,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (status_code, method)  (rate({job=\"heroku_production\", host=\"$pgrest\"} |~ `path=\"/auth`[1m]))",
          "hide": true,
          "legendFormat": "{{method}} {{status_code}}",
          "queryType": "range",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (status_code, method)  (sum_over_time({job=\"heroku_production\", host=\"$pgrest\"} |~ `path=\"/auth` | unwrap status_code[1m]))",
          "hide": false,
          "legendFormat": "{{method}} {{status_code}}",
          "queryType": "range",
          "refId": "A"
        }
      ],
      "title": "Status Code: /auth.*",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 1,
            "pointSize": 1,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              }
            ]
          },
          "unit": "ms"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 65
      },
      "id": 20,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.5, {job=\"heroku_production\", host=\"$pgrest\"} |~ `path=\"/pin` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "Median {{method}}",
          "queryType": "range",
          "refId": "B",
          "resolution": 10
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.75, {job=\"heroku_production\", host=\"$pgrest\"} |~ `path=\"/pin` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "P75 {{method}}",
          "queryType": "range",
          "refId": "C"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.95, {job=\"heroku_production\", host=\"$pgrest\"} |~ `path=\"/pin` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "P95 {{method}}",
          "queryType": "range",
          "refId": "D"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.99, {job=\"heroku_production\", host=\"$pgrest\"} |~ `path=\"/pin` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "P99 {{method}}",
          "queryType": "range",
          "refId": "E"
        }
      ],
      "title": "Response Time: /pin.*",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "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": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 65
      },
      "id": 27,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (status_code, method)  (rate({job=\"heroku_production\", host=\"$pgrest\"} |~ `path=\"/pin`[1m]))",
          "hide": true,
          "legendFormat": "{{method}} {{status_code}}",
          "queryType": "range",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (status_code, method)  (sum_over_time({job=\"heroku_production\", host=\"$pgrest\"} |~ `path=\"/pin` | unwrap status_code [1m]))",
          "hide": false,
          "legendFormat": "{{method}} {{status_code}}",
          "queryType": "range",
          "refId": "A"
        }
      ],
      "title": "Status Code: /pin.*",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 1,
            "pointSize": 1,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              }
            ]
          },
          "unit": "ms"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 72
      },
      "id": 21,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.5, {job=\"heroku_production\", host=\"$pgrest\"} |~ `path=\"/metric` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "Median {{method}}",
          "queryType": "range",
          "refId": "B",
          "resolution": 10
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.75, {job=\"heroku_production\", host=\"$pgrest\"} |~ `path=\"/metric` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "P75 {{method}}",
          "queryType": "range",
          "refId": "C"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.95, {job=\"heroku_production\", host=\"$pgrest\"} |~ `path=\"/metric` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "P95 {{method}}",
          "queryType": "range",
          "refId": "D"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.99, {job=\"heroku_production\", host=\"$pgrest\"} |~ `path=\"/metric` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "P99 {{method}}",
          "queryType": "range",
          "refId": "E"
        }
      ],
      "title": "Response Time: /metric.*",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "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": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 72
      },
      "id": 28,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (status_code, method)  (rate({job=\"heroku_production\", host=\"$pgrest\"} |~ `path=\"/metric`[1m]))",
          "hide": true,
          "legendFormat": "{{method}} {{status_code}}",
          "queryType": "range",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (status_code, method)  (sum_over_time({job=\"heroku_production\", host=\"$pgrest\"} |~ `path=\"/metric` | unwrap status_code[1m]))",
          "hide": false,
          "legendFormat": "{{method}} {{status_code}}",
          "queryType": "range",
          "refId": "A"
        }
      ],
      "title": "Status Code: /metric.*",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 1,
            "pointSize": 1,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              }
            ]
          },
          "unit": "ms"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 79
      },
      "id": 93,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.5, {job=\"heroku_production\", host=\"$pgrest\"} |= `path=\"/user?select` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "Median {{method}}",
          "queryType": "range",
          "refId": "B",
          "resolution": 10
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.75, {job=\"heroku_production\", host=\"$pgrest\"} |= `path=\"/user?select=id` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "P75 {{method}}",
          "queryType": "range",
          "refId": "C"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.95, {job=\"heroku_production\", host=\"$pgrest\"} |= `path=\"/user?select=id` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "P95 {{method}}",
          "queryType": "range",
          "refId": "D"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.99, {job=\"heroku_production\", host=\"$pgrest\"} |= `path=\"/user?select=id` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "P99 {{method}}",
          "queryType": "range",
          "refId": "E"
        }
      ],
      "title": "Response Time: /user?select=id",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "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": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 79
      },
      "id": 94,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (status_code, method)  (rate({job=\"heroku_production\", host=\"$pgrest\"} |= `path=\"/user?select=id`[1m]))",
          "hide": true,
          "legendFormat": "{{method}} {{status_code}}",
          "queryType": "range",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (status_code, method)  (sum_over_time({job=\"heroku_production\", host=\"$pgrest\"} |= `path=\"/user?select=id` | unwrap status_code [1m]))",
          "hide": false,
          "legendFormat": "{{method}} {{status_code}}",
          "queryType": "range",
          "refId": "A"
        }
      ],
      "title": "Status Code: /user?select=id",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 1,
            "pointSize": 1,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              }
            ]
          },
          "unit": "ms"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 86
      },
      "id": 95,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.5, {job=\"heroku_production\", host=\"$pgrest\"} |= `path=\"/content?select=` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "Median {{method}}",
          "queryType": "range",
          "refId": "B",
          "resolution": 10
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.75, {job=\"heroku_production\", host=\"$pgrest\"} |= `path=\"/content?select=` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "P75 {{method}}",
          "queryType": "range",
          "refId": "C"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.95, {job=\"heroku_production\", host=\"$pgrest\"} |= `path=\"/content?select=` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "P95 {{method}}",
          "queryType": "range",
          "refId": "D"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.99, {job=\"heroku_production\", host=\"$pgrest\"} |= `path=\"/content?select=` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "P99 {{method}}",
          "queryType": "range",
          "refId": "E"
        }
      ],
      "title": "Response Time: /content?select=",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "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": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 86
      },
      "id": 96,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (status_code, method)  (rate({job=\"heroku_production\", host=\"$pgrest\"} |= `path=\"/content?select=`[1m]))",
          "hide": true,
          "legendFormat": "{{method}} {{status_code}}",
          "queryType": "range",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (status_code, method)  (sum_over_time({job=\"heroku_production\", host=\"$pgrest\"} |= `path=\"/content?select=` | unwrap status_code[1m]))",
          "hide": false,
          "legendFormat": "{{method}} {{status_code}}",
          "queryType": "range",
          "refId": "A"
        }
      ],
      "title": "Status Code: /content?select=",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 1,
            "pointSize": 1,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              }
            ]
          },
          "unit": "ms"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 93
      },
      "id": 97,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.5, {job=\"heroku_production\", host=\"$pgrest\"} |= `path=\"/user_tag_proposal?select=` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "Median {{method}}",
          "queryType": "range",
          "refId": "B",
          "resolution": 10
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.75, {job=\"heroku_production\", host=\"$pgrest\"} |= `path=\"/user_tag_proposal?select=` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "P75 {{method}}",
          "queryType": "range",
          "refId": "C"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.95, {job=\"heroku_production\", host=\"$pgrest\"} |= `path=\"/user_tag_proposal?select=` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "P95 {{method}}",
          "queryType": "range",
          "refId": "D"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "quantile_over_time(0.99, {job=\"heroku_production\", host=\"$pgrest\"} |= `path=\"/user_tag_proposal?select=` | logfmt |  regexp \"service=(?P<time_taken>[0-9]+)\" | unwrap time_taken [1m]) by (host, method)",
          "hide": false,
          "legendFormat": "P99 {{method}}",
          "queryType": "range",
          "refId": "E"
        }
      ],
      "title": "Response Time: /user_tag_proposal?select=",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "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": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "__systemRef": "hideSeriesFrom",
            "matcher": {
              "id": "byNames",
              "options": {
                "mode": "exclude",
                "names": [
                  "GET 200"
                ],
                "prefix": "All except:",
                "readOnly": true
              }
            },
            "properties": [
              {
                "id": "custom.hideFrom",
                "value": {
                  "legend": false,
                  "tooltip": false,
                  "viz": true
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 93
      },
      "id": 98,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (status_code, method)  (rate({job=\"heroku_production\", host=\"$pgrest\"} |= `path=\"/user_tag_proposal?select=`[1m]))",
          "hide": true,
          "legendFormat": "{{method}} {{status_code}}",
          "queryType": "range",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (status_code, method)  (sum_over_time({job=\"heroku_production\", host=\"$pgrest\"} |= `path=\"/user_tag_proposal?select=` | unwrap status_code  [1m]))",
          "hide": false,
          "legendFormat": "{{method}} {{status_code}}",
          "queryType": "range",
          "refId": "A"
        }
      ],
      "title": "Status Code: /user_tag_proposal?select=",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "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": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 6,
        "y": 100
      },
      "id": 65,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "desc"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (path)  (sum_over_time({job=\"heroku_production\", host=\"$db\"} | logfmt | unwrap status_code [1m]))",
          "hide": false,
          "legendFormat": "DB {{path}}",
          "queryType": "range",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (path)  (sum_over_time({job=\"heroku_production\", host=\"$pgrest\"} |= \"path=\\\"/rpc/create_upload\"  | logfmt | unwrap status_code [1m]))",
          "hide": false,
          "legendFormat": "PGREST {{path}}",
          "queryType": "range",
          "refId": "A"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (host)  (sum_over_time({job=\"heroku_production\", host=\"$pgrest\"} |= \"path=\\\"/upload\"  | logfmt | unwrap status_code [1m]))",
          "hide": false,
          "legendFormat": "PGREST /upload",
          "queryType": "range",
          "refId": "C"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (path)  (sum_over_time({job=\"heroku_production\", host=\"$pgrest\"} |~ \"path=\\\"/rpc/find_deals_by_content_cids\"  | logfmt | unwrap status_code [1m]))",
          "hide": false,
          "legendFormat": "PGREST {{path}}",
          "queryType": "range",
          "refId": "D"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (host)  (sum_over_time({job=\"heroku_production\", host=\"$pgrest\"} |= \"path=\\\"/auth_key?select=id\"  | logfmt | unwrap status_code [1m]))",
          "hide": false,
          "legendFormat": "PGREST /auth_key?select=id",
          "queryType": "range",
          "refId": "E"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (host)  (sum_over_time({job=\"heroku_production\", host=\"$pgrest\"} |= \"path=\\\"/auth_key?select=\" != \"path=\\\"/auth_key?select=id\" | logfmt | unwrap status_code [1m]))",
          "hide": false,
          "legendFormat": "PGREST auth_key?select=*",
          "queryType": "range",
          "refId": "F"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum by (host)  (sum_over_time({job=\"heroku_production\", host=\"$pgrest\"} |= \"path=\\\"/pin?content_cid\"  | logfmt | unwrap status_code [1m]))",
          "hide": false,
          "legendFormat": "PGREST /pin?content_cid",
          "queryType": "range",
          "refId": "G"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum by (host)  (sum_over_time({job=\"heroku_production\", host=\"$pgrest\"} |= \"path=\\\"/metric\"  | logfmt | unwrap status_code [1m]))",
          "hide": false,
          "legendFormat": "PGREST /metric",
          "queryType": "range",
          "refId": "H"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum by (path)  (sum_over_time({job=\"heroku_production\", host=\"$pgrest\"} != \"path=\\\"/metric\" != \"path=\\\"/pin?content_cid\" != \"path=\\\"/auth_key?select=\" != \"path=\\\"/rpc/find_deals_by_content_cids\" != \"path=\\\"/upload\" != \"path=\\\"/rpc/create_upload\" != \"path=\\\"/user?select=id\" != \"path=\\\"/content?select=\" != \"path=\\\"/user_tag_proposal?select=\" | logfmt | unwrap status_code [1m]))",
          "hide": false,
          "legendFormat": "PGREST {{path}}",
          "queryType": "range",
          "refId": "I"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (host)  (sum_over_time({job=\"heroku_production\", host=\"$pgrest\"} |= \"path=\\\"/user?select=id\"  | logfmt | unwrap status_code [1m]))",
          "hide": false,
          "legendFormat": "PGREST /user?select=id",
          "queryType": "range",
          "refId": "J"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (host)  (sum_over_time({job=\"heroku_production\", host=\"$pgrest\"} |= \"path=\\\"/content?select=\"  | logfmt | unwrap status_code [1m]))",
          "hide": false,
          "legendFormat": "PGREST /content?select=",
          "queryType": "range",
          "refId": "K"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (host)  (sum_over_time({job=\"heroku_production\", host=\"$pgrest\"} |= \"path=\\\"/user_tag_proposal?select=\"  | logfmt | unwrap status_code [1m]))",
          "hide": false,
          "legendFormat": "PGREST /user_tag_proposal?select=",
          "queryType": "range",
          "refId": "L"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (host)  (sum_over_time({job=\"heroku_production\", host=\"$pgrest\"}  | logfmt | unwrap status_code [1m]))",
          "hide": false,
          "legendFormat": "PGREST Total",
          "queryType": "range",
          "refId": "M"
        },
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum  by (host)  (sum_over_time({job=\"heroku_production\", host=\"$db\"} | logfmt | unwrap status_code [1m]))",
          "hide": false,
          "legendFormat": "DB Total",
          "queryType": "range",
          "refId": "N"
        }
      ],
      "title": "All endpoints",
      "type": "timeseries"
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 107
      },
      "id": 9,
      "panels": [],
      "title": "Status Code x HTTP verb",
      "type": "row"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "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"
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 108
      },
      "id": 2,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "desc"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum_over_time({job=\"heroku_production\", host=\"$pgrest\"} | unwrap status_code [1m])",
          "legendFormat": "{{method}}: {{status_code}}",
          "queryType": "range",
          "refId": "A"
        }
      ],
      "title": "storage-pgrest-prod",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "loki",
        "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "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"
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 108
      },
      "id": 4,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "loki",
            "uid": "${DS_GRAFANACLOUD-DAGHOUSE-LOGS}"
          },
          "editorMode": "code",
          "expr": "sum_over_time({job=\"heroku_production\", host=\"$db\"} | unwrap status_code [1m])",
          "legendFormat": "{{method}}: {{status_code}}",
          "queryType": "range",
          "refId": "A"
        }
      ],
      "title": "db.storage.prd",
      "type": "timeseries"
    }
  ],
  "refresh": false,
  "schemaVersion": 37,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "current": {
          "selected": false,
          "text": "storage-prod-0",
          "value": "storage-prod-0"
        },
        "hide": 0,
        "name": "database",
        "options": [
          {
            "selected": true,
            "text": "storage-prod-0",
            "value": "storage-prod-0"
          }
        ],
        "query": "storage-prod-0",
        "skipUrlSync": false,
        "type": "textbox"
      },
      {
        "current": {
          "selected": false,
          "text": "storage-pgrest-prod.herokuapp.com",
          "value": "storage-pgrest-prod.herokuapp.com"
        },
        "hide": 0,
        "name": "pgrest",
        "options": [
          {
            "selected": true,
            "text": "storage-pgrest-prod.herokuapp.com",
            "value": "storage-pgrest-prod.herokuapp.com"
          }
        ],
        "query": "storage-pgrest-prod.herokuapp.com",
        "skipUrlSync": false,
        "type": "textbox"
      },
      {
        "current": {
          "selected": false,
          "text": "db.storage",
          "value": "db.storage"
        },
        "hide": 0,
        "name": "db",
        "options": [
          {
            "selected": true,
            "text": "db.storage",
            "value": "db.storage"
          }
        ],
        "query": "db.storage",
        "skipUrlSync": false,
        "type": "textbox"
      }
    ]
  },
  "time": {
    "from": "now-30m",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "",
  "title": "Heroku PostgreSQL Database",
  "uid": "vZOUdxOVk",
  "version": 12,
  "weekStart": "",
  "gnetId": 17912,
  "description": "Logs from heroku postgres and using pgrest app.\r\n\r\nLog format:\r\n\r\nsource=HEROKU_POSTGRESQL addon=storage-replica-1 sample#current_transaction=224120752 sample#db_size=355884880431bytes sample#tables=17 sample#active-connections=19 sample#waiting-connections=0 sample#index-cache-hit-rate=0.87435 sample#table-cache-hit-rate=0.76407 sample#load-avg-1m=0.8725 sample#load-avg-5m=0.675 sample#load-avg-15m=0.4525 sample#read-iops=4851.8 sample#write-iops=1.4512 sample#tmp-disk-used=543633408 sample#tmp-disk-available=72435159040 sample#memory-total=32402856kB sample#memory-free=204284kB sample#memory-cached=31013876kB sample#memory-postgres=129548kB sample#follower-lag-commits=106 sample#wal-percentage-used=0.07494363207220228 "
}