examples/http-server/docker/provisioning/dashboards/gofr-dashboard/dashboards.json
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"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": "Gofr Dashboard offers real-time insights into our system's performance, displaying key metrics like response times and error rates. Tailored for DevOps and engineering teams, it pulls data from Prometheus and Kubernetes. Updated regularly, we encourage your feedback to make it even more valuable for your needs.",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 19905,
"graphTooltip": 0,
"id": 3,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 90,
"panels": [],
"title": "App Information",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 7,
"x": 0,
"y": 1
},
"id": 87,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [],
"fields": "/.*/",
"values": false
},
"showPercentChange": false,
"textMode": "value",
"wideLayout": true
},
"pluginVersion": "10.3.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "app_info{app_name='$Service'}",
"format": "table",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "App Version",
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"app_version"
]
}
}
}
],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 8,
"x": 7,
"y": 1
},
"id": 88,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [],
"fields": "/.*/",
"values": false
},
"showPercentChange": false,
"textMode": "value",
"wideLayout": true
},
"pluginVersion": "10.3.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "app_info{app_name='$Service'}",
"format": "table",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Framework Version",
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"framework_version"
]
}
}
}
],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 9,
"x": 15,
"y": 1
},
"id": 93,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [],
"fields": "/.*/",
"values": false
},
"showPercentChange": false,
"textMode": "value",
"wideLayout": true
},
"pluginVersion": "10.3.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "go_info{}",
"format": "table",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Go Version",
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"version"
],
"pattern": "version"
}
}
}
],
"type": "stat"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 5
},
"id": 14,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"refId": "A"
}
],
"title": "System Information",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "# Of GoRoutines",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none",
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 6
},
"id": 6,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by (pod) (app_go_routines{})",
"format": "time_series",
"hide": false,
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "sum(app_go_routines{})",
"hide": false,
"legendFormat": "Total",
"range": true,
"refId": "B"
}
],
"title": "Go Routines",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Memory (bytes)",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes",
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 6
},
"id": 16,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by (pod) (app_sys_memory_alloc{})",
"format": "time_series",
"hide": false,
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "sum(app_sys_memory_alloc{})",
"hide": true,
"legendFormat": "Total",
"range": true,
"refId": "B"
}
],
"title": "Memory Utilisation",
"type": "timeseries"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "$${DataSource}"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 14
},
"id": 8,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$${DataSource}"
},
"refId": "A"
}
],
"title": "Inbound Requests",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Time (sec)",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s",
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 15
},
"id": 10,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "histogram_quantile(0.90, sum(rate(app_http_response_bucket{}[$__rate_interval])) by (le))",
"legendFormat": " 90",
"range": true,
"refId": "90"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "histogram_quantile(0.95, sum(rate(app_http_response_bucket{}[$__rate_interval])) by (le))",
"hide": false,
"legendFormat": "95",
"range": true,
"refId": "95"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "histogram_quantile(0.99, sum(rate(app_http_response_bucket{}[$__rate_interval])) by (le))",
"hide": false,
"legendFormat": "99",
"range": true,
"refId": "99"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "histogram_quantile(0.999, sum(rate(app_http_response_bucket{}[$__rate_interval])) by (le))",
"hide": false,
"legendFormat": "99.9",
"range": true,
"refId": "99.9"
}
],
"title": "Response Time SLA",
"transformations": [
{
"id": "organize",
"options": {}
}
],
"type": "timeseries"
},
{
"cards": {},
"color": {
"cardColor": "#96D98D",
"colorScale": "sqrt",
"colorScheme": "interpolateGreens",
"exponent": 0.5,
"mode": "opacity"
},
"dataFormat": "tsbuckets",
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"description": "",
"fieldConfig": {
"defaults": {
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"scaleDistribution": {
"type": "linear"
}
},
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 15
},
"heatmap": {},
"hideZeroBuckets": false,
"highlightCards": true,
"id": 2,
"legend": {
"show": false
},
"options": {
"calculate": false,
"calculation": {},
"cellGap": 2,
"cellValues": {},
"color": {
"exponent": 0.5,
"fill": "#96D98D",
"mode": "opacity",
"reverse": false,
"scale": "exponential",
"scheme": "Oranges",
"steps": 128
},
"exemplars": {
"color": "rgba(255,0,255,0.7)"
},
"filterValues": {
"le": 1e-9
},
"legend": {
"show": false
},
"rowsFrame": {
"layout": "auto"
},
"showValue": "never",
"tooltip": {
"mode": "single",
"showColorScale": false,
"yHistogram": false
},
"yAxis": {
"axisPlacement": "left",
"reverse": false,
"unit": "s"
}
},
"pluginVersion": "10.3.3",
"reverseYBuckets": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(increase(app_http_response_bucket{}[$__rate_interval])) by (le)",
"format": "heatmap",
"instant": false,
"legendFormat": "{{le}}",
"range": true,
"refId": "A"
}
],
"title": "Request Latency Distribution",
"tooltip": {
"show": true,
"showHistogram": false
},
"type": "heatmap",
"xAxis": {
"show": true
},
"yAxis": {
"format": "s",
"logBase": 1,
"show": true
},
"yBucketBound": "auto"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "No of requests",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [
{
"targetBlank": true,
"title": "Path level service dashboard",
"url": "/d/InboundCallsPathLevelDrillDownDashboard/path-level-drill-down-dashboard?orgId=1&var-DataSource=$${DataSource}&var-namespace=$${namespace}&var-service=$${service}&var-path=$${__field.labels.path}&var-method=$${__field.labels.method}&from=$${__from}&to=$${__to}"
}
],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short",
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 23
},
"id": 126,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "sum by (path, method) (\n increase(app_http_response_count{}[$__rate_interval])\n)",
"legendFormat": "__auto",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "sum(increase(app_http_response_count{}[$__rate_interval]))",
"hide": true,
"legendFormat": "Total",
"range": true,
"refId": "B"
}
],
"title": "Request Count Over Time",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Response Count ",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short",
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 23
},
"id": 12,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "sum by (status) (\n increase(app_http_response_count{}[$__rate_interval])\n)",
"legendFormat": "{{status}}",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "sum(increase(app_http_response_count{}[$__rate_interval]))",
"hide": true,
"legendFormat": "Total",
"range": true,
"refId": "B"
}
],
"title": "Response Code Over Time",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "left",
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"links": [
{
"targetBlank": true,
"title": "Path Level Dashboard",
"url": "/d/InboundCallsPathLevelDrillDownDashboard/path-level-drill-down-dashboard?orgId=1&var-DataSource=$${DataSource}&var-namespace=$${namespace}&var-service=$${service}&var-path=$${__data.fields.Path}&var-method=$${__data.fields.Method}&from=$${__from}&to=$${__to} "
}
],
"mappings": [
{
"options": {
"NaN": {
"index": 0,
"text": "N/A"
}
},
"type": "value"
}
],
"noValue": "N/A",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "purple",
"value": 80
}
]
},
"unit": "ms",
"unitScale": true
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Count"
},
"properties": [
{
"id": "unit",
"value": "none"
}
]
}
]
},
"gridPos": {
"h": 9,
"w": 24,
"x": 0,
"y": 31
},
"id": 74,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": "",
"reducer": [],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": false,
"displayName": "p99.9"
}
]
},
"pluginVersion": "10.3.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "histogram_quantile(0.999, sum(rate(app_http_response_bucket{}[$__range])) by (le, path,method)) * 1000",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "{{path}} {{method}}",
"range": false,
"refId": "99.9"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "histogram_quantile(0.95, sum(rate(app_http_response_bucket{}[$__range])) by (le, path,method)) * 1000",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "{{path}} {{method}}",
"range": false,
"refId": "95"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "histogram_quantile(0.99, sum(rate(app_http_response_bucket{}[$__range])) by (le, path,method)) * 1000",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "{{path}} {{method}}",
"range": false,
"refId": "99"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "histogram_quantile(0.90, sum(rate(app_http_response_bucket{}[$__range])) by (le, path,method)) * 1000",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "{{path}} {{method}}",
"range": false,
"refId": "90"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(increase(app_http_response_count{}[$__range])) by (le, path,method)",
"format": "table",
"hide": true,
"instant": true,
"legendFormat": "{{path}} {{method}}",
"range": false,
"refId": "A"
}
],
"title": "Route Level SLA",
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"status": true
},
"indexByName": {
"Time": 0,
"Value": 7,
"Value #90": 3,
"Value #95": 4,
"Value #99": 5,
"Value #99.9": 6,
"method": 1,
"path": 2
},
"renameByName": {
"Time": "",
"Value": "Count",
"Value #2xx": "Response Code 2xx",
"Value #400": "Response Code 400",
"Value #401": "Response Code 401",
"Value #404": "Response Code 404",
"Value #50": "50%(ms)",
"Value #5xx": "Response Code 5xx",
"Value #90": "p90",
"Value #95": "p95",
"Value #99": "p99",
"Value #99.9": "p99.9",
"Value #A": "Count",
"Value #Total": "Total Count",
"method": "Method",
"path": "Path",
"status": "Status"
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "left",
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"links": [
{
"targetBlank": true,
"title": "Path Level Dashboard",
"url": "/d/InboundCallsPathLevelDrillDownDashboard/path-level-drill-down-dashboard?orgId=1&var-DataSource=$${DataSource}&var-namespace=$${namespace}&var-service=$${service}&var-path=$${__data.fields.Path}&var-method=$${__data.fields.Method}&from=$${__from}&to=$${__to} "
}
],
"mappings": [],
"noValue": "N/A",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "purple",
"value": 80
}
]
},
"unitScale": true
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Path"
},
"properties": [
{
"id": "custom.width",
"value": 258
}
]
}
]
},
"gridPos": {
"h": 9,
"w": 24,
"x": 0,
"y": 40
},
"id": 75,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": "",
"reducer": [],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": false,
"displayName": "Method"
}
]
},
"pluginVersion": "10.3.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by(path,method)(increase(app_http_response_count{status=\"400\"}[$__range]))",
"format": "table",
"instant": true,
"legendFormat": "{{path}} {{method}}",
"range": false,
"refId": "400"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by(path,method)(increase(app_http_response_count{status=\"401\"}[$__range]))",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "{{path}} {{method}}",
"range": false,
"refId": "401"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by(path,method)(increase(app_http_response_count{status=\"403\"}[$__range]))",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "{{path}} {{method}}",
"range": false,
"refId": "403"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by(path,method)(increase(app_http_response_count{status=\"404\"}[$__range]))",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "{{path}} {{method}}",
"range": false,
"refId": "404"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by(path,method)(increase(app_http_response_count{status=~\"5.+\"}[$__range]))",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "{{path}} {{method}}",
"range": false,
"refId": "5xx"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by(path,method)(increase(app_http_response_count{status=~\"2.+\"}[$__range]))",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "{{path}} {{method}}",
"range": false,
"refId": "2xx"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by(path,method)(increase(app_http_response_count{}[$__range]))",
"format": "table",
"hide": true,
"instant": true,
"legendFormat": "{{path}} {{method}}",
"range": false,
"refId": "Total"
}
],
"title": "Route Level Response Code",
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"status": true
},
"indexByName": {
"Time": 0,
"Value #2xx": 3,
"Value #400": 4,
"Value #401": 5,
"Value #403": 6,
"Value #404": 7,
"Value #5xx": 8,
"Value #Total": 9,
"method": 1,
"path": 2
},
"renameByName": {
"Time": "",
"Value #2xx": "2xx",
"Value #400": "400",
"Value #401": "401",
"Value #403": "403",
"Value #404": "404",
"Value #50": "50%(ms)",
"Value #5xx": "5xx",
"Value #90": "90%(ms)",
"Value #95": "95%(ms)",
"Value #99": "99%(ms)",
"Value #Total": "Total",
"method": "Method",
"path": "Path",
"status": "Status"
}
}
}
],
"type": "table"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 49
},
"id": 20,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"refId": "A"
}
],
"title": "Outbound Requests",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"description": "Outbound request level 99%ile response time",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Time (sec)",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [
{
"targetBlank": true,
"title": "Path level drill down ",
"url": "/d/OutboundCallsPathLevelDrillDownDashboard/path-level-drill-down-dashboard?orgId=1&var-DataSource=$${DataSource}&var-namespace=$${namespace}&var-service=$${service}&var-path=$${__field.labels.path}&var-method=$${__field.labels.method}&from=$${__from}&to=$${__to}"
}
],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s",
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 50
},
"id": 28,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "histogram_quantile(0.90, sum(rate(app_http_service_response_bucket{}[$__rate_interval])) by (le))",
"legendFormat": "90",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "histogram_quantile(0.95, sum(rate(app_http_service_response_bucket{}[$__rate_interval])) by (le))",
"hide": false,
"legendFormat": "95",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "histogram_quantile(0.99, sum(rate(app_http_service_response_bucket{}[$__rate_interval])) by (le))",
"hide": false,
"legendFormat": "99",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "histogram_quantile(0.999, sum(rate(app_http_service_response_bucket{}[$__rate_interval])) by (le))",
"hide": false,
"legendFormat": "99.9",
"range": true,
"refId": "D"
}
],
"title": "Response Time SLA",
"type": "timeseries"
},
{
"cards": {},
"color": {
"cardColor": "#96D98D",
"colorScale": "sqrt",
"colorScheme": "interpolateGreens",
"exponent": 0.5,
"mode": "opacity"
},
"dataFormat": "tsbuckets",
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"description": "",
"fieldConfig": {
"defaults": {
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"scaleDistribution": {
"type": "linear"
}
},
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 50
},
"heatmap": {},
"hideZeroBuckets": false,
"highlightCards": true,
"id": 94,
"legend": {
"show": false
},
"options": {
"calculate": false,
"calculation": {},
"cellGap": 2,
"cellValues": {},
"color": {
"exponent": 0.5,
"fill": "#96D98D",
"mode": "opacity",
"reverse": false,
"scale": "exponential",
"scheme": "Oranges",
"steps": 128
},
"exemplars": {
"color": "rgba(255,0,255,0.7)"
},
"filterValues": {
"le": 1e-9
},
"legend": {
"show": false
},
"rowsFrame": {
"layout": "auto"
},
"showValue": "never",
"tooltip": {
"mode": "single",
"showColorScale": false,
"yHistogram": false
},
"yAxis": {
"axisPlacement": "left",
"reverse": false,
"unit": "s"
}
},
"pluginVersion": "10.3.3",
"reverseYBuckets": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "sum(increase(app_http_service_response_bucket{}[$__rate_interval])) by (le)",
"format": "heatmap",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Request Latency Distribution",
"tooltip": {
"show": true,
"showHistogram": false
},
"type": "heatmap",
"xAxis": {
"show": true
},
"yAxis": {
"format": "s",
"logBase": 1,
"show": true
},
"yBucketBound": "auto"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "No. of requests",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [
{
"targetBlank": true,
"title": "Path level Dashboard",
"url": "/d/OutboundCallsPathLevelDrillDownDashboard/path-level-drill-down-dashboard?orgId=1&var-DataSource=$${DataSource}&var-namespace=$${namespace}&var-service=$${service}&var-path=$${__field.labels.path}&var-method=$${__field.labels.method}&from=$${__from}&to=$${__to}"
}
],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short",
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 58
},
"id": 26,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "sum by (path, method) (\n increase(app_http_service_response_count{}[$__rate_interval])\n)",
"legendFormat": "__auto",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "sum(increase(app_http_service_response_count{}[$__rate_interval]))",
"hide": true,
"legendFormat": "__auto",
"range": true,
"refId": "B"
}
],
"title": "Request Count over time",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Request Count ",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short",
"unitScale": true
},
"overrides": [
{
"__systemRef": "hideSeriesFrom",
"matcher": {
"id": "byNames",
"options": {
"mode": "exclude",
"names": [
"Value"
],
"prefix": "All except:",
"readOnly": true
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": false,
"tooltip": false,
"viz": true
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 58
},
"id": 22,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "sum by (status) (\n increase(app_http_service_response_count{}[$__rate_interval])\n)",
"legendFormat": "{{status}}",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "sum(increase(app_http_service_response_count{}[$__rate_interval]))",
"hide": true,
"legendFormat": "sum",
"range": true,
"refId": "B"
}
],
"title": "Response Code Over Time",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "left",
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"links": [
{
"targetBlank": true,
"title": "Path Level Dashboard",
"url": "/d/OutboundCallsPathLevelDrillDownDashboard/path-level-drill-down-dashboard?orgId=1&var-DataSource=$${DataSource}&var-namespace=$${namespace}&var-service=$${service}&var-path=$${__data.fields.Path}&var-method=$${__data.fields.Method}&from=$${__from}&to=$${__to}"
}
],
"mappings": [
{
"options": {
"NaN": {
"index": 0,
"text": "N/A"
}
},
"type": "value"
}
],
"noValue": "N/A",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "orange"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ms",
"unitScale": true
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Path"
},
"properties": [
{
"id": "custom.width",
"value": 342
}
]
},
{
"matcher": {
"id": "byName",
"options": "Count"
},
"properties": [
{
"id": "unit",
"value": "none"
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 66
},
"id": 77,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": "",
"reducer": [],
"show": false
},
"showHeader": true,
"sortBy": []
},
"pluginVersion": "10.3.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "histogram_quantile(0.99, sum(rate(app_http_service_response_bucket{}[$__range])) by (le, path,method)) * 1000",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "{{path}} {{method}}",
"range": false,
"refId": "99"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "histogram_quantile(0.95, sum(rate(app_http_service_response_bucket{}[$__range])) by (le, path,method)) * 1000",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "{{path}} {{method}}",
"range": false,
"refId": "95"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "histogram_quantile(0.90, sum(rate(app_http_service_response_bucket{}[$__range])) by (le, path,method)) * 1000",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "{{path}} {{method}}",
"range": false,
"refId": "90"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "histogram_quantile(0.999, sum(rate(app_http_service_response_bucket{}[$__range])) by (le, path,method)) * 1000",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "{{path}} {{method}}",
"range": false,
"refId": "99.9"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by (service,method,path) (increase(app_http_service_response_count{}[$__range]))",
"format": "table",
"hide": true,
"instant": true,
"interval": "",
"legendFormat": "{{path}} {{method}}",
"range": false,
"refId": "A"
}
],
"title": "Route Level SLA",
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"le": true,
"status": true
},
"indexByName": {
"Time": 0,
"Value #90": 3,
"Value #95": 4,
"Value #99": 5,
"Value #99.9": 6,
"method": 1,
"path": 2
},
"renameByName": {
"Value #2xx": "Response Code 2xx",
"Value #400": "Response Code 400",
"Value #404": "Response Code 404",
"Value #50": "50%(ms)",
"Value #90": "p90",
"Value #95": "p95",
"Value #99": "p99",
"Value #99.9": "p99.9",
"Value #A": "Count",
"Value #total": "Total Count",
"method": "Method",
"path": "Path",
"status": "Status",
"{status=\"400\"}": "400"
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "left",
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"links": [
{
"targetBlank": true,
"title": "Path Level Dashboard",
"url": "/d/OutboundCallsPathLevelDrillDownDashboard/path-level-drill-down-dashboard?orgId=1&var-DataSource=$${DataSource}&var-namespace=$${namespace}&var-service=$${service}&var-path=$${__data.fields.Path}&var-method=$${__data.fields.Method}&from=$${__from}&to=$${__to}"
}
],
"mappings": [],
"noValue": "N/A",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "orange"
},
{
"color": "red",
"value": 80
}
]
},
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 74
},
"id": 78,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": "",
"reducer": [],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": false,
"displayName": "Path"
}
]
},
"pluginVersion": "10.3.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by(path,method)(increase(app_http_service_response_count{}[$__range]))",
"format": "table",
"instant": true,
"legendFormat": "Verbose",
"range": false,
"refId": "400"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by(path,method)(increase(app_http_service_response_count{}[$__range]))",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "",
"range": false,
"refId": "401"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by(path,method)(increase(app_http_service_response_count{}[$__range]))",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "",
"range": false,
"refId": "404"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by(path,method)(increase(app_http_service_response_count{}[$__range]))",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "",
"range": false,
"refId": "5xx"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by(path,method)(increase(app_http_service_response_count{}[$__range]))",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "",
"range": false,
"refId": "2xx"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by(path,method)(increase(app_http_service_response_count{}[$__range]))",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "",
"range": false,
"refId": "403"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by(path,method) (increase(app_http_service_response_count{}[$__range]))",
"format": "table",
"hide": true,
"instant": true,
"legendFormat": "",
"range": false,
"refId": "Total"
}
],
"title": "Route Level Response Code",
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"status": true
},
"indexByName": {
"Time": 0,
"Value #2xx": 3,
"Value #400": 4,
"Value #401": 5,
"Value #403": 6,
"Value #404": 7,
"Value #5xx": 8,
"Value #A": 9,
"method": 1,
"path": 2
},
"renameByName": {
"Value #2xx": "2xx",
"Value #400": "400",
"Value #401": "401",
"Value #403": "403",
"Value #404": "404",
"Value #50": "50%(ms)",
"Value #5xx": "5xx",
"Value #90": "90%(ms)",
"Value #95": "95%(ms)",
"Value #99": "99%(ms)",
"Value #A": "Total",
"Value #total": "Total",
"method": "Method",
"path": "Path",
"status": "Status",
"{status=\"400\"}": "400"
}
}
}
],
"type": "table"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 82
},
"id": 30,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"refId": "A"
}
],
"title": "SQL Database",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Time (sec)",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s",
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 83
},
"id": 34,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "histogram_quantile(0.90, sum(rate(app_sql_stats_bucket{}[$__rate_interval])) by (le))",
"legendFormat": "p90",
"range": true,
"refId": "90"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "histogram_quantile(0.95, sum(rate(app_sql_stats_bucket{}[$__rate_interval])) by (le))",
"hide": false,
"legendFormat": "p95",
"range": true,
"refId": "95"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "histogram_quantile(0.99, sum(rate(app_sql_stats_bucket{}[$__rate_interval])) by (le))",
"hide": false,
"legendFormat": "p99",
"range": true,
"refId": "99"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "histogram_quantile(0.999, sum(rate(app_sql_stats_bucket{}[$__rate_interval])) by (le))",
"hide": false,
"legendFormat": "p99.9",
"range": true,
"refId": "99.9"
}
],
"title": "Response Time SLA",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "No. of query ",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short",
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 83
},
"id": 32,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "sum by (type) (rate(app_sql_stats_count{}[$__rate_interval]))",
"legendFormat": "{{type}} - {{database}}",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "sum(rate(app_sql_stats_count{}[$__rate_interval]))",
"hide": true,
"legendFormat": "Total",
"range": true,
"refId": "B"
}
],
"title": "Query Count over Time",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "smooth",
"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"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short",
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 92
},
"id": 58,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.2.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "app_sql_inUse_connections{}",
"hide": false,
"legendFormat": "InUse",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "app_sql_open_connections{}",
"hide": false,
"legendFormat": "Open",
"range": true,
"refId": "C"
}
],
"title": "Connection Count",
"transformations": [],
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"mappings": [
{
"options": {
"NaN": {
"index": 0,
"text": "N/A"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ms",
"unitScale": true
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Count"
},
"properties": [
{
"id": "unit",
"value": "none"
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 100
},
"id": 95,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": []
},
"pluginVersion": "10.3.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "histogram_quantile(0.90, sum(rate(app_sql_stats_bucket{}[$__range])) by (le,type))",
"format": "table",
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "90"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "histogram_quantile(0.95, sum(rate(app_sql_stats_bucket{}[$__range])) by (le,type))",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "95"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "histogram_quantile(0.99, sum(rate(app_sql_stats_bucket{}[$__range])) by (le,type))",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "99"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "histogram_quantile(0.999, sum(rate(app_sql_stats_bucket{}[$__range])) by (le,type))",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "99.9"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by(type)(increase(app_sql_stats_count{}[$__range]))",
"format": "table",
"hide": true,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
}
],
"title": "Query Type Level SLA",
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true
},
"indexByName": {},
"renameByName": {
"Value #90": "p90",
"Value #95": "p95",
"Value #99": "p99",
"Value #99.9": "p99.9",
"Value #A": "Total",
"Value #B": "p90",
"Value #C": "p99",
"Value #D": "p99.9",
"Value #E": "Count",
"type": "Type"
}
}
}
],
"type": "table"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 106
},
"id": 42,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"refId": "A"
}
],
"title": "Redis",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Time (sec)",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s",
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 107
},
"id": 36,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "histogram_quantile(0.90, sum(rate(app_redis_stats_bucket{}[$__rate_interval])) by (le))",
"legendFormat": "p90",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "histogram_quantile(0.95, sum(rate(app_redis_stats_bucket{}[$__rate_interval])) by (le))",
"hide": false,
"legendFormat": "p95",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "histogram_quantile(0.99, sum(rate(app_redis_stats_bucket{}[$__rate_interval])) by (le))",
"hide": false,
"legendFormat": "p99",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "histogram_quantile(0.999, sum(rate(app_redis_stats_bucket{}[$__rate_interval])) by (le))",
"hide": false,
"legendFormat": "p99.9",
"range": true,
"refId": "D"
}
],
"title": "Response Time SLA",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "No. of query ",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short",
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 107
},
"id": 46,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "sum by (type) (rate(app_redis_stats_bucket{}[$__rate_interval]))",
"legendFormat": "__auto",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"expr": "sum (rate(app_redis_stats_bucket{}[$__rate_interval]))",
"hide": true,
"legendFormat": "Total",
"range": true,
"refId": "B"
}
],
"title": "Query Count over Time",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s",
"unitScale": true
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Count"
},
"properties": [
{
"id": "unit",
"value": "none"
}
]
}
]
},
"gridPos": {
"h": 5,
"w": 24,
"x": 0,
"y": 115
},
"id": 107,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": false,
"displayName": "Type"
}
]
},
"pluginVersion": "10.3.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "histogram_quantile(0.90, sum(rate(app_redis_stats_bucket{}[$__range])) by (le,type))",
"format": "table",
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "90"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "histogram_quantile(0.95, sum(rate(app_redis_stats_bucket{}[$__range])) by (le,type))",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "95"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "histogram_quantile(0.99, sum(rate(app_redis_stats_bucket{}[$__range])) by (le,type))",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "99"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "histogram_quantile(0.999, sum(rate(app_redis_stats_bucket{}[$__range])) by (le,type))",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "99.9"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by(type)(increase(app_redis_stats_count{}[$__range]))",
"format": "table",
"hide": true,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
}
],
"title": "Query Type Level SLA",
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true
},
"indexByName": {},
"renameByName": {
"Value #90": "p90",
"Value #95": "p95",
"Value #99": "p99",
"Value #99.9": "p99.9",
"Value #A": "Total",
"Value #B": "p90",
"Value #C": "p99",
"Value #D": "p99.9",
"Value #E": "Count",
"type": "Type"
}
}
}
],
"type": "table"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 120
},
"id": 60,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"refId": "A"
}
],
"title": "PubSub Consumer",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 24,
"x": 0,
"y": 121
},
"id": 114,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [],
"fields": "/.*/",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.3.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "app_pubsub_subscribe_total_count_total{}",
"format": "table",
"instant": true,
"range": false,
"refId": "A"
}
],
"title": "Topics",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"Value": true,
"__name__": true,
"consumerGroup": true,
"container": true,
"endpoint": true,
"instance": true,
"job": true,
"namespace": true,
"otel_scope_name": true,
"otel_scope_version": true,
"pod": true,
"prometheus": true,
"prometheus_replica": true,
"service": true
},
"includeByName": {},
"indexByName": {
"Time": 1,
"Value": 13,
"__name__": 2,
"consumerGroup": 3,
"container": 4,
"endpoint": 5,
"instance": 6,
"job": 7,
"namespace": 8,
"pod": 9,
"prometheus": 10,
"prometheus_replica": 11,
"service": 12,
"topic": 0
},
"renameByName": {}
}
}
],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short",
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 24,
"x": 0,
"y": 125
},
"id": 62,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum by (topic) (increase(app_pubsub_subscribe_total_count_total{}[$__rate_interval]))",
"legendFormat": "__auto",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum (increase(app_pubsub_subscribe_total_count_total{}[$__rate_interval]))",
"hide": false,
"legendFormat": "__auto",
"range": true,
"refId": "B"
}
],
"title": "Consumption Over Time (Receive)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short",
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 135
},
"id": 120,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum by (topic) (increase(app_pubsub_subscribe_success_count_total[$__rate_interval]))",
"legendFormat": "__auto",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum (increase(app_pubsub_subscribe_success_count_total{}[$__rate_interval]))",
"hide": false,
"legendFormat": "__auto",
"range": true,
"refId": "B"
}
],
"title": "Consumption Over Time (Success)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short",
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 135
},
"id": 121,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum by (topic) (\n increase(app_pubsub_subscribe_total_count_total{}[$__rate_interval])\n)\n-\nsum by (topic) (\n increase(app_pubsub_subscribe_success_count_total{}[$__rate_interval])\n)",
"legendFormat": "__auto",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum (\n increase(app_pubsub_subscribe_total_count_total{}[$__rate_interval])\n)\n-\nsum (\n increase(app_pubsub_subscribe_success_count_total{}[$__rate_interval])\n)",
"hide": false,
"legendFormat": "Total Failure",
"range": true,
"refId": "B"
}
],
"title": "Consumption Over Time (Failure)",
"type": "timeseries"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 144
},
"id": 48,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"refId": "A"
}
],
"title": "PubSub Publisher",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 145
},
"id": 118,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/^topic$/",
"values": true
},
"showPercentChange": false,
"text": {},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.3.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "app_pubsub_publish_total_count_total{}",
"format": "table",
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
}
],
"title": "Topics",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"Value": true,
"__name__": true,
"consumerGroup": true,
"container": true,
"endpoint": true,
"instance": true,
"job": true,
"namespace": true,
"pod": true,
"prometheus": true,
"prometheus_replica": true,
"service": true
},
"indexByName": {
"Time": 1,
"Value": 13,
"__name__": 2,
"consumerGroup": 3,
"container": 4,
"endpoint": 5,
"instance": 6,
"job": 7,
"namespace": 8,
"pod": 9,
"prometheus": 10,
"prometheus_replica": 11,
"service": 12,
"topic": 0
},
"renameByName": {}
}
}
],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short",
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 24,
"x": 0,
"y": 153
},
"id": 64,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum by (topic) (increase(app_pubsub_publish_total_count_total{}[$__rate_interval]))",
"instant": false,
"legendFormat": "{{topic}}({{consumerGroup}})",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum (increase(app_pubsub_publish_total_count_total{}[$__rate_interval]))",
"hide": false,
"instant": false,
"legendFormat": "Total",
"range": true,
"refId": "B"
}
],
"title": "Publish Over Time (Total)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short",
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 163
},
"id": 122,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum by (topic) (\n increase(app_pubsub_publish_success_count_total{}[$__rate_interval])\n)",
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(\n increase(app_pubsub_publish_success_count_total{}[$__rate_interval])\n)",
"hide": false,
"instant": false,
"legendFormat": "Total Success",
"range": true,
"refId": "B"
}
],
"title": "Publish Over Time (Success)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short",
"unitScale": true
},
"overrides": [
{
"__systemRef": "hideSeriesFrom",
"matcher": {
"id": "byNames",
"options": {
"mode": "exclude",
"names": [
"{consumerGroup=\"gofr-consumerGroup\", topic=\"tn-subscription\"}"
],
"prefix": "All except:",
"readOnly": true
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": false,
"tooltip": false,
"viz": true
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 163
},
"id": 123,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum by (topic) (\n increase(app_pubsub_publish_total_count_total{}[$__rate_interval])\n)\n-\nsum by (topic) (\n increase(app_pubsub_publish_success_count_total{}[$__rate_interval])\n)",
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum (\n increase(app_pubsub_publish_total_count_total{}[$__rate_interval])\n)\n-\nsum (\n increase(app_pubsub_publish_success_count_total{}[$__rate_interval])\n)",
"hide": false,
"instant": false,
"legendFormat": "Total Failure",
"range": true,
"refId": "B"
}
],
"title": "Publish Over Time (Failure)",
"type": "timeseries"
}
],
"refresh": "5s",
"schemaVersion": 39,
"tags": [
"Observability Common"
],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "prometheus",
"value": "f7d51eca-7c3e-4b91-81a6-00d485fddaba"
},
"hide": 0,
"includeAll": false,
"label": "Data Source",
"multi": false,
"name": "DataSource",
"options": [],
"query": "prometheus",
"queryValue": "",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
},
{
"current": {
"selected": true,
"text": "order-service",
"value": "order-service"
},
"datasource": {
"type": "prometheus",
"uid": "${DataSource}"
},
"definition": "label_values(app_name)",
"hide": 0,
"includeAll": false,
"label": "",
"multi": false,
"name": "Service",
"options": [],
"query": {
"qryType": 1,
"query": "label_values(app_name)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"type": "query"
}
]
},
"time": {
"from": "now-30m",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "GoFr - Application Services Monitoring",
"uid": "SMDAllServices123",
"version": 7,
"weekStart": ""
}