console/deployment/grafana-dashboards/CDN-Usage.json

1635 lines
49 KiB
JSON

{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 50,
"links": [],
"panels": [
{
"datasource": {
"type": "vertamedia-clickhouse-datasource",
"uid": "$Subscription"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": 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": 7,
"w": 17,
"x": 0,
"y": 0
},
"id": 12,
"options": {
"legend": {
"calcs": ["mean"],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "11.3.0-74991",
"targets": [
{
"datasource": {
"uid": "$Subscription"
},
"dateTimeColDataType": "timestamp",
"dateTimeType": "DATETIME",
"datetimeLoading": false,
"extrapolate": true,
"format": "time_series",
"formattedQuery": "SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter GROUP BY t ORDER BY t",
"intervalFactor": 1,
"query": "SELECT\n $timeSeries AS t,\n blob1 AS statusCode,\n COUNT() as total\nFROM hive_ha_cdn_response_TABLE_SUFFIX\n\nWHERE $timeFilter\n\nGROUP BY\n statusCode,\n t\nORDER BY t\n",
"rawQuery": "SELECT\n (intDiv(toUInt32(timestamp), 20) * 20) * 1000 AS t,\n blob1 AS statusCode,\n COUNT() as total\nFROM hive_ha_cdn_response_TABLE_SUFFIX\n\nWHERE timestamp >= toDateTime(1694666628) AND timestamp <= toDateTime(1694688228)\n\nGROUP BY\n statusCode,\n t\nORDER BY t",
"refId": "A",
"round": "0s",
"skip_comments": true
}
],
"title": "Requests by status code",
"type": "timeseries"
},
{
"datasource": {
"type": "vertamedia-clickhouse-datasource",
"uid": "$Subscription"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"decimals": 2,
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 7,
"x": 17,
"y": 0
},
"id": 11,
"options": {
"legend": {
"displayMode": "table",
"placement": "right",
"showLegend": true,
"values": ["percent"]
},
"pieType": "pie",
"reduceOptions": {
"calcs": ["mean"],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "11.3.0-74991",
"targets": [
{
"datasource": {
"uid": "$Subscription"
},
"dateTimeColDataType": "timestamp",
"dateTimeType": "DATETIME",
"datetimeLoading": false,
"extrapolate": true,
"format": "time_series",
"formattedQuery": "SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter GROUP BY t ORDER BY t",
"intervalFactor": 1,
"query": "SELECT\n $timeSeries AS t,\n blob1 AS statusCode,\n COUNT() as total\nFROM hive_ha_cdn_response_TABLE_SUFFIX\n\nWHERE $timeFilter\n\nGROUP BY\n statusCode,\n t\nORDER BY t\n",
"rawQuery": "SELECT\n (intDiv(toUInt32(timestamp), 20) * 20) * 1000 AS t,\n blob1 AS statusCode,\n COUNT() as total\nFROM hive_ha_cdn_response_TABLE_SUFFIX\n\nWHERE timestamp >= toDateTime(1694666678) AND timestamp <= toDateTime(1694688278)\n\nGROUP BY\n statusCode,\n t\nORDER BY t",
"refId": "A",
"round": "0s",
"skip_comments": true
}
],
"title": "Response by status code",
"type": "piechart"
},
{
"datasource": {
"type": "vertamedia-clickhouse-datasource",
"uid": "$Subscription"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": 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": 7,
"w": 24,
"x": 0,
"y": 7
},
"id": 16,
"options": {
"legend": {
"calcs": ["mean"],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "11.3.0-74991",
"targets": [
{
"datasource": {
"uid": "$Subscription"
},
"dateTimeColDataType": "timestamp",
"dateTimeType": "DATETIME",
"datetimeLoading": false,
"extrapolate": true,
"format": "time_series",
"formattedQuery": "SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter GROUP BY t ORDER BY t",
"intervalFactor": 1,
"query": "SELECT\n $timeSeries AS t,\n blob1 AS statusCode,\n blob2 as requestPath,\n COUNT() as total\nFROM hive_ha_cdn_response_TABLE_SUFFIX\n\nWHERE $timeFilter\n\nGROUP BY\n statusCode,\n requestPath,\n t\nORDER BY t\n",
"rawQuery": "SELECT\n (intDiv(toUInt32(timestamp), 1) * 1) * 1000 AS t,\n blob1 AS statusCode,\n blob2 as requestPath,\n COUNT() as total\nFROM hive_ha_cdn_response_TABLE_SUFFIX\n\nWHERE timestamp >= toDateTime(1699350434) AND timestamp <= toDateTime(1699350734)\n\nGROUP BY\n statusCode,\n requestPath,\n t\nORDER BY t",
"refId": "A",
"round": "0s",
"skip_comments": true
}
],
"title": "Requests by path and status code",
"type": "timeseries"
},
{
"datasource": {
"type": "vertamedia-clickhouse-datasource",
"uid": "$Subscription"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": 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": 7,
"w": 17,
"x": 0,
"y": 14
},
"id": 14,
"options": {
"legend": {
"calcs": ["mean"],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "11.3.0-74991",
"targets": [
{
"datasource": {
"uid": "$Subscription"
},
"dateTimeColDataType": "timestamp",
"dateTimeType": "DATETIME",
"datetimeLoading": false,
"extrapolate": true,
"format": "time_series",
"formattedQuery": "SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter GROUP BY t ORDER BY t",
"intervalFactor": 1,
"query": "SELECT\n $timeSeries AS t,\n blob1 AS action,\n blob2 AS statusCode,\n COUNT() as total\nFROM hive_ha_cdn_r2_TABLE_SUFFIX\n\nWHERE $timeFilter\n\nGROUP BY\n action,\n statusCode,\n t\nORDER BY t\n",
"rawQuery": "SELECT\n (intDiv(toUInt32(timestamp), 20) * 20) * 1000 AS t,\n blob1 AS action,\n blob2 AS statusCode,\n COUNT() as total\nFROM hive_ha_cdn_r2_TABLE_SUFFIX\n\nWHERE timestamp >= toDateTime(1694666810) AND timestamp <= toDateTime(1694688410)\n\nGROUP BY\n action,\n statusCode,\n t\nORDER BY t",
"refId": "A",
"round": "0s",
"skip_comments": true
}
],
"title": "R2 calls",
"type": "timeseries"
},
{
"datasource": {
"type": "vertamedia-clickhouse-datasource",
"uid": "$Subscription"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"decimals": 2,
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 7,
"x": 17,
"y": 14
},
"id": 15,
"options": {
"legend": {
"displayMode": "table",
"placement": "right",
"showLegend": true,
"values": ["percent"]
},
"pieType": "pie",
"reduceOptions": {
"calcs": ["mean"],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "11.3.0-74991",
"targets": [
{
"datasource": {
"uid": "$Subscription"
},
"dateTimeColDataType": "timestamp",
"dateTimeType": "DATETIME",
"datetimeLoading": false,
"extrapolate": true,
"format": "time_series",
"formattedQuery": "SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter GROUP BY t ORDER BY t",
"intervalFactor": 1,
"query": "SELECT\n $timeSeries AS t,\n blob1 AS action,\n blob2 AS statusCode,\n COUNT() as total\nFROM hive_ha_cdn_r2_TABLE_SUFFIX\n\nWHERE $timeFilter\n\nGROUP BY\n action,\n statusCode,\n t\nORDER BY t\n",
"rawQuery": "SELECT\n (intDiv(toUInt32(timestamp), 20) * 20) * 1000 AS t,\n blob1 AS action,\n blob2 AS statusCode,\n COUNT() as total\nFROM hive_ha_cdn_r2_TABLE_SUFFIX\n\nWHERE timestamp >= toDateTime(1694666815) AND timestamp <= toDateTime(1694688415)\n\nGROUP BY\n action,\n statusCode,\n t\nORDER BY t",
"refId": "A",
"round": "0s",
"skip_comments": true
}
],
"title": "R2 calls",
"type": "piechart"
},
{
"datasource": {
"type": "vertamedia-clickhouse-datasource",
"uid": "$Subscription"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": 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": 7,
"w": 17,
"x": 0,
"y": 21
},
"id": 19,
"options": {
"legend": {
"calcs": ["mean"],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "11.3.0-74991",
"targets": [
{
"add_metadata": true,
"datasource": {
"uid": "$Subscription"
},
"dateTimeColDataType": "timestamp",
"dateTimeType": "DATETIME",
"datetimeLoading": false,
"editorMode": "builder",
"extrapolate": true,
"format": "time_series",
"formattedQuery": "SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter GROUP BY t ORDER BY t",
"interval": "",
"intervalFactor": 1,
"query": "SELECT\n $timeSeries AS t,\n blob1 AS action,\n blob2 AS statusCode,\n COUNT() as total\nFROM hive_ha_cdn_s3_TABLE_SUFFIX\n\nWHERE $timeFilter\n\nGROUP BY\n action,\n statusCode,\n t\nORDER BY t\n",
"rawQuery": "/* grafana dashboard=CDN Usage, user=19 */\nSELECT\n (intDiv(toUInt32(timestamp), 5) * 5) * 1000 AS t,\n blob1 AS action,\n blob2 AS statusCode,\n COUNT() as total\nFROM hive_ha_cdn_s3_TABLE_SUFFIX\n\nWHERE timestamp >= toDateTime(1724917446) AND timestamp <= toDateTime(1724921046)\n\nGROUP BY\n action,\n statusCode,\n t\nORDER BY t",
"refId": "A",
"round": "0s",
"skip_comments": true
}
],
"title": "S3 calls",
"type": "timeseries"
},
{
"datasource": {
"type": "vertamedia-clickhouse-datasource",
"uid": "$Subscription"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"decimals": 2,
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 7,
"x": 17,
"y": 21
},
"id": 20,
"options": {
"legend": {
"displayMode": "table",
"placement": "right",
"showLegend": true,
"values": ["percent"]
},
"pieType": "pie",
"reduceOptions": {
"calcs": ["mean"],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "11.3.0-74991",
"targets": [
{
"add_metadata": true,
"datasource": {
"uid": "$Subscription"
},
"dateTimeColDataType": "timestamp",
"dateTimeType": "DATETIME",
"datetimeLoading": false,
"editorMode": "builder",
"extrapolate": true,
"format": "time_series",
"formattedQuery": "SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter GROUP BY t ORDER BY t",
"interval": "",
"intervalFactor": 1,
"query": "SELECT\n $timeSeries AS t,\n blob1 AS action,\n blob2 AS statusCode,\n COUNT() as total\nFROM hive_ha_cdn_s3_TABLE_SUFFIX\n\nWHERE $timeFilter\n\nGROUP BY\n action,\n statusCode,\n t\nORDER BY t\n",
"rawQuery": "/* grafana dashboard=CDN Usage, user=19 */\nSELECT\n (intDiv(toUInt32(timestamp), 5) * 5) * 1000 AS t,\n blob1 AS action,\n blob2 AS statusCode,\n COUNT() as total\nFROM hive_ha_cdn_s3_TABLE_SUFFIX\n\nWHERE timestamp >= toDateTime(1724917446) AND timestamp <= toDateTime(1724921046)\n\nGROUP BY\n action,\n statusCode,\n t\nORDER BY t",
"refId": "A",
"round": "0s",
"skip_comments": true
}
],
"title": "S3 calls",
"type": "piechart"
},
{
"datasource": {
"type": "vertamedia-clickhouse-datasource",
"uid": "$Subscription"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "right",
"axisWidth": 120,
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "points",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 3,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"fieldMinMax": false,
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "dtdurationms"
},
"overrides": []
},
"gridPos": {
"h": 14,
"w": 24,
"x": 0,
"y": 28
},
"id": 17,
"options": {
"legend": {
"calcs": ["max", "min", "mean"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "11.3.0-74991",
"targets": [
{
"datasource": {
"uid": "$Subscription"
},
"dateTimeColDataType": "timestamp",
"dateTimeType": "DATETIME",
"datetimeLoading": false,
"extrapolate": true,
"format": "time_series",
"formattedQuery": "SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter GROUP BY t ORDER BY t",
"intervalFactor": 1,
"query": "SELECT\n $timeSeries AS t,\n blob1 AS action,\n quantileWeighted(0.95, double1, _sample_interval) as p95\nFROM hive_ha_cdn_r2_TABLE_SUFFIX\n\nWHERE $timeFilter\n\nGROUP BY\n action,\n t\nORDER BY t\n",
"rawQuery": "SELECT\n (intDiv(toUInt32(timestamp), 20) * 20) * 1000 AS t,\n blob1 AS action,\n quantileWeighted(0.95, double1, _sample_interval) as p95\nFROM hive_ha_cdn_r2_TABLE_SUFFIX\n\nWHERE timestamp >= toDateTime(1724821505) AND timestamp <= toDateTime(1724843105)\n\nGROUP BY\n action,\n t\nORDER BY t",
"refId": "A",
"round": "0s",
"showFormattedSQL": false,
"skip_comments": true
}
],
"title": "R2 calls (p95 latency)",
"type": "timeseries"
},
{
"datasource": {
"type": "vertamedia-clickhouse-datasource",
"uid": "$Subscription"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "right",
"axisWidth": 120,
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "points",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 3,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"fieldMinMax": false,
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "dtdurationms"
},
"overrides": []
},
"gridPos": {
"h": 14,
"w": 24,
"x": 0,
"y": 42
},
"id": 18,
"options": {
"legend": {
"calcs": ["max", "min", "mean"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "11.3.0-74991",
"targets": [
{
"add_metadata": true,
"datasource": {
"uid": "$Subscription"
},
"dateTimeColDataType": "timestamp",
"dateTimeType": "DATETIME",
"datetimeLoading": false,
"editorMode": "builder",
"extrapolate": true,
"format": "time_series",
"formattedQuery": "SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter GROUP BY t ORDER BY t",
"interval": "",
"intervalFactor": 1,
"query": "SELECT\n $timeSeries AS t,\n blob1 AS action,\n quantileWeighted(0.95, double1, _sample_interval) as p95\nFROM hive_ha_cdn_s3_TABLE_SUFFIX\n\nWHERE $timeFilter\n\nGROUP BY\n action,\n t\nORDER BY t\n",
"rawQuery": "/* grafana dashboard=CDN Usage, user=19 */\nSELECT\n (intDiv(toUInt32(timestamp), 30) * 30) * 1000 AS t,\n blob1 AS action,\n quantileWeighted(0.95, double1, _sample_interval) as p95\nFROM hive_ha_cdn_s2_TABLE_SUFFIX\n\nWHERE timestamp >= toDateTime(1724917446) AND timestamp <= toDateTime(1724921046)\n\nGROUP BY\n action,\n t\nORDER BY t",
"refId": "A",
"round": "0s",
"showFormattedSQL": false,
"skip_comments": true
}
],
"title": "S3 calls (p95 latency)",
"type": "timeseries"
},
{
"datasource": {
"uid": "$Subscription"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": 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": 7,
"w": 17,
"x": 0,
"y": 56
},
"id": 2,
"options": {
"legend": {
"calcs": ["mean"],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "11.3.0-74991",
"targets": [
{
"datasource": {
"uid": "$Subscription"
},
"dateTimeColDataType": "timestamp",
"dateTimeType": "DATETIME",
"datetimeLoading": false,
"extrapolate": true,
"format": "time_series",
"formattedQuery": "SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter GROUP BY t ORDER BY t",
"intervalFactor": 1,
"query": "SELECT\n $timeSeries AS t,\n blob2 AS feature,\n COUNT() as total\nFROM hive_ha_cdn_usage_TABLE_SUFFIX\n\nWHERE $timeFilter\n\nGROUP BY\n feature,\n t\nORDER BY t\n",
"rawQuery": "SELECT\n (intDiv(toUInt32(timestamp), 2) * 2) * 1000 AS t,\n blob2 AS feature,\n COUNT() as total\nFROM hive_ha_cdn_usage_TABLE_SUFFIX\n\nWHERE timestamp >= toDateTime(1671448241) AND timestamp <= toDateTime(1671451841)\n\nGROUP BY\n feature,\n t\nORDER BY t",
"refId": "A",
"round": "0s",
"skip_comments": true
}
],
"title": "Features",
"type": "timeseries"
},
{
"datasource": {
"uid": "$Subscription"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"decimals": 2,
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 7,
"x": 17,
"y": 56
},
"id": 13,
"options": {
"legend": {
"displayMode": "table",
"placement": "right",
"showLegend": true,
"values": ["percent"]
},
"pieType": "pie",
"reduceOptions": {
"calcs": ["mean"],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "11.3.0-74991",
"targets": [
{
"datasource": {
"uid": "$Subscription"
},
"dateTimeColDataType": "timestamp",
"dateTimeType": "DATETIME",
"datetimeLoading": false,
"extrapolate": true,
"format": "time_series",
"formattedQuery": "SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter GROUP BY t ORDER BY t",
"intervalFactor": 1,
"query": "SELECT \n $timeSeries AS t,\n\tblob2 AS feature,\n\tCOUNT() as total\nFROM hive_ha_cdn_usage_TABLE_SUFFIX\nWHERE $timeFilter\nGROUP BY feature, t\nORDER BY t",
"rawQuery": "SELECT \n (intDiv(toUInt32(timestamp), 1) * 1) * 1000 AS t,\n\tblob2 AS feature,\n\tCOUNT() as total\nFROM hive_ha_cdn_usage_TABLE_SUFFIX\nWHERE timestamp >= toDateTime(1671444869) AND timestamp <= toDateTime(1671445769)\nGROUP BY feature, t\nORDER BY t",
"refId": "A",
"round": "0s",
"skip_comments": true
}
],
"title": "Features",
"type": "piechart"
},
{
"datasource": {
"uid": "$Subscription"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": 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": 6,
"w": 17,
"x": 0,
"y": 63
},
"id": 3,
"options": {
"legend": {
"calcs": ["mean"],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "11.3.0-74991",
"targets": [
{
"datasource": {
"uid": "$Subscription"
},
"dateTimeColDataType": "timestamp",
"dateTimeType": "DATETIME",
"datetimeLoading": false,
"extrapolate": true,
"format": "time_series",
"formattedQuery": "SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter GROUP BY t ORDER BY t",
"intervalFactor": 1,
"query": "SELECT \n $timeSeries AS t,\n blob1 AS cdnVersion,\n\tCOUNT() as total\nFROM hive_ha_cdn_usage_TABLE_SUFFIX\nWHERE $timeFilter\nGROUP BY cdnVersion, t\nORDER BY t",
"rawQuery": "SELECT \n (intDiv(toUInt32(timestamp), 20) * 20) * 1000 AS t,\n blob1 AS cdnVersion,\n\tCOUNT() as total\nFROM hive_ha_cdn_usage_TABLE_SUFFIX\nWHERE timestamp >= toDateTime(1671424022) AND timestamp <= toDateTime(1671445622)\nGROUP BY cdnVersion, t\nORDER BY t",
"refId": "A",
"round": "0s",
"skip_comments": true
}
],
"title": "Versions",
"type": "timeseries"
},
{
"datasource": {
"uid": "$Subscription"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 7,
"x": 17,
"y": 63
},
"id": 5,
"options": {
"legend": {
"displayMode": "table",
"placement": "right",
"showLegend": true,
"values": ["percent"]
},
"pieType": "pie",
"reduceOptions": {
"calcs": ["mean"],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "11.3.0-74991",
"targets": [
{
"datasource": {
"uid": "$Subscription"
},
"dateTimeColDataType": "timestamp",
"dateTimeType": "DATETIME",
"datetimeLoading": false,
"extrapolate": true,
"format": "time_series",
"formattedQuery": "SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter GROUP BY t ORDER BY t",
"intervalFactor": 1,
"query": "SELECT \n $timeSeries AS t,\n blob1 AS cdnVersion,\n\tCOUNT() as total\nFROM hive_ha_cdn_usage_TABLE_SUFFIX\nWHERE $timeFilter\nGROUP BY cdnVersion, t\nORDER BY t",
"rawQuery": "SELECT \n (intDiv(toUInt32(timestamp), 1) * 1) * 1000 AS t,\n blob1 AS cdnVersion,\n\tCOUNT() as total\nFROM hive_ha_cdn_usage_TABLE_SUFFIX\nWHERE timestamp >= toDateTime(1671444913) AND timestamp <= toDateTime(1671445813)\nGROUP BY cdnVersion, t\nORDER BY t",
"refId": "A",
"round": "0s",
"skip_comments": true
}
],
"title": "Versions",
"type": "piechart"
},
{
"datasource": {
"uid": "$Subscription"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "dashed"
}
},
"decimals": 2,
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "orange",
"value": 20
},
{
"color": "red",
"value": 50
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 14,
"x": 0,
"y": 69
},
"id": 6,
"options": {
"legend": {
"calcs": ["mean"],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "11.3.0-74991",
"targets": [
{
"datasource": {
"uid": "$Subscription"
},
"dateTimeColDataType": "timestamp",
"dateTimeType": "DATETIME",
"datetimeLoading": false,
"extrapolate": true,
"format": "time_series",
"formattedQuery": "SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter GROUP BY t ORDER BY t",
"intervalFactor": 1,
"query": "SELECT\n $timeSeries AS t,\n blob1,\n blob2,\n COUNT() as total\nFROM hive_ha_cdn_error_TABLE_SUFFIX\n\nWHERE $timeFilter\n\nGROUP BY\n t,\n blob1,\n blob2\nORDER BY t\n",
"rawQuery": "SELECT\n (intDiv(toUInt32(timestamp), 1) * 1) * 1000 AS t,\n blob1,\n blob2,\n COUNT() as total\nFROM hive_ha_cdn_error_TABLE_SUFFIX\n\nWHERE timestamp >= toDateTime(1674578665) AND timestamp <= toDateTime(1674579565)\n\nGROUP BY\n t,\n blob1,\n blob2\nORDER BY t",
"refId": "A",
"round": "0s",
"skip_comments": true
}
],
"title": "Errors",
"type": "timeseries"
},
{
"datasource": {
"uid": "$Subscription"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 8,
"x": 14,
"y": 69
},
"id": 7,
"options": {
"legend": {
"displayMode": "table",
"placement": "right",
"showLegend": true,
"values": ["percent"]
},
"pieType": "pie",
"reduceOptions": {
"calcs": ["mean"],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "11.3.0-74991",
"targets": [
{
"datasource": {
"uid": "$Subscription"
},
"dateTimeColDataType": "timestamp",
"dateTimeType": "DATETIME",
"datetimeLoading": false,
"extrapolate": true,
"format": "time_series",
"formattedQuery": "SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter GROUP BY t ORDER BY t",
"intervalFactor": 1,
"query": "SELECT \n $timeSeries AS t,\n blob1,\n blob2,\n\tCOUNT() as total\nFROM hive_ha_cdn_error_TABLE_SUFFIX\nWHERE $timeFilter\nGROUP BY blob1, blob2, t\nORDER BY t",
"rawQuery": "SELECT \n (intDiv(toUInt32(timestamp), 30) * 30) * 1000 AS t,\n blob1,\n blob2,\n\tCOUNT() as total\nFROM hive_ha_cdn_error_TABLE_SUFFIX\nWHERE timestamp >= toDateTime(1672691916) AND timestamp <= toDateTime(1672735116)\nGROUP BY blob1, blob2, t\nORDER BY t",
"refId": "A",
"round": "0s",
"skip_comments": true
}
],
"title": "Errors",
"type": "piechart"
},
{
"datasource": {
"uid": "$Subscription"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 10
},
{
"color": "red",
"value": 25
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 2,
"x": 22,
"y": 69
},
"id": 8,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": ["mean"],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "11.3.0-74991",
"targets": [
{
"datasource": {
"uid": "$Subscription"
},
"dateTimeColDataType": "timestamp",
"dateTimeType": "DATETIME",
"datetimeLoading": false,
"extrapolate": true,
"format": "time_series",
"formattedQuery": "SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter GROUP BY t ORDER BY t",
"intervalFactor": 1,
"query": "SELECT \n $timeSeries AS t,\n\tCOUNT() as total\nFROM hive_ha_cdn_error_TABLE_SUFFIX\nWHERE $timeFilter\nGROUP BY t\nORDER BY t",
"rawQuery": "SELECT \n (intDiv(toUInt32(timestamp), 15) * 15) * 1000 AS t,\n\tCOUNT() as total\nFROM hive_ha_cdn_error_TABLE_SUFFIX\nWHERE timestamp >= toDateTime(1674558093) AND timestamp <= toDateTime(1674579693)\nGROUP BY t\nORDER BY t",
"refId": "A",
"round": "0s",
"skip_comments": true
}
],
"title": "Errors in total",
"type": "stat"
},
{
"datasource": {
"uid": "$Subscription"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": 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": 7,
"w": 17,
"x": 0,
"y": 75
},
"id": 10,
"options": {
"legend": {
"calcs": ["mean"],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "11.3.0-74991",
"targets": [
{
"datasource": {
"uid": "$Subscription"
},
"dateTimeColDataType": "timestamp",
"dateTimeType": "DATETIME",
"datetimeLoading": false,
"extrapolate": true,
"format": "time_series",
"formattedQuery": "SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter GROUP BY t ORDER BY t",
"intervalFactor": 1,
"query": "SELECT\n $timeSeries AS t,\n blob1 AS action,\n blob2 AS value,\n COUNT() as total\nFROM hive_ha_cdn_key_validation_TABLE_SUFFIX\n\nWHERE $timeFilter\n\nGROUP BY\n action,\n value,\n t\nORDER BY t\n",
"rawQuery": "SELECT\n (intDiv(toUInt32(timestamp), 2) * 2) * 1000 AS t,\n blob1 AS action,\n blob2 AS value,\n COUNT() as total\nFROM hive_ha_cdn_key_validation_TABLE_SUFFIX\n\nWHERE timestamp >= toDateTime(1674646874) AND timestamp <= toDateTime(1674650474)\n\nGROUP BY\n action,\n value,\n t\nORDER BY t",
"refId": "A",
"round": "0s",
"skip_comments": true
}
],
"title": "Key validation",
"type": "timeseries"
},
{
"datasource": {
"uid": "$Subscription"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"decimals": 2,
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 7,
"x": 17,
"y": 75
},
"id": 4,
"options": {
"legend": {
"displayMode": "table",
"placement": "right",
"showLegend": true,
"values": ["percent"]
},
"pieType": "pie",
"reduceOptions": {
"calcs": ["mean"],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "11.3.0-74991",
"targets": [
{
"datasource": {
"uid": "$Subscription"
},
"dateTimeColDataType": "timestamp",
"dateTimeType": "DATETIME",
"datetimeLoading": false,
"extrapolate": true,
"format": "time_series",
"formattedQuery": "SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter GROUP BY t ORDER BY t",
"intervalFactor": 1,
"query": "SELECT\n $timeSeries AS t,\n blob1 AS action,\n blob2 AS value,\n COUNT() as total\nFROM hive_ha_cdn_key_validation_TABLE_SUFFIX\n\nWHERE $timeFilter\n\nGROUP BY\n action,\n value,\n t\nORDER BY t\n",
"rawQuery": "SELECT\n (intDiv(toUInt32(timestamp), 2) * 2) * 1000 AS t,\n blob1 AS action,\n blob2 AS value,\n COUNT() as total\nFROM hive_ha_cdn_key_validation_TABLE_SUFFIX\n\nWHERE timestamp >= toDateTime(1674646880) AND timestamp <= toDateTime(1674650480)\n\nGROUP BY\n action,\n value,\n t\nORDER BY t",
"refId": "A",
"round": "0s",
"skip_comments": true
}
],
"title": "Key validation",
"type": "piechart"
}
],
"preload": false,
"refresh": "",
"schemaVersion": 39,
"tags": ["hive", "cdn"],
"templating": {
"list": [
{
"current": {
"text": "CDN",
"value": "ZTe-Py5Vz"
},
"includeAll": false,
"name": "Subscription",
"options": [],
"query": "vertamedia-clickhouse-datasource",
"refresh": 1,
"regex": "",
"type": "datasource"
}
]
},
"time": {
"from": "now-1h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "CDN Usage",
"uid": "0xuKHA-Vk",
"version": 33,
"weekStart": ""
}