Grafana dashboard: Akamai Observability - CMCD
Description: Akamai Observability powered by Hydrolix dashboard for datastream2	and Media Delivery

Akamai Observability powered by Hydrolix dashboard for datastream2 and Media Delivery leveraging CMCD player information

{
  "__inputs": [
    {
      "name": "DS_HYDRO",
      "label": "Hydrolix Cluster",
      "description": "",
      "type": "datasource",
      "pluginId": "grafana-clickhouse-datasource",
      "pluginName": "ClickHouse"
    },
    {
      "name": "VAR_TABLE",
      "type": "constant",
      "label": "table",
      "value": "",
      "description": ""
    }
  ],
  "__elements": {},
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "9.5.1"
    },
    {
      "type": "datasource",
      "id": "grafana-clickhouse-datasource",
      "name": "ClickHouse",
      "version": "3.0.1-beta"
    },
    {
      "type": "panel",
      "id": "logs",
      "name": "Logs",
      "version": ""
    },
    {
      "type": "panel",
      "id": "piechart",
      "name": "Pie chart",
      "version": ""
    },
    {
      "type": "panel",
      "id": "table",
      "name": "Table",
      "version": ""
    },
    {
      "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"
      }
    ]
  },
  "description": "Akamai Observability powered by Hydrolix dashboard for datastream2\tand Media Delivery",
  "editable": true,
  "fiscalYearStartMonth": 0,
  "gnetId": 18822,
  "graphTooltip": 0,
  "id": null,
  "links": [],
  "liveNow": false,
  "panels": [
    {
      "collapsed": true,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 36,
      "panels": [
        {
          "datasource": {
            "type": "grafana-clickhouse-datasource",
            "uid": "${DS_HYDRO}"
          },
          "description": "Number of request group by HTTP Status Code",
          "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": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "auto",
                "spanNulls": false,
                "stacking": {
                  "group": "A",
                  "mode": "none"
                },
                "thresholdsStyle": {
                  "mode": "off"
                }
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  }
                ]
              },
              "unit": "short"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byRegexp",
                  "options": "http 4.."
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "red",
                      "mode": "continuous-reds",
                      "seriesBy": "max"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byRegexp",
                  "options": "http 2.."
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "green",
                      "mode": "continuous-greens",
                      "seriesBy": "max"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byRegexp",
                  "options": "http 5.."
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "orange",
                      "mode": "continuous-YlRd",
                      "seriesBy": "max"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byRegexp",
                  "options": "http 3.."
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "blue",
                      "mode": "continuous-blues",
                      "seriesBy": "max"
                    }
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 8,
            "w": 12,
            "x": 0,
            "y": 1
          },
          "id": 3,
          "options": {
            "legend": {
              "calcs": [
                "sum",
                "max"
              ],
              "displayMode": "table",
              "placement": "bottom",
              "showLegend": true,
              "sortBy": "Total",
              "sortDesc": true
            },
            "tooltip": {
              "mode": "single",
              "sort": "none"
            }
          },
          "targets": [
            {
              "builderOptions": {
                "database": "elkjop",
                "fields": [],
                "filters": [],
                "limit": 100,
                "mode": "list",
                "orderBy": [],
                "table": "logs"
              },
              "datasource": {
                "type": "grafana-clickhouse-datasource",
                "uid": "${DS_HYDRO}"
              },
              "meta": {
                "builderOptions": {
                  "database": "elkjop",
                  "fields": [],
                  "filters": [],
                  "limit": 100,
                  "mode": "list",
                  "orderBy": [],
                  "table": "logs"
                }
              },
              "queryType": "sql",
              "rawSql": "SELECT toString(statusCode) as HTTP_Status_Code, $__timeInterval(reqTimeSec) as time, count(*) as http\nFROM ${table}\nWHERE $__timeFilter(reqTimeSec)\nAND $__conditionalAll( statusCode $AND_statusCode (${statusCode}), $statusCode)\nAND $__conditionalAll( reqHost ${AND_reqHost} (${reqHost}), $reqHost)\nAND $__conditionalAll( cacheStatus ${AND_cacheStatus} (${cacheStatus}), $cacheStatus)\nAND $__conditionalAll( reqMethod ${AND_reqMethod} (${reqMethod}), $reqMethod)\nAND $__conditionalAll( rspContentType ${AND_rspContentType} (${rspContentType}), $rspContentType)\nAND $__conditionalAll( errorCode ${AND_errorCode} (${errorCode}), $errorCode)\nAND $__conditionalAll( transferTimeMSec >= ${transferTimeMSec_percentile}, $transferTimeMSec_percentile)\nAND $__conditionalAll(${metric_name} ${metric_filter} ${metric_value}, $metric_filter)\nAND if ('${reqPath:text}' = '', true, reqPath ${AND_reqPath} '%${reqPath:text}%')\nAND if ('${cliIP:text}' = '', true, cliIP ${AND_cliIP} '${cliIP:text}')\nAND if ('${UA:text}' = '', true, UA ${AND_UA} '${UA:text}')\nAND if ('${cmcd_session_id:text}' = '', true, cmcd_session_id ${AND_cmcd_session_id} '${cmcd_session_id:text}')\nGROUP BY HTTP_Status_Code, time ORDER BY time\nSETTINGS hdx_query_max_execution_time=60, hdx_query_admin_comment='akamai - statuscode - ${__user.login}'",
              "refId": "A"
            }
          ],
          "title": "Hits per status code",
          "transformations": [
            {
              "id": "prepareTimeSeries",
              "options": {
                "format": "many"
              }
            }
          ],
          "type": "timeseries"
        },
        {
          "datasource": {
            "type": "grafana-clickhouse-datasource",
            "uid": "${DS_HYDRO}"
          },
          "description": "Cache Hit Ratio :\nsum of all request with cacheStatus: 1 / divided by total count of request",
          "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",
                    "value": null
                  }
                ]
              },
              "unit": "percent"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 8,
            "w": 12,
            "x": 12,
            "y": 1
          },
          "id": 2,
          "options": {
            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "single",
              "sort": "none"
            }
          },
          "targets": [
            {
              "builderOptions": {
                "database": "elkjop",
                "fields": [],
                "filters": [],
                "limit": 100,
                "mode": "list",
                "orderBy": [],
                "table": "logs"
              },
              "datasource": {
                "type": "grafana-clickhouse-datasource",
                "uid": "${DS_HYDRO}"
              },
              "meta": {
                "builderOptions": {
                  "database": "elkjop",
                  "fields": [],
                  "filters": [],
                  "limit": 100,
                  "mode": "list",
                  "orderBy": [],
                  "table": "logs"
                }
              },
              "queryType": "sql",
              "rawSql": "SELECT time, cache_hit FROM(\nSELECT $__timeInterval(reqTimeSec) as time,\nsumIf(cacheStatus,1) as \"cached\",\ncached/count() * 100 as \"cache_hit\"\nFROM ${table}\nWHERE $__timeFilter(reqTimeSec)\nAND $__conditionalAll( statusCode $AND_statusCode (${statusCode}), $statusCode)\nAND $__conditionalAll( reqHost ${AND_reqHost} (${reqHost}), $reqHost)\nAND $__conditionalAll( cacheStatus ${AND_cacheStatus} (${cacheStatus}), $cacheStatus)\nAND $__conditionalAll( reqMethod ${AND_reqMethod} (${reqMethod}), $reqMethod)\nAND $__conditionalAll( rspContentType ${AND_rspContentType} (${rspContentType}), $rspContentType)\nAND $__conditionalAll( errorCode ${AND_errorCode} (${errorCode}), $errorCode)\nAND $__conditionalAll( transferTimeMSec >= ${transferTimeMSec_percentile}, $transferTimeMSec_percentile)\nAND $__conditionalAll(${metric_name} ${metric_filter} ${metric_value}, $metric_filter)\nAND if ('${reqPath:text}' = '', true, reqPath ${AND_reqPath} '%${reqPath:text}%')\nAND if ('${cliIP:text}' = '', true, cliIP ${AND_cliIP} '${cliIP:text}')\nAND if ('${UA:text}' = '', true, UA ${AND_UA} '${UA:text}')\nAND if ('${cmcd_session_id:text}' = '', true, cmcd_session_id ${AND_cmcd_session_id} '${cmcd_session_id:text}')\nGROUP BY time ORDER BY time)\nSETTINGS hdx_query_max_execution_time=60, hdx_query_admin_comment='akamai - cachehit - ${__user.login}'",
              "refId": "A"
            }
          ],
          "title": "Cache Hit Ratio",
          "type": "timeseries"
        },
        {
          "datasource": {
            "type": "grafana-clickhouse-datasource",
            "uid": "${DS_HYDRO}"
          },
          "description": "Throughput is the sum of all bytes delivered / divided by sum of transfert time",
          "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",
                    "value": null
                  }
                ]
              },
              "unit": "binBps"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 8,
            "w": 12,
            "x": 0,
            "y": 9
          },
          "id": 18,
          "options": {
            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "single",
              "sort": "none"
            }
          },
          "targets": [
            {
              "builderOptions": {
                "database": "elkjop",
                "fields": [],
                "filters": [],
                "limit": 100,
                "mode": "list",
                "orderBy": [],
                "table": "logs"
              },
              "datasource": {
                "type": "grafana-clickhouse-datasource",
                "uid": "${DS_HYDRO}"
              },
              "meta": {
                "builderOptions": {
                  "database": "elkjop",
                  "fields": [],
                  "filters": [],
                  "limit": 100,
                  "mode": "list",
                  "orderBy": [],
                  "table": "logs"
                }
              },
              "queryType": "sql",
              "rawSql": "SELECT $__timeInterval(reqTimeSec) as time,\nsum(totalBytes) / sum(transferTimeMSec/1000) as throughput\nFROM ${table}\nWHERE $__timeFilter(reqTimeSec)\nAND $__conditionalAll( statusCode $AND_statusCode (${statusCode}), $statusCode)\nAND $__conditionalAll( reqHost ${AND_reqHost} (${reqHost}), $reqHost)\nAND $__conditionalAll( cacheStatus ${AND_cacheStatus} (${cacheStatus}), $cacheStatus)\nAND $__conditionalAll( reqMethod ${AND_reqMethod} (${reqMethod}), $reqMethod)\nAND $__conditionalAll( rspContentType ${AND_rspContentType} (${rspContentType}), $rspContentType)\nAND $__conditionalAll( errorCode ${AND_errorCode} (${errorCode}), $errorCode)\nAND $__conditionalAll( transferTimeMSec >= ${transferTimeMSec_percentile}, $transferTimeMSec_percentile)\nAND $__conditionalAll(${metric_name} ${metric_filter} ${metric_value}, $metric_filter)\nAND if ('${reqPath:text}' = '', true, reqPath ${AND_reqPath} '%${reqPath:text}%')\nAND if ('${cliIP:text}' = '', true, cliIP ${AND_cliIP} '${cliIP:text}')\nAND if ('${UA:text}' = '', true, UA ${AND_UA} '${UA:text}')\nAND if ('${cmcd_session_id:text}' = '', true, cmcd_session_id ${AND_cmcd_session_id} '${cmcd_session_id:text}')\nGROUP BY time ORDER BY time\nSETTINGS hdx_query_max_execution_time=60, hdx_query_admin_comment='akamai - throughput - ${__user.login}'",
              "refId": "A"
            }
          ],
          "title": "Throughput",
          "type": "timeseries"
        },
        {
          "datasource": {
            "type": "grafana-clickhouse-datasource",
            "uid": "${DS_HYDRO}"
          },
          "description": "Sum of Total Bytes Delivered",
          "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",
                    "value": null
                  }
                ]
              },
              "unit": "bytes"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 8,
            "w": 12,
            "x": 12,
            "y": 9
          },
          "id": 17,
          "options": {
            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "single",
              "sort": "none"
            }
          },
          "targets": [
            {
              "builderOptions": {
                "database": "elkjop",
                "fields": [],
                "filters": [],
                "limit": 100,
                "mode": "list",
                "orderBy": [],
                "table": "logs"
              },
              "datasource": {
                "type": "grafana-clickhouse-datasource",
                "uid": "${DS_HYDRO}"
              },
              "meta": {
                "builderOptions": {
                  "database": "elkjop",
                  "fields": [],
                  "filters": [],
                  "limit": 100,
                  "mode": "list",
                  "orderBy": [],
                  "table": "logs"
                }
              },
              "queryType": "sql",
              "rawSql": "SELECT $__timeInterval(reqTimeSec) as time,\nsum(totalBytes) as Bytes_Delivered\nFROM ${table}\nWHERE $__timeFilter(reqTimeSec)\nAND $__conditionalAll( statusCode $AND_statusCode (${statusCode}), $statusCode)\nAND $__conditionalAll( reqHost ${AND_reqHost} (${reqHost}), $reqHost)\nAND $__conditionalAll( cacheStatus ${AND_cacheStatus} (${cacheStatus}), $cacheStatus)\nAND $__conditionalAll( reqMethod ${AND_reqMethod} (${reqMethod}), $reqMethod)\nAND $__conditionalAll( rspContentType ${AND_rspContentType} (${rspContentType}), $rspContentType)\nAND $__conditionalAll( errorCode ${AND_errorCode} (${errorCode}), $errorCode)\nAND $__conditionalAll( transferTimeMSec >= ${transferTimeMSec_percentile}, $transferTimeMSec_percentile)\nAND $__conditionalAll(${metric_name} ${metric_filter} ${metric_value}, $metric_filter)\nAND if ('${reqPath:text}' = '', true, reqPath ${AND_reqPath} '%${reqPath:text}%')\nAND if ('${cliIP:text}' = '', true, cliIP ${AND_cliIP} '${cliIP:text}')\nAND if ('${UA:text}' = '', true, UA ${AND_UA} '${UA:text}')\nAND if ('${cmcd_session_id:text}' = '', true, cmcd_session_id ${AND_cmcd_session_id} '${cmcd_session_id:text}')\nGROUP BY time ORDER BY time\nSETTINGS hdx_query_max_execution_time=60, hdx_query_admin_comment='akamai - bytes - ${__user.login}'",
              "refId": "A"
            }
          ],
          "title": "Bytes Delivered",
          "type": "timeseries"
        },
        {
          "datasource": {
            "type": "grafana-clickhouse-datasource",
            "uid": "${DS_HYDRO}"
          },
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "custom": {
                "align": "auto",
                "cellOptions": {
                  "type": "auto"
                },
                "inspect": false
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  }
                ]
              }
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "count()"
                },
                "properties": [
                  {
                    "id": "custom.width",
                    "value": 83
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "reqPath"
                },
                "properties": [
                  {
                    "id": "links",
                    "value": [
                      {
                        "title": "Filter",
                        "url": "/d/Pj8HEyd4l-CMCD/akamai-observability-cmcd?${AND_statusCode:queryparam}﻿&﻿${statusCode:queryparam}﻿&﻿${AND_cacheStatus:queryparam}﻿&﻿${cacheStatus:queryparam}﻿&﻿${AND_reqHost:queryparam}﻿&﻿${reqHost:queryparam}﻿&﻿${AND_reqMethod:queryparam}﻿&﻿${reqMethod:queryparam}﻿&﻿${AND_UA:queryparam}﻿&﻿${UA:queryparam}﻿&﻿${AND_rspContentType:queryparam}﻿&﻿${rspContentType:queryparam}﻿&﻿${AND_errorCode:queryparam}﻿&﻿${errorCode:queryparam}﻿﻿&﻿${AND_reqPath:queryparam}﻿&var-reqPath=${__data.fields.reqPath}&${AND_cliIP:queryparam}&${cliIP:queryparam}&${edge_response_time_percentile:queryparam}&${metric_name:queryparam}&${metric_filter:queryparam}&${metric_value:queryparam}&${__url_time_range}&${AND_cmcd_session_id:queryparam}&${cmcd_session_id:queryparam}"
                      }
                    ]
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 8,
            "w": 12,
            "x": 0,
            "y": 17
          },
          "id": 5,
          "options": {
            "cellHeight": "sm",
            "footer": {
              "countRows": false,
              "fields": "",
              "reducer": [
                "sum"
              ],
              "show": false
            },
            "showHeader": true,
            "sortBy": []
          },
          "pluginVersion": "9.5.1",
          "targets": [
            {
              "datasource": {
                "type": "grafana-clickhouse-datasource",
                "uid": "${DS_HYDRO}"
              },
              "meta": {
                "builderOptions": {
                  "fields": [],
                  "limit": 100,
                  "mode": "list"
                }
              },
              "queryType": "sql",
              "rawSql": "SELECT\ncount(),\nreqPath\nFROM ${table}\nWHERE $__timeFilter(reqTimeSec)\nAND $__conditionalAll( statusCode $AND_statusCode (${statusCode}), $statusCode)\nAND $__conditionalAll( reqHost ${AND_reqHost} (${reqHost}), $reqHost)\nAND $__conditionalAll( cacheStatus ${AND_cacheStatus} (${cacheStatus}), $cacheStatus)\nAND $__conditionalAll( reqMethod ${AND_reqMethod} (${reqMethod}), $reqMethod)\nAND $__conditionalAll( rspContentType ${AND_rspContentType} (${rspContentType}), $rspContentType)\nAND $__conditionalAll( errorCode ${AND_errorCode} (${errorCode}), $errorCode)\nAND $__conditionalAll( transferTimeMSec >= ${transferTimeMSec_percentile}, $transferTimeMSec_percentile)\nAND $__conditionalAll(${metric_name} ${metric_filter} ${metric_value}, $metric_filter)\nAND if ('${reqPath:text}' = '', true, reqPath ${AND_reqPath} '%${reqPath:text}%')\nAND if ('${cliIP:text}' = '', true, cliIP ${AND_cliIP} '${cliIP:text}')\nAND if ('${UA:text}' = '', true, UA ${AND_UA} '${UA:text}')\nAND if ('${cmcd_session_id:text}' = '', true, cmcd_session_id ${AND_cmcd_session_id} '${cmcd_session_id:text}')\nGROUP BY reqPath ORDER BY count() DESC\nLIMIT 50\nSETTINGS hdx_query_max_execution_time=60, hdx_query_admin_comment='akamai - topPath - ${__user.login}'",
              "refId": "A"
            }
          ],
          "title": "Top 50 Path",
          "type": "table"
        },
        {
          "datasource": {
            "type": "grafana-clickhouse-datasource",
            "uid": "${DS_HYDRO}"
          },
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "custom": {
                "align": "auto",
                "cellOptions": {
                  "type": "auto"
                },
                "inspect": false
              },
              "links": [],
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              }
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "count()"
                },
                "properties": [
                  {
                    "id": "custom.width",
                    "value": 83
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "UA"
                },
                "properties": [
                  {
                    "id": "links",
                    "value": [
                      {
                        "title": "Filter",
                        "url": "/d/Pj8HEyd4l-CMCD/akamai-observability-cmcd?${AND_statusCode:queryparam}﻿&﻿${statusCode:queryparam}﻿&﻿${AND_cacheStatus:queryparam}﻿&﻿${cacheStatus:queryparam}﻿&﻿${AND_reqHost:queryparam}﻿&﻿${reqHost:queryparam}﻿&﻿${AND_reqMethod:queryparam}﻿&﻿${reqMethod:queryparam}﻿&﻿${AND_UA:queryparam}﻿&﻿var-UA=${__data.fields.UA}&﻿${AND_rspContentType:queryparam}﻿&﻿${rspContentType:queryparam}﻿&﻿${AND_errorCode:queryparam}﻿&﻿${errorCode:queryparam}﻿&﻿${AND_reqPath:queryparam}﻿&${reqPath:queryparam}&${AND_cliIP:queryparam}&${cliIP:queryparam}&${edge_response_time_percentile:queryparam}&${metric_name:queryparam}&${metric_filter:queryparam}&${metric_value:queryparam}&${__url_time_range}&${AND_cmcd_session_id:queryparam}&${cmcd_session_id:queryparam}"
                      }
                    ]
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 8,
            "w": 12,
            "x": 12,
            "y": 17
          },
          "id": 6,
          "options": {
            "cellHeight": "sm",
            "footer": {
              "countRows": false,
              "fields": "",
              "reducer": [
                "sum"
              ],
              "show": false
            },
            "showHeader": true,
            "sortBy": []
          },
          "pluginVersion": "9.5.1",
          "targets": [
            {
              "datasource": {
                "type": "grafana-clickhouse-datasource",
                "uid": "${DS_HYDRO}"
              },
              "meta": {
                "builderOptions": {
                  "fields": [],
                  "limit": 100,
                  "mode": "list"
                }
              },
              "queryType": "sql",
              "rawSql": "SELECT\ncount(),\nUA\nFROM ${table}\nWHERE $__timeFilter(reqTimeSec)\nAND $__conditionalAll( statusCode $AND_statusCode (${statusCode}), $statusCode)\nAND $__conditionalAll( reqHost ${AND_reqHost} (${reqHost}), $reqHost)\nAND $__conditionalAll( cacheStatus ${AND_cacheStatus} (${cacheStatus}), $cacheStatus)\nAND $__conditionalAll( reqMethod ${AND_reqMethod} (${reqMethod}), $reqMethod)\nAND $__conditionalAll( rspContentType ${AND_rspContentType} (${rspContentType}), $rspContentType)\nAND $__conditionalAll( errorCode ${AND_errorCode} (${errorCode}), $errorCode)\nAND $__conditionalAll( transferTimeMSec >= ${transferTimeMSec_percentile}, $transferTimeMSec_percentile)\nAND $__conditionalAll(${metric_name} ${metric_filter} ${metric_value}, $metric_filter)\nAND if ('${reqPath:text}' = '', true, reqPath ${AND_reqPath} '%${reqPath:text}%')\nAND if ('${cliIP:text}' = '', true, cliIP ${AND_cliIP} '${cliIP:text}')\nAND if ('${UA:text}' = '', true, UA ${AND_UA} '${UA:text}')\nAND if ('${cmcd_session_id:text}' = '', true, cmcd_session_id ${AND_cmcd_session_id} '${cmcd_session_id:text}')\nGROUP BY UA ORDER BY count() DESC\nLIMIT 50\nSETTINGS hdx_query_max_execution_time=60, hdx_query_admin_comment='akamai - topUA - ${__user.login}'",
              "refId": "A"
            }
          ],
          "title": "Top 50 User Agent",
          "type": "table"
        },
        {
          "datasource": {
            "type": "grafana-clickhouse-datasource",
            "uid": "${DS_HYDRO}"
          },
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "hideFrom": {
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                }
              },
              "mappings": []
            },
            "overrides": [
              {
                "__systemRef": "hideSeriesFrom",
                "matcher": {
                  "id": "byNames",
                  "options": {
                    "mode": "exclude",
                    "names": [
                      "count()",
                      "rspContentType",
                      "application/rss+xml",
                      "application/javascript"
                    ],
                    "prefix": "All except:",
                    "readOnly": true
                  }
                },
                "properties": [
                  {
                    "id": "custom.hideFrom",
                    "value": {
                      "legend": false,
                      "tooltip": false,
                      "viz": true
                    }
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 8,
            "w": 12,
            "x": 0,
            "y": 25
          },
          "id": 8,
          "options": {
            "legend": {
              "displayMode": "table",
              "placement": "right",
              "showLegend": true,
              "values": [
                "value",
                "percent"
              ]
            },
            "pieType": "pie",
            "reduceOptions": {
              "calcs": [
                "lastNotNull"
              ],
              "fields": "/^count\\(\\)$/",
              "values": true
            },
            "tooltip": {
              "mode": "single",
              "sort": "none"
            }
          },
          "pluginVersion": "9.2.1",
          "targets": [
            {
              "datasource": {
                "type": "grafana-clickhouse-datasource",
                "uid": "${DS_HYDRO}"
              },
              "meta": {
                "builderOptions": {
                  "fields": [],
                  "limit": 100,
                  "mode": "list"
                }
              },
              "queryType": "sql",
              "rawSql": "SELECT\ncount(),\nrspContentType\nFROM ${table}\nWHERE $__timeFilter(reqTimeSec)\nAND rspContentType IS not NULL\nAND $__conditionalAll( statusCode $AND_statusCode (${statusCode}), $statusCode)\nAND $__conditionalAll( reqHost ${AND_reqHost} (${reqHost}), $reqHost)\nAND $__conditionalAll( cacheStatus ${AND_cacheStatus} (${cacheStatus}), $cacheStatus)\nAND $__conditionalAll( reqMethod ${AND_reqMethod} (${reqMethod}), $reqMethod)\nAND $__conditionalAll( rspContentType ${AND_rspContentType} (${rspContentType}), $rspContentType)\nAND $__conditionalAll( errorCode ${AND_errorCode} (${errorCode}), $errorCode)\nAND $__conditionalAll( transferTimeMSec >= ${transferTimeMSec_percentile}, $transferTimeMSec_percentile)\nAND $__conditionalAll(${metric_name} ${metric_filter} ${metric_value}, $metric_filter)\nAND if ('${reqPath:text}' = '', true, reqPath ${AND_reqPath} '%${reqPath:text}%')\nAND if ('${cliIP:text}' = '', true, cliIP ${AND_cliIP} '${cliIP:text}')\nAND if ('${UA:text}' = '', true, UA ${AND_UA} '${UA:text}')\nAND if ('${cmcd_session_id:text}' = '', true, cmcd_session_id ${AND_cmcd_session_id} '${cmcd_session_id:text}')\nGROUP BY rspContentType ORDER BY count() DESC\nSETTINGS hdx_query_max_execution_time=60, hdx_query_admin_comment='akamai - content_type - ${__user.login}'",
              "refId": "A"
            }
          ],
          "title": "Request Per Content Type",
          "type": "piechart"
        },
        {
          "datasource": {
            "type": "grafana-clickhouse-datasource",
            "uid": "${DS_HYDRO}"
          },
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "custom": {
                "align": "auto",
                "cellOptions": {
                  "type": "auto"
                },
                "inspect": false
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  }
                ]
              }
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "count()"
                },
                "properties": [
                  {
                    "id": "custom.width",
                    "value": 83
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "cliIP"
                },
                "properties": [
                  {
                    "id": "links",
                    "value": [
                      {
                        "targetBlank": false,
                        "title": "Show Details",
                        "url": "/d/Pj8HEyd4l-CMCD/akamai-observability-cmcd?${AND_statusCode:queryparam}﻿&﻿${statusCode:queryparam}﻿&﻿${AND_cacheStatus:queryparam}﻿&﻿${cacheStatus:queryparam}﻿&﻿${AND_reqHost:queryparam}﻿&﻿${reqHost:queryparam}﻿&﻿${AND_reqMethod:queryparam}﻿&﻿${reqMethod:queryparam}﻿&﻿${AND_UA:queryparam}﻿&﻿${UA:queryparam}﻿&﻿${AND_rspContentType:queryparam}﻿&﻿${rspContentType:queryparam}﻿&﻿${AND_errorCode:queryparam}﻿&﻿${errorCode:queryparam}﻿﻿&﻿${AND_reqPath:queryparam}﻿&${reqPath:queryparam}&${AND_cliIP:queryparam}&var-cliIP=${__data.fields.cliIP}&${edge_response_time_percentile:queryparam}&${metric_name:queryparam}&${metric_filter:queryparam}&${metric_value:queryparam}&${__url_time_range}&${AND_cmcd_session_id:queryparam}&${cmcd_session_id:queryparam}"
                      }
                    ]
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 8,
            "w": 12,
            "x": 12,
            "y": 25
          },
          "id": 7,
          "options": {
            "cellHeight": "sm",
            "footer": {
              "countRows": false,
              "fields": "",
              "reducer": [
                "sum"
              ],
              "show": false
            },
            "showHeader": true,
            "sortBy": []
          },
          "pluginVersion": "9.5.1",
          "targets": [
            {
              "datasource": {
                "type": "grafana-clickhouse-datasource",
                "uid": "${DS_HYDRO}"
              },
              "meta": {
                "builderOptions": {
                  "fields": [],
                  "limit": 100,
                  "mode": "list"
                }
              },
              "queryType": "sql",
              "rawSql": "SELECT\ncount(),\ncliIP\nFROM ${table}\nWHERE $__timeFilter(reqTimeSec)\nAND $__conditionalAll( statusCode $AND_statusCode (${statusCode}), $statusCode)\nAND $__conditionalAll( reqHost ${AND_reqHost} (${reqHost}), $reqHost)\nAND $__conditionalAll( cacheStatus ${AND_cacheStatus} (${cacheStatus}), $cacheStatus)\nAND $__conditionalAll( reqMethod ${AND_reqMethod} (${reqMethod}), $reqMethod)\nAND $__conditionalAll( rspContentType ${AND_rspContentType} (${rspContentType}), $rspContentType)\nAND $__conditionalAll( errorCode ${AND_errorCode} (${errorCode}), $errorCode)\nAND $__conditionalAll( transferTimeMSec >= ${transferTimeMSec_percentile}, $transferTimeMSec_percentile)\nAND $__conditionalAll(${metric_name} ${metric_filter} ${metric_value}, $metric_filter)\nAND if ('${reqPath:text}' = '', true, reqPath ${AND_reqPath} '%${reqPath:text}%')\nAND if ('${cliIP:text}' = '', true, cliIP ${AND_cliIP} '${cliIP:text}')\nAND if ('${UA:text}' = '', true, UA ${AND_UA} '${UA:text}')\nAND if ('${cmcd_session_id:text}' = '', true, cmcd_session_id ${AND_cmcd_session_id} '${cmcd_session_id:text}')\nGROUP BY cliIP ORDER BY count() DESC\nLIMIT 50\nSETTINGS hdx_query_max_execution_time=60, hdx_query_admin_comment='akamai - topIP - ${__user.login}'",
              "refId": "A"
            }
          ],
          "title": "Top 50 IP",
          "type": "table"
        },
        {
          "datasource": {
            "type": "grafana-clickhouse-datasource",
            "uid": "${DS_HYDRO}"
          },
          "description": "The time in milliseconds from when the edge server is ready to send the first byte of the response to when the last byte reaches the kernel.",
          "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",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "ms"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 8,
            "w": 12,
            "x": 0,
            "y": 33
          },
          "id": 20,
          "options": {
            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "single",
              "sort": "none"
            }
          },
          "targets": [
            {
              "datasource": {
                "type": "grafana-clickhouse-datasource",
                "uid": "${DS_HYDRO}"
              },
              "meta": {
                "builderOptions": {
                  "fields": [],
                  "limit": 100,
                  "mode": "list"
                }
              },
              "queryType": "sql",
              "rawSql": "SELECT $__timeInterval(reqTimeSec) as time,\nquantile(0.25)(transferTimeMSec) as 25th,\nquantile(0.5)(transferTimeMSec) as 50th,\nquantile(0.75)(transferTimeMSec) as 75th,\nquantile(0.9)(transferTimeMSec) as 90th,\nquantile(0.95)(transferTimeMSec) as 95th,\nquantile(0.99)(transferTimeMSec) as 99th\nFROM ${table}\nWHERE $__timeFilter(reqTimeSec)\nAND $__conditionalAll( statusCode $AND_statusCode (${statusCode}), $statusCode)\nAND $__conditionalAll( reqHost ${AND_reqHost} (${reqHost}), $reqHost)\nAND $__conditionalAll( cacheStatus ${AND_cacheStatus} (${cacheStatus}), $cacheStatus)\nAND $__conditionalAll( reqMethod ${AND_reqMethod} (${reqMethod}), $reqMethod)\nAND $__conditionalAll( rspContentType ${AND_rspContentType} (${rspContentType}), $rspContentType)\nAND $__conditionalAll( errorCode ${AND_errorCode} (${errorCode}), $errorCode)\nAND $__conditionalAll( transferTimeMSec >= ${transferTimeMSec_percentile}, $transferTimeMSec_percentile)\nAND $__conditionalAll(${metric_name} ${metric_filter} ${metric_value}, $metric_filter)\nAND if ('${reqPath:text}' = '', true, reqPath ${AND_reqPath} '%${reqPath:text}%')\nAND if ('${cliIP:text}' = '', true, cliIP ${AND_cliIP} '${cliIP:text}')\nAND if ('${UA:text}' = '', true, UA ${AND_UA} '${UA:text}')\nAND if ('${cmcd_session_id:text}' = '', true, cmcd_session_id ${AND_cmcd_session_id} '${cmcd_session_id:text}')\nGROUP BY time ORDER BY time\nSETTINGS hdx_query_max_execution_time=60, hdx_query_admin_comment='akamai - bytes - ${__user.login}'",
              "refId": "A"
            }
          ],
          "title": "Edge TransferTime",
          "type": "timeseries"
        },
        {
          "datasource": {
            "type": "grafana-clickhouse-datasource",
            "uid": "${DS_HYDRO}"
          },
          "description": "The time in milliseconds from when the edge server receives the last byte of the request to when it sends the first bytes of the response.\n",
          "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",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "ms"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 8,
            "w": 12,
            "x": 12,
            "y": 33
          },
          "id": 21,
          "options": {
            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "single",
              "sort": "none"
            }
          },
          "targets": [
            {
              "datasource": {
                "type": "grafana-clickhouse-datasource",
                "uid": "${DS_HYDRO}"
              },
              "meta": {
                "builderOptions": {
                  "fields": [],
                  "limit": 100,
                  "mode": "list"
                }
              },
              "queryType": "sql",
              "rawSql": "SELECT $__timeInterval(reqTimeSec) as time,\nquantile(0.25)(turnAroundTimeMSec) as 25th,\nquantile(0.5)(turnAroundTimeMSec) as 50th,\nquantile(0.75)(turnAroundTimeMSec) as 75th,\nquantile(0.9)(turnAroundTimeMSec) as 90th,\nquantile(0.95)(turnAroundTimeMSec) as 95th,\nquantile(0.99)(turnAroundTimeMSec) as 99th\nFROM ${table}\nWHERE $__timeFilter(reqTimeSec)\nAND $__conditionalAll( statusCode $AND_statusCode (${statusCode}), $statusCode)\nAND $__conditionalAll( reqHost ${AND_reqHost} (${reqHost}), $reqHost)\nAND $__conditionalAll( cacheStatus ${AND_cacheStatus} (${cacheStatus}), $cacheStatus)\nAND $__conditionalAll( reqMethod ${AND_reqMethod} (${reqMethod}), $reqMethod)\nAND $__conditionalAll( rspContentType ${AND_rspContentType} (${rspContentType}), $rspContentType)\nAND $__conditionalAll( errorCode ${AND_errorCode} (${errorCode}), $errorCode)\nAND $__conditionalAll( transferTimeMSec >= ${transferTimeMSec_percentile}, $transferTimeMSec_percentile)\nAND $__conditionalAll(${metric_name} ${metric_filter} ${metric_value}, $metric_filter)\nAND if ('${reqPath:text}' = '', true, reqPath ${AND_reqPath} '%${reqPath:text}%')\nAND if ('${cliIP:text}' = '', true, cliIP ${AND_cliIP} '${cliIP:text}')\nAND if ('${UA:text}' = '', true, UA ${AND_UA} '${UA:text}')\nAND if ('${cmcd_session_id:text}' = '', true, cmcd_session_id ${AND_cmcd_session_id} '${cmcd_session_id:text}')\nGROUP BY time ORDER BY time\nSETTINGS hdx_query_max_execution_time=60, hdx_query_admin_comment='akamai - bytes - ${__user.login}'",
              "refId": "A"
            }
          ],
          "title": "Edge Turn Around Time",
          "type": "timeseries"
        }
      ],
      "title": "Standard CDN",
      "type": "row"
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 1
      },
      "id": 23,
      "panels": [],
      "title": "CMCD",
      "type": "row"
    },
    {
      "datasource": {
        "type": "grafana-clickhouse-datasource",
        "uid": "${DS_HYDRO}"
      },
      "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",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 2
      },
      "id": 22,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "grafana-clickhouse-datasource",
            "uid": "${DS_HYDRO}"
          },
          "meta": {
            "builderOptions": {
              "fields": [],
              "limit": 100,
              "mode": "list"
            }
          },
          "queryType": "sql",
          "rawSql": "SELECT uniq(cmcd_session_id), $__timeInterval(reqTimeSec) as time\nFROM akamai.logs\nWHERE $__timeFilter(reqTimeSec)\nAND $__conditionalAll( statusCode $AND_statusCode (${statusCode}), $statusCode)\nAND $__conditionalAll( reqHost ${AND_reqHost} (${reqHost}), $reqHost)\nAND $__conditionalAll( cacheStatus ${AND_cacheStatus} (${cacheStatus}), $cacheStatus)\nAND $__conditionalAll( reqMethod ${AND_reqMethod} (${reqMethod}), $reqMethod)\nAND $__conditionalAll( rspContentType ${AND_rspContentType} (${rspContentType}), $rspContentType)\nAND $__conditionalAll( errorCode ${AND_errorCode} (${errorCode}), $errorCode)\nAND $__conditionalAll( transferTimeMSec >= ${transferTimeMSec_percentile}, $transferTimeMSec_percentile)\nAND $__conditionalAll(${metric_name} ${metric_filter} ${metric_value}, $metric_filter)\nAND if ('${reqPath:text}' = '', true, reqPath ${AND_reqPath} '%${reqPath:text}%')\nAND if ('${cliIP:text}' = '', true, cliIP ${AND_cliIP} '${cliIP:text}')\nAND if ('${UA:text}' = '', true, UA ${AND_UA} '${UA:text}')\nAND if ('${cmcd_session_id:text}' = '', true, cmcd_session_id ${AND_cmcd_session_id} '${cmcd_session_id:text}')\nGROUP BY time ORDER BY time\nSETTINGS hdx_query_max_execution_time=60, hdx_query_admin_comment='akamai - statuscode - ${__user.login}'",
          "refId": "A"
        }
      ],
      "title": "Uniq SessionID",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "grafana-clickhouse-datasource",
        "uid": "${DS_HYDRO}"
      },
      "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",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "percent"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 12,
        "y": 2
      },
      "id": 27,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "grafana-clickhouse-datasource",
            "uid": "${DS_HYDRO}"
          },
          "hide": false,
          "meta": {
            "builderOptions": {
              "fields": [],
              "limit": 100,
              "mode": "list"
            }
          },
          "queryType": "sql",
          "rawSql": "SELECT $__timeInterval(reqTimeSec) as time,\nuniqIf(cmcd_session_id, cmcd_encoded_bitrate < cmcd_top_bitrate)/uniq(cmcd_session_id) * 100 as \"session_with_low_bitrate\"\nFROM ${table}\nWHERE $__timeFilter(reqTimeSec)\nAND $__conditionalAll( statusCode $AND_statusCode (${statusCode}), $statusCode)\nAND $__conditionalAll( reqHost ${AND_reqHost} (${reqHost}), $reqHost)\nAND $__conditionalAll( cacheStatus ${AND_cacheStatus} (${cacheStatus}), $cacheStatus)\nAND $__conditionalAll( reqMethod ${AND_reqMethod} (${reqMethod}), $reqMethod)\nAND $__conditionalAll( rspContentType ${AND_rspContentType} (${rspContentType}), $rspContentType)\nAND $__conditionalAll( errorCode ${AND_errorCode} (${errorCode}), $errorCode)\nAND $__conditionalAll( transferTimeMSec >= ${transferTimeMSec_percentile}, $transferTimeMSec_percentile)\nAND $__conditionalAll(${metric_name} ${metric_filter} ${metric_value}, $metric_filter)\nAND if ('${reqPath:text}' = '', true, reqPath ${AND_reqPath} '%${reqPath:text}%')\nAND if ('${cliIP:text}' = '', true, cliIP ${AND_cliIP} '${cliIP:text}')\nAND if ('${UA:text}' = '', true, UA ${AND_UA} '${UA:text}')\nAND if ('${cmcd_session_id:text}' = '', true, cmcd_session_id ${AND_cmcd_session_id} '${cmcd_session_id:text}')\nGROUP BY time ORDER BY time\nSETTINGS hdx_query_max_execution_time=60, hdx_query_admin_comment='akamai - statuscode - ${__user.login}'",
          "refId": "A"
        }
      ],
      "title": "% Session not playing top bitrate",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "grafana-clickhouse-datasource",
        "uid": "${DS_HYDRO}"
      },
      "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",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "Kbits"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 10
      },
      "id": 25,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "grafana-clickhouse-datasource",
            "uid": "${DS_HYDRO}"
          },
          "meta": {
            "builderOptions": {
              "fields": [],
              "limit": 100,
              "mode": "list"
            }
          },
          "queryType": "sql",
          "rawSql": "SELECT avg(cmcd_measured_throughput), $__timeInterval(reqTimeSec) as time\nFROM ${table}\nWHERE $__timeFilter(reqTimeSec)\nAND $__conditionalAll( statusCode $AND_statusCode (${statusCode}), $statusCode)\nAND $__conditionalAll( reqHost ${AND_reqHost} (${reqHost}), $reqHost)\nAND $__conditionalAll( cacheStatus ${AND_cacheStatus} (${cacheStatus}), $cacheStatus)\nAND $__conditionalAll( reqMethod ${AND_reqMethod} (${reqMethod}), $reqMethod)\nAND $__conditionalAll( rspContentType ${AND_rspContentType} (${rspContentType}), $rspContentType)\nAND $__conditionalAll( errorCode ${AND_errorCode} (${errorCode}), $errorCode)\nAND $__conditionalAll( transferTimeMSec >= ${transferTimeMSec_percentile}, $transferTimeMSec_percentile)\nAND $__conditionalAll(${metric_name} ${metric_filter} ${metric_value}, $metric_filter)\nAND if ('${reqPath:text}' = '', true, reqPath ${AND_reqPath} '%${reqPath:text}%')\nAND if ('${cliIP:text}' = '', true, cliIP ${AND_cliIP} '${cliIP:text}')\nAND if ('${UA:text}' = '', true, UA ${AND_UA} '${UA:text}')\nAND if ('${cmcd_session_id:text}' = '', true, cmcd_session_id ${AND_cmcd_session_id} '${cmcd_session_id:text}')\nGROUP BY time ORDER BY time\nSETTINGS hdx_query_max_execution_time=60, hdx_query_admin_comment='akamai - statuscode - ${__user.login}'",
          "refId": "A"
        }
      ],
      "title": "Avg Thoughput",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "grafana-clickhouse-datasource",
        "uid": "${DS_HYDRO}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "auto",
            "cellOptions": {
              "type": "auto"
            },
            "inspect": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "count()"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 83
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "cmcd_session_id"
            },
            "properties": [
              {
                "id": "links",
                "value": [
                  {
                    "title": "Filter",
                    "url": "/d/Pj8HEyd4l-CMCD/akamai-observability-cmcd?var-cmcd_session_id=${__data.fields.cmcd_session_id}﻿&﻿${AND_statusCode:queryparam}﻿﻿&﻿﻿${statusCode:queryparam}﻿﻿&﻿﻿${AND_cacheStatus:queryparam}﻿﻿&﻿﻿${cacheStatus:queryparam}﻿﻿&﻿﻿${AND_reqHost:queryparam}﻿﻿&﻿﻿${reqHost:queryparam}﻿﻿&﻿﻿${AND_reqMethod:queryparam}﻿﻿&﻿﻿${reqMethod:queryparam}﻿﻿&﻿﻿${AND_UA:queryparam}﻿﻿&﻿﻿${UA:queryparam}﻿﻿&﻿﻿${AND_rspContentType:queryparam}﻿﻿&﻿﻿${rspContentType:queryparam}﻿﻿&﻿﻿${AND_errorCode:queryparam}﻿﻿&﻿﻿${errorCode:queryparam}﻿﻿﻿&﻿﻿${AND_reqPath:queryparam}﻿﻿&﻿${reqPath:queryparam}﻿&﻿${AND_cliIP:queryparam}﻿&﻿${cliIP:queryparam}﻿&﻿${edge_response_time_percentile:queryparam}﻿&﻿${metric_name:queryparam}﻿&﻿${metric_filter:queryparam}﻿&﻿${metric_value:queryparam}﻿&﻿${__url_time_range}﻿&﻿${AND_cmcd_session_id:queryparam}"
                  }
                ]
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 12,
        "y": 10
      },
      "id": 29,
      "options": {
        "cellHeight": "sm",
        "footer": {
          "countRows": false,
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "showHeader": true,
        "sortBy": []
      },
      "pluginVersion": "9.5.1",
      "targets": [
        {
          "datasource": {
            "type": "grafana-clickhouse-datasource",
            "uid": "${DS_HYDRO}"
          },
          "meta": {
            "builderOptions": {
              "fields": [],
              "limit": 100,
              "mode": "list"
            }
          },
          "queryType": "sql",
          "rawSql": "SELECT\ncount(),\ncmcd_session_id\nFROM ${table}\nWHERE $__timeFilter(reqTimeSec)\nAND $__conditionalAll( statusCode $AND_statusCode (${statusCode}), $statusCode)\nAND $__conditionalAll( reqHost ${AND_reqHost} (${reqHost}), $reqHost)\nAND $__conditionalAll( cacheStatus ${AND_cacheStatus} (${cacheStatus}), $cacheStatus)\nAND $__conditionalAll( reqMethod ${AND_reqMethod} (${reqMethod}), $reqMethod)\nAND $__conditionalAll( rspContentType ${AND_rspContentType} (${rspContentType}), $rspContentType)\nAND $__conditionalAll( errorCode ${AND_errorCode} (${errorCode}), $errorCode)\nAND $__conditionalAll( transferTimeMSec >= ${transferTimeMSec_percentile}, $transferTimeMSec_percentile)\nAND $__conditionalAll(${metric_name} ${metric_filter} ${metric_value}, $metric_filter)\nAND if ('${reqPath:text}' = '', true, reqPath ${AND_reqPath} '%${reqPath:text}%')\nAND if ('${cliIP:text}' = '', true, cliIP ${AND_cliIP} '${cliIP:text}')\nAND if ('${UA:text}' = '', true, UA ${AND_UA} '${UA:text}')\nAND if ('${cmcd_session_id:text}' = '', true, cmcd_session_id ${AND_cmcd_session_id} '${cmcd_session_id:text}')\nGROUP BY cmcd_session_id ORDER BY count() DESC\nLIMIT 50\nSETTINGS hdx_query_max_execution_time=60, hdx_query_admin_comment='akamai - topUA - ${__user.login}'",
          "refId": "A"
        }
      ],
      "title": "Top 50 Session ID",
      "type": "table"
    },
    {
      "datasource": {
        "type": "grafana-clickhouse-datasource",
        "uid": "${DS_HYDRO}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            }
          },
          "mappings": []
        },
        "overrides": [
          {
            "__systemRef": "hideSeriesFrom",
            "matcher": {
              "id": "byNames",
              "options": {
                "mode": "exclude",
                "names": [
                  "count()",
                  "rspContentType",
                  "application/rss+xml",
                  "4000"
                ],
                "prefix": "All except:",
                "readOnly": true
              }
            },
            "properties": [
              {
                "id": "custom.hideFrom",
                "value": {
                  "legend": false,
                  "tooltip": false,
                  "viz": true
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 18
      },
      "id": 31,
      "options": {
        "legend": {
          "displayMode": "table",
          "placement": "right",
          "showLegend": true,
          "values": [
            "value",
            "percent"
          ]
        },
        "pieType": "pie",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "/^count\\(\\)$/",
          "values": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "pluginVersion": "9.2.1",
      "targets": [
        {
          "datasource": {
            "type": "grafana-clickhouse-datasource",
            "uid": "${DS_HYDRO}"
          },
          "meta": {
            "builderOptions": {
              "fields": [],
              "limit": 100,
              "mode": "list"
            }
          },
          "queryType": "sql",
          "rawSql": "SELECT\ncount(),\ncmcd_encoded_bitrate::String\nFROM ${table}\nWHERE $__timeFilter(reqTimeSec)\nAND cmcd_encoded_bitrate IS not NULL\nAND $__conditionalAll( statusCode $AND_statusCode (${statusCode}), $statusCode)\nAND $__conditionalAll( reqHost ${AND_reqHost} (${reqHost}), $reqHost)\nAND $__conditionalAll( cacheStatus ${AND_cacheStatus} (${cacheStatus}), $cacheStatus)\nAND $__conditionalAll( reqMethod ${AND_reqMethod} (${reqMethod}), $reqMethod)\nAND $__conditionalAll( rspContentType ${AND_rspContentType} (${rspContentType}), $rspContentType)\nAND $__conditionalAll( errorCode ${AND_errorCode} (${errorCode}), $errorCode)\nAND $__conditionalAll( transferTimeMSec >= ${transferTimeMSec_percentile}, $transferTimeMSec_percentile)\nAND $__conditionalAll(${metric_name} ${metric_filter} ${metric_value}, $metric_filter)\nAND if ('${reqPath:text}' = '', true, reqPath ${AND_reqPath} '%${reqPath:text}%')\nAND if ('${cliIP:text}' = '', true, cliIP ${AND_cliIP} '${cliIP:text}')\nAND if ('${UA:text}' = '', true, UA ${AND_UA} '${UA:text}')\nAND if ('${cmcd_session_id:text}' = '', true, cmcd_session_id ${AND_cmcd_session_id} '${cmcd_session_id:text}')\nGROUP BY cmcd_encoded_bitrate ORDER BY count() DESC\nSETTINGS hdx_query_max_execution_time=60, hdx_query_admin_comment='akamai - content_type - ${__user.login}'",
          "refId": "A"
        }
      ],
      "title": "Request Per Bitrate",
      "type": "piechart"
    },
    {
      "datasource": {
        "type": "grafana-clickhouse-datasource",
        "uid": "${DS_HYDRO}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            }
          },
          "mappings": []
        },
        "overrides": [
          {
            "__systemRef": "hideSeriesFrom",
            "matcher": {
              "id": "byNames",
              "options": {
                "mode": "exclude",
                "names": [
                  "count()",
                  "rspContentType",
                  "application/rss+xml"
                ],
                "prefix": "All except:",
                "readOnly": true
              }
            },
            "properties": [
              {
                "id": "custom.hideFrom",
                "value": {
                  "legend": false,
                  "tooltip": false,
                  "viz": true
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 12,
        "y": 18
      },
      "id": 33,
      "options": {
        "legend": {
          "displayMode": "table",
          "placement": "right",
          "showLegend": true,
          "values": [
            "value",
            "percent"
          ]
        },
        "pieType": "pie",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "/^count\\(\\)$/",
          "values": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "pluginVersion": "9.2.1",
      "targets": [
        {
          "datasource": {
            "type": "grafana-clickhouse-datasource",
            "uid": "${DS_HYDRO}"
          },
          "meta": {
            "builderOptions": {
              "fields": [],
              "limit": 100,
              "mode": "list"
            }
          },
          "queryType": "sql",
          "rawSql": "SELECT\ncount(),\ncmcd_object_type\nFROM ${table}\nWHERE $__timeFilter(reqTimeSec)\nAND cmcd_object_type IS not NULL\nAND $__conditionalAll( statusCode $AND_statusCode (${statusCode}), $statusCode)\nAND $__conditionalAll( reqHost ${AND_reqHost} (${reqHost}), $reqHost)\nAND $__conditionalAll( cacheStatus ${AND_cacheStatus} (${cacheStatus}), $cacheStatus)\nAND $__conditionalAll( reqMethod ${AND_reqMethod} (${reqMethod}), $reqMethod)\nAND $__conditionalAll( rspContentType ${AND_rspContentType} (${rspContentType}), $rspContentType)\nAND $__conditionalAll( errorCode ${AND_errorCode} (${errorCode}), $errorCode)\nAND $__conditionalAll( transferTimeMSec >= ${transferTimeMSec_percentile}, $transferTimeMSec_percentile)\nAND $__conditionalAll(${metric_name} ${metric_filter} ${metric_value}, $metric_filter)\nAND if ('${reqPath:text}' = '', true, reqPath ${AND_reqPath} '%${reqPath:text}%')\nAND if ('${cliIP:text}' = '', true, cliIP ${AND_cliIP} '${cliIP:text}')\nAND if ('${UA:text}' = '', true, UA ${AND_UA} '${UA:text}')\nAND if ('${cmcd_session_id:text}' = '', true, cmcd_session_id ${AND_cmcd_session_id} '${cmcd_session_id:text}')\nGROUP BY cmcd_object_type ORDER BY count() DESC\nSETTINGS hdx_query_max_execution_time=60, hdx_query_admin_comment='akamai - content_type - ${__user.login}'",
          "refId": "A"
        }
      ],
      "title": "CMCD Object Type",
      "type": "piechart"
    },
    {
      "datasource": {
        "type": "grafana-clickhouse-datasource",
        "uid": "${DS_HYDRO}"
      },
      "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",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 24,
        "x": 0,
        "y": 26
      },
      "id": 35,
      "options": {
        "legend": {
          "calcs": [
            "sum",
            "mean"
          ],
          "displayMode": "table",
          "placement": "bottom",
          "showLegend": true,
          "sortBy": "Total",
          "sortDesc": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "grafana-clickhouse-datasource",
            "uid": "${DS_HYDRO}"
          },
          "meta": {
            "builderOptions": {
              "fields": [],
              "limit": 100,
              "mode": "list"
            }
          },
          "queryType": "sql",
          "rawSql": "SELECT uniq(cmcd_session_id) as session, $__timeInterval(reqTimeSec) as time, toString(cmcd_encoded_bitrate) as bitrate\nFROM ${table}\nWHERE $__timeFilter(reqTimeSec)\nAND cmcd_object_type = 'video_only'\nAND $__conditionalAll( statusCode $AND_statusCode (${statusCode}), $statusCode)\nAND $__conditionalAll( reqHost ${AND_reqHost} (${reqHost}), $reqHost)\nAND $__conditionalAll( cacheStatus ${AND_cacheStatus} (${cacheStatus}), $cacheStatus)\nAND $__conditionalAll( reqMethod ${AND_reqMethod} (${reqMethod}), $reqMethod)\nAND $__conditionalAll( rspContentType ${AND_rspContentType} (${rspContentType}), $rspContentType)\nAND $__conditionalAll( errorCode ${AND_errorCode} (${errorCode}), $errorCode)\nAND $__conditionalAll( transferTimeMSec >= ${transferTimeMSec_percentile}, $transferTimeMSec_percentile)\nAND $__conditionalAll(${metric_name} ${metric_filter} ${metric_value}, $metric_filter)\nAND if ('${reqPath:text}' = '', true, reqPath ${AND_reqPath} '%${reqPath:text}%')\nAND if ('${cliIP:text}' = '', true, cliIP ${AND_cliIP} '${cliIP:text}')\nAND if ('${UA:text}' = '', true, UA ${AND_UA} '${UA:text}')\nAND if ('${cmcd_session_id:text}' = '', true, cmcd_session_id ${AND_cmcd_session_id} '${cmcd_session_id:text}')\nGROUP BY time, toString(cmcd_encoded_bitrate) ORDER BY time\nSETTINGS hdx_query_max_execution_time=60, hdx_query_admin_comment='akamai - statuscode - ${__user.login}'",
          "refId": "A"
        }
      ],
      "title": "Uniq SessionID per bitrate",
      "type": "timeseries"
    },
    {
      "collapsed": true,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 34
      },
      "id": 14,
      "panels": [
        {
          "datasource": {
            "type": "grafana-clickhouse-datasource",
            "uid": "${DS_HYDRO}"
          },
          "gridPos": {
            "h": 16,
            "w": 24,
            "x": 0,
            "y": 74
          },
          "id": 12,
          "options": {
            "dedupStrategy": "none",
            "enableLogDetails": true,
            "prettifyLogMessage": false,
            "showCommonLabels": false,
            "showLabels": false,
            "showTime": false,
            "sortOrder": "Descending",
            "wrapLogMessage": false
          },
          "targets": [
            {
              "datasource": {
                "type": "grafana-clickhouse-datasource",
                "uid": "${DS_HYDRO}"
              },
              "format": 2,
              "meta": {
                "builderOptions": {
                  "fields": [],
                  "limit": 100,
                  "mode": "list"
                }
              },
              "queryType": "sql",
              "rawSql": "SELECT statusCode::String, * EXCEPT statusCode\nFROM ${table}\nWHERE $__timeFilter(reqTimeSec)\nAND $__conditionalAll( statusCode $AND_statusCode (${statusCode}), $statusCode)\nAND $__conditionalAll( reqHost ${AND_reqHost} (${reqHost}), $reqHost)\nAND $__conditionalAll( cacheStatus ${AND_cacheStatus} (${cacheStatus}), $cacheStatus)\nAND $__conditionalAll( reqMethod ${AND_reqMethod} (${reqMethod}), $reqMethod)\nAND $__conditionalAll( rspContentType ${AND_rspContentType} (${rspContentType}), $rspContentType)\nAND $__conditionalAll( errorCode ${AND_errorCode} (${errorCode}), $errorCode)\nAND $__conditionalAll( transferTimeMSec >= ${transferTimeMSec_percentile}, $transferTimeMSec_percentile)\nAND $__conditionalAll(${metric_name} ${metric_filter} ${metric_value}, $metric_filter)\nAND if ('${reqPath:text}' = '', true, reqPath ${AND_reqPath} '%${reqPath:text}%')\nAND if ('${cliIP:text}' = '', true, cliIP ${AND_cliIP} '${cliIP:text}')\nAND if ('${UA:text}' = '', true, UA ${AND_UA} '${UA:text}')\nAND if ('${cmcd_session_id:text}' = '', true, cmcd_session_id ${AND_cmcd_session_id} '${cmcd_session_id:text}')\nORDER BY reqTimeSec\nLIMIT 500\nSETTINGS hdx_query_max_execution_time=60, hdx_query_admin_comment='akamai - rawlogs - ${__user.login}'",
              "refId": "A",
              "selectedFormat": 2
            }
          ],
          "title": "Raw Logs",
          "type": "logs"
        }
      ],
      "title": "Raw Logs",
      "type": "row"
    }
  ],
  "refresh": "30s",
  "revision": 1,
  "schemaVersion": 38,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "current": {
          "selected": false,
          "text": "include",
          "value": "IN"
        },
        "description": "",
        "hide": 1,
        "includeAll": false,
        "label": "",
        "multi": false,
        "name": "AND_statusCode",
        "options": [
          {
            "selected": true,
            "text": "include",
            "value": "IN"
          },
          {
            "selected": false,
            "text": "exclude",
            "value": "NOT IN"
          }
        ],
        "query": "include : IN, exclude : NOT IN",
        "queryValue": "",
        "skipUrlSync": false,
        "type": "custom"
      },
      {
        "current": {
          "selected": false,
          "text": [
            "All"
          ],
          "value": [
            "$__all"
          ]
        },
        "hide": 0,
        "includeAll": true,
        "label": "HTTP Status Code",
        "multi": true,
        "name": "statusCode",
        "options": [
          {
            "selected": true,
            "text": "All",
            "value": "$__all"
          },
          {
            "selected": false,
            "text": "200",
            "value": "200"
          },
          {
            "selected": false,
            "text": "201",
            "value": "201"
          },
          {
            "selected": false,
            "text": "202",
            "value": "202"
          },
          {
            "selected": false,
            "text": "204",
            "value": "204"
          },
          {
            "selected": false,
            "text": "205",
            "value": "205"
          },
          {
            "selected": false,
            "text": "206",
            "value": "206"
          },
          {
            "selected": false,
            "text": "301",
            "value": "301"
          },
          {
            "selected": false,
            "text": "302",
            "value": "302"
          },
          {
            "selected": false,
            "text": "304",
            "value": "304"
          },
          {
            "selected": false,
            "text": "307",
            "value": "307"
          },
          {
            "selected": false,
            "text": "308",
            "value": "308"
          },
          {
            "selected": false,
            "text": "400",
            "value": "400"
          },
          {
            "selected": false,
            "text": "401",
            "value": "401"
          },
          {
            "selected": false,
            "text": "403",
            "value": "403"
          },
          {
            "selected": false,
            "text": "404",
            "value": "404"
          },
          {
            "selected": false,
            "text": "405",
            "value": "405"
          },
          {
            "selected": false,
            "text": "406",
            "value": "406"
          },
          {
            "selected": false,
            "text": "408",
            "value": "408"
          },
          {
            "selected": false,
            "text": "409",
            "value": "409"
          },
          {
            "selected": false,
            "text": "410",
            "value": "410"
          },
          {
            "selected": false,
            "text": "411",
            "value": "411"
          },
          {
            "selected": false,
            "text": "412",
            "value": "412"
          },
          {
            "selected": false,
            "text": "413",
            "value": "413"
          },
          {
            "selected": false,
            "text": "414",
            "value": "414"
          },
          {
            "selected": false,
            "text": "415",
            "value": "415"
          },
          {
            "selected": false,
            "text": "416",
            "value": "416"
          },
          {
            "selected": false,
            "text": "417",
            "value": "417"
          },
          {
            "selected": false,
            "text": "421",
            "value": "421"
          },
          {
            "selected": false,
            "text": "425",
            "value": "425"
          },
          {
            "selected": false,
            "text": "428",
            "value": "428"
          },
          {
            "selected": false,
            "text": "429",
            "value": "429"
          },
          {
            "selected": false,
            "text": "431",
            "value": "431"
          },
          {
            "selected": false,
            "text": "451",
            "value": "451"
          },
          {
            "selected": false,
            "text": "500",
            "value": "500"
          },
          {
            "selected": false,
            "text": "501",
            "value": "501"
          },
          {
            "selected": false,
            "text": "502",
            "value": "502"
          },
          {
            "selected": false,
            "text": "503",
            "value": "503"
          },
          {
            "selected": false,
            "text": "504",
            "value": "504"
          },
          {
            "selected": false,
            "text": "505",
            "value": "505"
          },
          {
            "selected": false,
            "text": "506",
            "value": "506"
          },
          {
            "selected": false,
            "text": "511",
            "value": "511"
          }
        ],
        "query": "200,201,202,204,205,206,301,302,304,307,308,400,401,403,404,405,406,408,409,410,411,412,413,414,415,416,417,421,425,428,429,431,451,500,501,502,503,504,505,506,511",
        "queryValue": "",
        "skipUrlSync": false,
        "type": "custom"
      },
      {
        "current": {
          "selected": false,
          "text": "include",
          "value": "IN"
        },
        "description": "",
        "hide": 1,
        "includeAll": false,
        "label": "",
        "multi": false,
        "name": "AND_cacheStatus",
        "options": [
          {
            "selected": true,
            "text": "include",
            "value": "IN"
          },
          {
            "selected": false,
            "text": "exclude",
            "value": "NOT IN"
          }
        ],
        "query": "include : IN, exclude : NOT IN",
        "queryValue": "",
        "skipUrlSync": false,
        "type": "custom"
      },
      {
        "current": {
          "selected": false,
          "text": "All",
          "value": "$__all"
        },
        "hide": 0,
        "includeAll": true,
        "label": "Cache Status",
        "multi": false,
        "name": "cacheStatus",
        "options": [
          {
            "selected": true,
            "text": "All",
            "value": "$__all"
          },
          {
            "selected": false,
            "text": "true",
            "value": "1"
          },
          {
            "selected": false,
            "text": "false",
            "value": "0"
          }
        ],
        "query": "true : 1, false : 0",
        "queryValue": "",
        "skipUrlSync": false,
        "type": "custom"
      },
      {
        "current": {
          "selected": false,
          "text": "include",
          "value": "IN"
        },
        "description": "",
        "hide": 1,
        "includeAll": false,
        "label": "",
        "multi": false,
        "name": "AND_reqHost",
        "options": [
          {
            "selected": true,
            "text": "include",
            "value": "IN"
          },
          {
            "selected": false,
            "text": "exclude",
            "value": "NOT IN"
          }
        ],
        "query": "include : IN, exclude : NOT IN",
        "queryValue": "",
        "skipUrlSync": false,
        "type": "custom"
      },
      {
        "current": {},
        "datasource": {
          "type": "grafana-clickhouse-datasource",
          "uid": "${DS_HYDRO}"
        },
        "definition": "SELECT reqHost FROM ${table} WHERE $__timeFilter(reqTimeSec) GROUP BY reqHost ORDER BY COUNT() DESC LIMIT 50",
        "hide": 0,
        "includeAll": true,
        "label": "Hostname",
        "multi": true,
        "name": "reqHost",
        "options": [],
        "query": "SELECT reqHost FROM ${table} WHERE $__timeFilter(reqTimeSec) GROUP BY reqHost ORDER BY COUNT() DESC LIMIT 50",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "type": "query"
      },
      {
        "current": {
          "selected": false,
          "text": "include",
          "value": "IN"
        },
        "description": "",
        "hide": 1,
        "includeAll": false,
        "label": "",
        "multi": false,
        "name": "AND_reqMethod",
        "options": [
          {
            "selected": true,
            "text": "include",
            "value": "IN"
          },
          {
            "selected": false,
            "text": "exclude",
            "value": "NOT IN"
          }
        ],
        "query": "include : IN, exclude : NOT IN",
        "queryValue": "",
        "skipUrlSync": false,
        "type": "custom"
      },
      {
        "current": {},
        "datasource": {
          "type": "grafana-clickhouse-datasource",
          "uid": "${DS_HYDRO}"
        },
        "definition": "SELECT reqMethod FROM ${table} WHERE $__timeFilter(reqTimeSec) GROUP BY reqMethod ORDER BY COUNT() DESC LIMIT 50",
        "hide": 0,
        "includeAll": true,
        "label": "Method",
        "multi": true,
        "name": "reqMethod",
        "options": [],
        "query": "SELECT reqMethod FROM ${table} WHERE $__timeFilter(reqTimeSec) GROUP BY reqMethod ORDER BY COUNT() DESC LIMIT 50",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "type": "query"
      },
      {
        "current": {
          "selected": false,
          "text": "include",
          "value": "IN"
        },
        "description": "",
        "hide": 1,
        "includeAll": false,
        "label": "",
        "multi": false,
        "name": "AND_UA",
        "options": [
          {
            "selected": true,
            "text": "include",
            "value": "IN"
          },
          {
            "selected": false,
            "text": "exclude",
            "value": "NOT IN"
          }
        ],
        "query": "include : IN, exclude : NOT IN",
        "queryValue": "",
        "skipUrlSync": false,
        "type": "custom"
      },
      {
        "current": {
          "selected": true,
          "text": "",
          "value": ""
        },
        "hide": 0,
        "label": "User Agent",
        "name": "UA",
        "options": [
          {
            "selected": true,
            "text": "",
            "value": ""
          }
        ],
        "query": "",
        "skipUrlSync": false,
        "type": "textbox"
      },
      {
        "current": {
          "selected": false,
          "text": "include",
          "value": "IN"
        },
        "description": "",
        "hide": 1,
        "includeAll": false,
        "label": "",
        "multi": false,
        "name": "AND_rspContentType",
        "options": [
          {
            "selected": true,
            "text": "include",
            "value": "IN"
          },
          {
            "selected": false,
            "text": "exclude",
            "value": "NOT IN"
          }
        ],
        "query": "include : IN, exclude : NOT IN",
        "queryValue": "",
        "skipUrlSync": false,
        "type": "custom"
      },
      {
        "current": {},
        "datasource": {
          "type": "grafana-clickhouse-datasource",
          "uid": "${DS_HYDRO}"
        },
        "definition": "SELECT rspContentType FROM ${table} WHERE $__timeFilter(reqTimeSec) GROUP BY rspContentType ORDER BY COUNT() DESC LIMIT 50",
        "hide": 0,
        "includeAll": true,
        "label": "Content Type",
        "multi": true,
        "name": "rspContentType",
        "options": [],
        "query": "SELECT rspContentType FROM ${table} WHERE $__timeFilter(reqTimeSec) GROUP BY rspContentType ORDER BY COUNT() DESC LIMIT 50",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "type": "query"
      },
      {
        "current": {
          "selected": false,
          "text": "include",
          "value": "IN"
        },
        "description": "",
        "hide": 1,
        "includeAll": false,
        "label": "",
        "multi": false,
        "name": "AND_errorCode",
        "options": [
          {
            "selected": true,
            "text": "include",
            "value": "IN"
          },
          {
            "selected": false,
            "text": "exclude",
            "value": "NOT IN"
          }
        ],
        "query": "include : IN, exclude : NOT IN",
        "queryValue": "",
        "skipUrlSync": false,
        "type": "custom"
      },
      {
        "current": {},
        "datasource": {
          "type": "grafana-clickhouse-datasource",
          "uid": "${DS_HYDRO}"
        },
        "definition": "SELECT errorCode FROM ${table} WHERE $__timeFilter(reqTimeSec) GROUP BY errorCode ORDER BY COUNT() DESC LIMIT 50",
        "hide": 0,
        "includeAll": true,
        "label": "Error Code",
        "multi": true,
        "name": "errorCode",
        "options": [],
        "query": "SELECT errorCode FROM ${table} WHERE $__timeFilter(reqTimeSec) GROUP BY errorCode ORDER BY COUNT() DESC LIMIT 50",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "type": "query"
      },
      {
        "current": {
          "selected": false,
          "text": "All",
          "value": "$__all"
        },
        "hide": 0,
        "includeAll": true,
        "label": "Edge Response Time Percentile",
        "multi": false,
        "name": "edge_response_time_percentile",
        "options": [
          {
            "selected": true,
            "text": "All",
            "value": "$__all"
          },
          {
            "selected": false,
            "text": "0.5",
            "value": "0.5"
          },
          {
            "selected": false,
            "text": "0.75",
            "value": "0.75"
          },
          {
            "selected": false,
            "text": "0.90",
            "value": "0.90"
          },
          {
            "selected": false,
            "text": "0.95",
            "value": "0.95"
          },
          {
            "selected": false,
            "text": "0.99",
            "value": "0.99"
          }
        ],
        "query": "0.5 , 0.75 , 0.90 , 0.95, 0.99",
        "queryValue": "",
        "skipUrlSync": false,
        "type": "custom"
      },
      {
        "current": {
          "selected": false,
          "text": "include",
          "value": "LIKE"
        },
        "description": "",
        "hide": 1,
        "includeAll": false,
        "label": "",
        "multi": false,
        "name": "AND_reqPath",
        "options": [
          {
            "selected": true,
            "text": "include",
            "value": "LIKE"
          },
          {
            "selected": false,
            "text": "exclude",
            "value": "NOT LIKE"
          }
        ],
        "query": "include : LIKE, exclude : NOT LIKE",
        "queryValue": "",
        "skipUrlSync": false,
        "type": "custom"
      },
      {
        "current": {
          "selected": true,
          "text": "",
          "value": ""
        },
        "hide": 0,
        "label": "Path",
        "name": "reqPath",
        "options": [
          {
            "selected": true,
            "text": "",
            "value": ""
          }
        ],
        "query": "",
        "skipUrlSync": false,
        "type": "textbox"
      },
      {
        "current": {
          "selected": false,
          "text": "include",
          "value": "="
        },
        "description": "",
        "hide": 1,
        "includeAll": false,
        "label": "",
        "multi": false,
        "name": "AND_cliIP",
        "options": [
          {
            "selected": true,
            "text": "include",
            "value": "="
          },
          {
            "selected": false,
            "text": "exclude",
            "value": "!="
          }
        ],
        "query": "include : =, exclude : !=",
        "queryValue": "",
        "skipUrlSync": false,
        "type": "custom"
      },
      {
        "current": {
          "selected": true,
          "text": "",
          "value": ""
        },
        "hide": 0,
        "label": "Client IP",
        "name": "cliIP",
        "options": [
          {
            "selected": true,
            "text": "",
            "value": ""
          }
        ],
        "query": "",
        "skipUrlSync": false,
        "type": "textbox"
      },
      {
        "current": {},
        "datasource": {
          "type": "grafana-clickhouse-datasource",
          "uid": "${DS_HYDRO}"
        },
        "definition": "$__conditionalAll(SELECT quantile(${edge_response_time_percentile})(transferTimeMSec) FROM ${table} WHERE $__timeFilter(reqTimeSec),$edge_response_time_percentile)",
        "hide": 2,
        "includeAll": false,
        "multi": false,
        "name": "transferTimeMSec_percentile",
        "options": [],
        "query": "$__conditionalAll(SELECT quantile(${edge_response_time_percentile})(transferTimeMSec) FROM ${table} WHERE $__timeFilter(reqTimeSec),$edge_response_time_percentile)",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "type": "query"
      },
      {
        "current": {},
        "datasource": {
          "type": "grafana-clickhouse-datasource",
          "uid": "${DS_HYDRO}"
        },
        "definition": "SELECT name\nFROM system.columns\nWHERE database = splitByChar('.', '${table}')[1]\nAND table = splitByChar('.', '${table}')[2]\nAND type IN ('Nullable(UInt8)', 'Nullable(UInt16)', 'Nullable(UInt32)', 'Nullable(UInt64)', 'Nullable(Int8)', 'Nullable(Int16)', 'Nullable(Int32)', 'Nullable(Int64)', 'UInt8', 'UInt16', 'UInt32', 'UInt64', 'Int8', 'Int16', 'Int32', 'Int64', 'Float', 'Nullable(Float)')",
        "hide": 0,
        "includeAll": true,
        "label": "Filter on Metric",
        "multi": false,
        "name": "metric_name",
        "options": [],
        "query": "SELECT name\nFROM system.columns\nWHERE database = splitByChar('.', '${table}')[1]\nAND table = splitByChar('.', '${table}')[2]\nAND type IN ('Nullable(UInt8)', 'Nullable(UInt16)', 'Nullable(UInt32)', 'Nullable(UInt64)', 'Nullable(Int8)', 'Nullable(Int16)', 'Nullable(Int32)', 'Nullable(Int64)', 'UInt8', 'UInt16', 'UInt32', 'UInt64', 'Int8', 'Int16', 'Int32', 'Int64', 'Float', 'Nullable(Float)')",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "type": "query"
      },
      {
        "allValue": "",
        "current": {
          "selected": false,
          "text": "All",
          "value": "$__all"
        },
        "hide": 1,
        "includeAll": true,
        "label": "",
        "multi": false,
        "name": "metric_filter",
        "options": [
          {
            "selected": true,
            "text": "All",
            "value": "$__all"
          },
          {
            "selected": false,
            "text": "<",
            "value": "<"
          },
          {
            "selected": false,
            "text": ">",
            "value": ">"
          },
          {
            "selected": false,
            "text": "<=",
            "value": "<="
          },
          {
            "selected": false,
            "text": ">=",
            "value": ">="
          },
          {
            "selected": false,
            "text": "=",
            "value": "="
          }
        ],
        "query": "<,>, <=, >=,=",
        "queryValue": "",
        "skipUrlSync": false,
        "type": "custom"
      },
      {
        "current": {
          "selected": false,
          "text": "0",
          "value": "0"
        },
        "hide": 1,
        "name": "metric_value",
        "options": [
          {
            "selected": true,
            "text": "",
            "value": ""
          }
        ],
        "query": "0",
        "skipUrlSync": false,
        "type": "textbox"
      },
      {
        "current": {
          "selected": true,
          "text": "include",
          "value": "="
        },
        "description": "",
        "hide": 1,
        "includeAll": false,
        "label": "",
        "multi": false,
        "name": "AND_cmcd_session_id",
        "options": [
          {
            "selected": true,
            "text": "include",
            "value": "="
          },
          {
            "selected": false,
            "text": "exclude",
            "value": "!="
          }
        ],
        "query": "include : =, exclude : !=",
        "queryValue": "",
        "skipUrlSync": false,
        "type": "custom"
      },
      {
        "current": {
          "selected": false,
          "text": "",
          "value": ""
        },
        "hide": 0,
        "label": "Session ID",
        "name": "cmcd_session_id",
        "options": [
          {
            "selected": true,
            "text": "",
            "value": ""
          }
        ],
        "query": "",
        "skipUrlSync": false,
        "type": "textbox"
      },
      {
        "hide": 2,
        "name": "table",
        "query": "${VAR_TABLE}",
        "skipUrlSync": false,
        "type": "constant",
        "current": {
          "value": "${VAR_TABLE}",
          "text": "${VAR_TABLE}",
          "selected": false
        },
        "options": [
          {
            "value": "${VAR_TABLE}",
            "text": "${VAR_TABLE}",
            "selected": false
          }
        ]
      }
    ]
  },
  "time": {
    "from": "now-1h",
    "to": "now"
  },
  "timepicker": {
    "hidden": false,
    "nowDelay": "1m"
  },
  "timezone": "",
  "title": "Akamai Observability - CMCD",
  "uid": "Pj8HEyd4l-CMCD",
  "version": 20,
  "weekStart": ""
}