Files
services/deployment/modules/cloudflare/workers/cloudflare-metrics/dashboards/http.json
T

1423 lines
34 KiB
JSON

{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 1,
"links": [],
"panels": [
{
"id": 1,
"type": "row",
"title": "Overview",
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"panels": []
},
{
"id": 2,
"type": "stat",
"title": "Requests (24h)",
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"gridPos": {
"h": 4,
"w": 4,
"x": 0,
"y": 1
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short",
"noValue": "0"
},
"overrides": []
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"editorMode": "code",
"expr": "sum(sum_over_time(max_over_time(cf_http_requests_overview_requests{zone_name=~\"$zone_name\"}[1m])[24h:1m]))",
"instant": true,
"range": false,
"legendFormat": "__auto",
"refId": "A"
}
],
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
}
},
{
"id": 3,
"type": "stat",
"title": "Cached Requests (24h)",
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"gridPos": {
"h": 4,
"w": 4,
"x": 4,
"y": 1
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short",
"noValue": "0"
},
"overrides": []
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"editorMode": "code",
"expr": "sum(sum_over_time(max_over_time(cf_http_requests_overview_cached_requests{zone_name=~\"$zone_name\"}[1m])[24h:1m]))",
"instant": true,
"range": false,
"legendFormat": "__auto",
"refId": "A"
}
],
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
}
},
{
"id": 4,
"type": "stat",
"title": "Cache Hit Rate",
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"gridPos": {
"h": 4,
"w": 4,
"x": 8,
"y": 1
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "percentunit",
"noValue": "0"
},
"overrides": []
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"editorMode": "code",
"expr": "sum(cf_http_requests_overview_cached_requests{zone_name=~\"$zone_name\"}) / clamp_min(sum(cf_http_requests_overview_requests{zone_name=~\"$zone_name\"}), 1)",
"instant": true,
"range": false,
"legendFormat": "__auto",
"refId": "A"
}
],
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
}
},
{
"id": 5,
"type": "stat",
"title": "Bytes (24h)",
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"gridPos": {
"h": 4,
"w": 4,
"x": 12,
"y": 1
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "decbytes",
"noValue": "0"
},
"overrides": []
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"editorMode": "code",
"expr": "sum(sum_over_time(max_over_time(cf_http_requests_overview_bytes{zone_name=~\"$zone_name\"}[1m])[24h:1m]))",
"instant": true,
"range": false,
"legendFormat": "__auto",
"refId": "A"
}
],
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
}
},
{
"id": 6,
"type": "stat",
"title": "Cached Bytes (24h)",
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"gridPos": {
"h": 4,
"w": 4,
"x": 16,
"y": 1
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "decbytes",
"noValue": "0"
},
"overrides": []
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"editorMode": "code",
"expr": "sum(sum_over_time(max_over_time(cf_http_requests_overview_cached_bytes{zone_name=~\"$zone_name\"}[1m])[24h:1m]))",
"instant": true,
"range": false,
"legendFormat": "__auto",
"refId": "A"
}
],
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
}
},
{
"id": 7,
"type": "stat",
"title": "Visits (24h)",
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"gridPos": {
"h": 4,
"w": 4,
"x": 20,
"y": 1
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short",
"noValue": "0"
},
"overrides": []
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"editorMode": "code",
"expr": "sum(sum_over_time(max_over_time(cf_http_requests_overview_visits{zone_name=~\"$zone_name\"}[1m])[24h:1m]))",
"instant": true,
"range": false,
"legendFormat": "__auto",
"refId": "A"
}
],
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
}
},
{
"id": 8,
"type": "row",
"title": "Traffic",
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 5
},
"panels": []
},
{
"id": 9,
"type": "timeseries",
"title": "Requests per Zone",
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 6
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short",
"custom": {
"drawStyle": "line",
"lineInterpolation": "smooth",
"lineWidth": 1,
"fillOpacity": 10,
"gradientMode": "none",
"spanNulls": true,
"showPoints": "never",
"pointSize": 5,
"stacking": {
"mode": "none",
"group": "A"
},
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"scaleDistribution": {
"type": "linear"
},
"thresholdsStyle": {
"mode": "off"
}
}
},
"overrides": []
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"editorMode": "code",
"expr": "sum by (zone_name) (max_over_time(cf_http_requests_overview_requests{zone_name=~\"$zone_name\"}[1m]))",
"instant": false,
"range": true,
"legendFormat": "{{zone_name}}",
"refId": "A"
}
],
"options": {
"legend": {
"calcs": [
"mean",
"max",
"lastNotNull"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
}
},
{
"id": 10,
"type": "timeseries",
"title": "Bytes per Zone",
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 6
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "bytes",
"custom": {
"drawStyle": "line",
"lineInterpolation": "smooth",
"lineWidth": 1,
"fillOpacity": 10,
"gradientMode": "none",
"spanNulls": true,
"showPoints": "never",
"pointSize": 5,
"stacking": {
"mode": "none",
"group": "A"
},
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"scaleDistribution": {
"type": "linear"
},
"thresholdsStyle": {
"mode": "off"
}
}
},
"overrides": []
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"editorMode": "code",
"expr": "sum by (zone_name) (max_over_time(cf_http_requests_overview_bytes{zone_name=~\"$zone_name\"}[1m]))",
"instant": false,
"range": true,
"legendFormat": "{{zone_name}}",
"refId": "A"
}
],
"options": {
"legend": {
"calcs": [
"mean",
"max",
"lastNotNull"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
}
},
{
"id": 11,
"type": "row",
"title": "Cache",
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 14
},
"panels": []
},
{
"id": 12,
"type": "timeseries",
"title": "Cache Hit per Zone",
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 15
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "percentunit",
"custom": {
"drawStyle": "line",
"lineInterpolation": "smooth",
"lineWidth": 1,
"fillOpacity": 10,
"gradientMode": "none",
"spanNulls": true,
"showPoints": "never",
"pointSize": 5,
"stacking": {
"mode": "none",
"group": "A"
},
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"scaleDistribution": {
"type": "linear"
},
"thresholdsStyle": {
"mode": "off"
}
}
},
"overrides": []
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"editorMode": "code",
"expr": "sum by (zone_name) (max_over_time(cf_http_requests_overview_cached_requests{zone_name=~\"$zone_name\"}[1m])) / clamp_min(sum by (zone_name) (max_over_time(cf_http_requests_overview_requests{zone_name=~\"$zone_name\"}[1m])), 1)",
"instant": false,
"range": true,
"legendFormat": "{{zone_name}}",
"refId": "A"
}
],
"options": {
"legend": {
"calcs": [
"mean",
"max",
"lastNotNull"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
}
},
{
"id": 13,
"type": "timeseries",
"title": "Cache Status Breakdown",
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 15
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short",
"custom": {
"drawStyle": "line",
"lineInterpolation": "smooth",
"lineWidth": 1,
"fillOpacity": 10,
"gradientMode": "none",
"spanNulls": true,
"showPoints": "never",
"pointSize": 5,
"stacking": {
"mode": "normal",
"group": "A"
},
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"scaleDistribution": {
"type": "linear"
},
"thresholdsStyle": {
"mode": "off"
}
}
},
"overrides": []
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"editorMode": "code",
"expr": "sum by (cache_status) (max_over_time(cf_http_requests_detail_requests{zone_name=~\"$zone_name\"}[1m]))",
"instant": false,
"range": true,
"legendFormat": "{{cache_status}}",
"refId": "A"
}
],
"options": {
"legend": {
"calcs": [
"mean",
"max",
"lastNotNull"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
}
},
{
"id": 14,
"type": "row",
"title": "Performance",
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 23
},
"panels": []
},
{
"id": 15,
"type": "timeseries",
"title": "Edge TTFB (avg) per Zone",
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 24
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "ms",
"custom": {
"drawStyle": "line",
"lineInterpolation": "smooth",
"lineWidth": 1,
"fillOpacity": 10,
"gradientMode": "none",
"spanNulls": true,
"showPoints": "never",
"pointSize": 5,
"stacking": {
"mode": "none",
"group": "A"
},
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"scaleDistribution": {
"type": "linear"
},
"thresholdsStyle": {
"mode": "off"
}
}
},
"overrides": []
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"editorMode": "code",
"expr": "avg by (zone_name) (max_over_time(cf_http_requests_detail_edge_ttfb_ms_avg{zone_name=~\"$zone_name\"}[1m]))",
"instant": false,
"range": true,
"legendFormat": "{{zone_name}}",
"refId": "A"
}
],
"options": {
"legend": {
"calcs": [
"mean",
"max",
"lastNotNull"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
}
},
{
"id": 16,
"type": "timeseries",
"title": "Origin Response (avg) per Zone",
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 24
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "ms",
"custom": {
"drawStyle": "line",
"lineInterpolation": "smooth",
"lineWidth": 1,
"fillOpacity": 10,
"gradientMode": "none",
"spanNulls": true,
"showPoints": "never",
"pointSize": 5,
"stacking": {
"mode": "none",
"group": "A"
},
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"scaleDistribution": {
"type": "linear"
},
"thresholdsStyle": {
"mode": "off"
}
}
},
"overrides": []
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"editorMode": "code",
"expr": "avg by (zone_name) (max_over_time(cf_http_requests_detail_origin_response_ms_avg{zone_name=~\"$zone_name\"}[1m]))",
"instant": false,
"range": true,
"legendFormat": "{{zone_name}}",
"refId": "A"
}
],
"options": {
"legend": {
"calcs": [
"mean",
"max",
"lastNotNull"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
}
},
{
"id": 17,
"type": "row",
"title": "Breakdown",
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 32
},
"panels": []
},
{
"id": 18,
"type": "timeseries",
"title": "By HTTP Method",
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 33
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short",
"custom": {
"drawStyle": "line",
"lineInterpolation": "smooth",
"lineWidth": 1,
"fillOpacity": 10,
"gradientMode": "none",
"spanNulls": true,
"showPoints": "never",
"pointSize": 5,
"stacking": {
"mode": "normal",
"group": "A"
},
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"scaleDistribution": {
"type": "linear"
},
"thresholdsStyle": {
"mode": "off"
}
}
},
"overrides": []
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"editorMode": "code",
"expr": "sum by (http_method) (max_over_time(cf_http_requests_detail_requests{zone_name=~\"$zone_name\"}[1m]))",
"instant": false,
"range": true,
"legendFormat": "{{http_method}}",
"refId": "A"
}
],
"options": {
"legend": {
"calcs": [
"mean",
"max",
"lastNotNull"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
}
},
{
"id": 19,
"type": "timeseries",
"title": "By Response Status",
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 33
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short",
"custom": {
"drawStyle": "line",
"lineInterpolation": "smooth",
"lineWidth": 1,
"fillOpacity": 10,
"gradientMode": "none",
"spanNulls": true,
"showPoints": "never",
"pointSize": 5,
"stacking": {
"mode": "normal",
"group": "A"
},
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"scaleDistribution": {
"type": "linear"
},
"thresholdsStyle": {
"mode": "off"
}
}
},
"overrides": []
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"editorMode": "code",
"expr": "sum by (edge_response_status) (max_over_time(cf_http_requests_detail_requests{zone_name=~\"$zone_name\"}[1m]))",
"instant": false,
"range": true,
"legendFormat": "{{edge_response_status}}",
"refId": "A"
}
],
"options": {
"legend": {
"calcs": [
"mean",
"max",
"lastNotNull"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
}
},
{
"id": 20,
"type": "timeseries",
"title": "By Country (Top 10)",
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 41
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short",
"custom": {
"drawStyle": "line",
"lineInterpolation": "smooth",
"lineWidth": 1,
"fillOpacity": 10,
"gradientMode": "none",
"spanNulls": true,
"showPoints": "never",
"pointSize": 5,
"stacking": {
"mode": "none",
"group": "A"
},
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"scaleDistribution": {
"type": "linear"
},
"thresholdsStyle": {
"mode": "off"
}
}
},
"overrides": []
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"editorMode": "code",
"expr": "topk(10, sum by (client_country) (max_over_time(cf_http_requests_detail_requests{zone_name=~\"$zone_name\"}[1m])))",
"instant": false,
"range": true,
"legendFormat": "{{client_country}}",
"refId": "A"
}
],
"options": {
"legend": {
"calcs": [
"mean",
"max",
"lastNotNull"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
}
},
{
"id": 21,
"type": "timeseries",
"title": "Edge Response Bytes",
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 41
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "bytes",
"custom": {
"drawStyle": "line",
"lineInterpolation": "smooth",
"lineWidth": 1,
"fillOpacity": 10,
"gradientMode": "none",
"spanNulls": true,
"showPoints": "never",
"pointSize": 5,
"stacking": {
"mode": "none",
"group": "A"
},
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"scaleDistribution": {
"type": "linear"
},
"thresholdsStyle": {
"mode": "off"
}
}
},
"overrides": []
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"editorMode": "code",
"expr": "sum by (zone_name) (max_over_time(cf_http_requests_detail_edge_response_bytes{zone_name=~\"$zone_name\"}[1m]))",
"instant": false,
"range": true,
"legendFormat": "{{zone_name}}",
"refId": "A"
}
],
"options": {
"legend": {
"calcs": [
"mean",
"max",
"lastNotNull"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
}
}
],
"tags": [
"cloudflare-workers",
"cloudflare-metrics",
"cloudflare-analytics"
],
"templating": {
"list": [
{
"name": "zone_name",
"label": "Zone",
"type": "query",
"datasource": {
"type": "prometheus",
"uid": "36979063-5384-4eb9-8679-565a727cbc13"
},
"query": {
"query": "label_values(cf_http_requests_overview_requests, zone_name)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "",
"sort": 1,
"includeAll": true,
"allValue": ".*",
"multi": true,
"hide": 0,
"definition": "label_values(cf_http_requests_overview_requests, zone_name)",
"options": [],
"skipUrlSync": false,
"current": {
"selected": false,
"text": "All",
"value": "$__all"
}
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "browser",
"title": "Cloudflare — HTTP / Zones",
"uid": "cf-http",
"version": 1,
"weekStart": ""
}