Skip to content

Commit

Permalink
Update dashboard to inclue dns usage
Browse files Browse the repository at this point in the history
  • Loading branch information
TawneeOwl committed Mar 6, 2025
1 parent ecc0863 commit fc53ae3
Showing 1 changed file with 117 additions and 16 deletions.
133 changes: 117 additions & 16 deletions helm_deploy/laa-access-civil-legal-aid/files/dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,118 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 1,
"id": 193,
"id": 197,
"links": [],
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"fillOpacity": 80,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineWidth": 1,
"scaleDistribution": {
"type": "linear"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"id": 22,
"options": {
"barRadius": 0,
"barWidth": 0.97,
"fullHighlight": false,
"groupWidth": 0.7,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"orientation": "auto",
"showValue": "auto",
"stacking": "normal",
"tooltip": {
"mode": "single",
"sort": "none"
},
"xTickLabelRotation": 0,
"xTickLabelSpacing": 100
},
"pluginVersion": "11.3.0",
"targets": [
{
"editorMode": "code",
"expr": "sum by (remote_addr) (rate(container_network_transmit_packets_total{namespace=\"$namespace\"}[1m]))",
"legendFormat": "Usage of Access",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"expr": "sum by (remote_addr) (rate(container_network_transmit_packets_total{namespace=\"laa-cla-public-dnstest\"}[1m]))\n",
"hide": false,
"instant": false,
"legendFormat": "Usage of Check",
"range": true,
"refId": "B"
}
],
"title": "DNS Site Usage DNStest",
"type": "barchart"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
"y": 8
},
"id": 16,
"panels": [],
Expand Down Expand Up @@ -67,7 +169,7 @@
"h": 6,
"w": 9,
"x": 0,
"y": 1
"y": 9
},
"id": 15,
"options": {
Expand Down Expand Up @@ -214,7 +316,7 @@
"h": 6,
"w": 15,
"x": 9,
"y": 1
"y": 9
},
"id": 18,
"options": {
Expand Down Expand Up @@ -312,7 +414,7 @@
"h": 8,
"w": 24,
"x": 0,
"y": 7
"y": 15
},
"id": 21,
"options": {
Expand Down Expand Up @@ -404,7 +506,7 @@
"h": 8,
"w": 24,
"x": 0,
"y": 15
"y": 23
},
"id": 17,
"options": {
Expand Down Expand Up @@ -500,7 +602,7 @@
"h": 8,
"w": 24,
"x": 0,
"y": 23
"y": 31
},
"id": 2,
"options": {
Expand Down Expand Up @@ -620,7 +722,7 @@
"h": 8,
"w": 24,
"x": 0,
"y": 31
"y": 39
},
"id": 13,
"options": {
Expand Down Expand Up @@ -738,7 +840,7 @@
"h": 8,
"w": 24,
"x": 0,
"y": 39
"y": 47
},
"id": 14,
"options": {
Expand Down Expand Up @@ -792,8 +894,8 @@
"list": [
{
"current": {
"text": "laa-access-civil-legal-aid-uat",
"value": "laa-access-civil-legal-aid-uat"
"text": "laa-access-civil-legal-aid-dnstest",
"value": "laa-access-civil-legal-aid-dnstest"
},
"datasource": "Prometheus",
"definition": "label_values(kube_deployment_metadata_generation, namespace)",
Expand All @@ -808,8 +910,8 @@
},
{
"current": {
"text": "laa-access-civil-legal-aid",
"value": "laa-access-civil-legal-aid"
"text": "",
"value": ""
},
"definition": "label_values(nginx_ingress_controller_requests{exported_namespace=\"$namespace\"},ingress)",
"name": "ingress",
Expand All @@ -826,7 +928,7 @@
]
},
"time": {
"from": "now-6h",
"from": "now-1h",
"to": "now"
},
"timepicker": {},
Expand All @@ -835,5 +937,4 @@
"uid": "d2w1ev32edfgwc",
"version": 1,
"weekStart": ""
}

}

0 comments on commit fc53ae3

Please sign in to comment.