add separate ov dashboard with cloudflare

This commit is contained in:
tom.chivert
2023-07-11 10:12:23 +02:00
parent baf353fca7
commit b4f4aea3df
5 changed files with 2866 additions and 175 deletions

View File

@ -24,7 +24,7 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 5,
"id": 4,
"links": [],
"liveNow": false,
"panels": [
@ -77,7 +77,7 @@
},
"textMode": "auto"
},
"pluginVersion": "9.4.0-102000pre",
"pluginVersion": "10.1.0-124838pre",
"targets": [
{
"datasource": {
@ -151,7 +151,7 @@
},
"textMode": "auto"
},
"pluginVersion": "9.4.0-102000pre",
"pluginVersion": "10.1.0-124838pre",
"targets": [
{
"datasource": {
@ -226,7 +226,7 @@
},
"textMode": "auto"
},
"pluginVersion": "9.4.0-102000pre",
"pluginVersion": "10.1.0-124838pre",
"targets": [
{
"datasource": {
@ -311,7 +311,7 @@
},
"textMode": "auto"
},
"pluginVersion": "9.4.0-102000pre",
"pluginVersion": "10.1.0-124838pre",
"targets": [
{
"datasource": {
@ -378,7 +378,7 @@
},
"textMode": "auto"
},
"pluginVersion": "9.4.0-102000pre",
"pluginVersion": "10.1.0-124838pre",
"targets": [
{
"datasource": {
@ -445,7 +445,7 @@
},
"textMode": "auto"
},
"pluginVersion": "9.4.0-102000pre",
"pluginVersion": "10.1.0-124838pre",
"targets": [
{
"datasource": {
@ -512,7 +512,7 @@
},
"textMode": "auto"
},
"pluginVersion": "9.4.0-102000pre",
"pluginVersion": "10.1.0-124838pre",
"targets": [
{
"datasource": {
@ -579,7 +579,7 @@
},
"textMode": "auto"
},
"pluginVersion": "9.4.0-102000pre",
"pluginVersion": "10.1.0-124838pre",
"targets": [
{
"datasource": {
@ -635,6 +635,7 @@
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
@ -782,6 +783,7 @@
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
@ -914,6 +916,7 @@
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@ -1387,6 +1390,7 @@
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
@ -1497,6 +1501,7 @@
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
@ -1537,13 +1542,9 @@
"id": 14,
"options": {
"legend": {
"calcs": [
"lastNotNull",
"max",
"mean"
],
"displayMode": "table",
"placement": "right",
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true,
"sortBy": "Mean",
"sortDesc": true
@ -1595,6 +1596,7 @@
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
@ -1683,7 +1685,7 @@
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"drawStyle": "bars",
"fillOpacity": 30,
"gradientMode": "hue",
"hideFrom": {
@ -1691,6 +1693,7 @@
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
@ -1735,18 +1738,15 @@
"id": 28,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max",
"min"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false,
"sortBy": "Mean",
"sortDesc": true
},
"tooltip": {
"mode": "multi",
"mode": "single",
"sort": "none"
}
},
@ -1758,28 +1758,15 @@
"uid": "yPhvsDP7k"
},
"editorMode": "code",
"expr": "sum(rate(cloudflare_zone_requests_total{}[$__interval]))",
"expr": "sum by (socket_path) (rate(php_fpm_slow_requests{instance=~\"$production\"} [$__rate_interval]))",
"interval": "",
"intervalFactor": 10,
"legendFormat": "total",
"legendFormat": "{{ socket_path }} ",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "yPhvsDP7k"
},
"editorMode": "code",
"expr": "sum(rate(cloudflare_zone_requests_cached{}[$__interval]))",
"interval": "",
"intervalFactor": 10,
"legendFormat": "cached",
"range": true,
"refId": "B"
}
],
"title": "Cloudflare Requests / second",
"title": "PHP-FPM Slow Requests Rate",
"transparent": true,
"type": "timeseries"
},
@ -1808,6 +1795,7 @@
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
@ -1920,14 +1908,12 @@
"current": {
"selected": true,
"text": [
"emzhyp03",
"emzhyp04",
"emzhyp05"
"cprprdcache1",
"cprprdcache2"
],
"value": [
"emzhyp03",
"emzhyp04",
"emzhyp05"
"cprprdcache1",
"cprprdcache2"
]
},
"datasource": {
@ -1955,14 +1941,10 @@
"current": {
"selected": true,
"text": [
"/VMs",
"/VMs_SSD",
"/home",
"/var/log"
],
"value": [
"/VMs",
"/VMs_SSD",
"/home",
"/var/log"
]
@ -2069,6 +2051,6 @@
"timezone": "",
"title": "Plateform Overview",
"uid": "pyphZNNVz",
"version": 18,
"version": 1,
"weekStart": ""
}