/
Remote Agent Queue Function Timing
Remote Agent Queue Function Timing
This dashboard is mainly for debugging and tracking individual channels (which may be displaying low throughput). It surfaces the amount of time being spent in each queue operation.
JSON
{
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "10.1.1"
},
{
"type": "panel",
"id": "piechart",
"name": "Pie chart",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"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": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 17,
"title": "System",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"axisSoftMin": 0,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"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": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 6,
"x": 0,
"y": 1
},
"id": 9,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right",
"showLegend": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "8.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "remoteagent_process_performance{RemoteAgentName=\"$remoteagent\",Metric=\"cpu\"}",
"format": "time_series",
"interval": "",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Remote Agent CPU",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"axisSoftMin": 0,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"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": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 6,
"x": 6,
"y": 1
},
"id": 21,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right",
"showLegend": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "8.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "remoteagent_process_performance{RemoteAgentName=\"$remoteagent\",Metric=\"memory\"}",
"format": "time_series",
"interval": "",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Remote Agent Mem Usage",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"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
}
]
},
"unit": "locale"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 1
},
"id": 23,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(remoteagent_mongorepository_performance_metrics{RemoteAgentName=\"$remoteagent\",Metric=\"query\"}[$__rate_interval])",
"interval": "",
"legendFormat": "Query",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(remoteagent_mongorepository_performance_metrics{RemoteAgentName=\"$remoteagent\",Metric=\"getmore\"}[$__rate_interval])",
"hide": false,
"interval": "",
"legendFormat": "GetMore",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(remoteagent_mongorepository_performance_metrics{RemoteAgentName=\"$remoteagent\",Metric=\"insert\"}[$__rate_interval])",
"hide": false,
"interval": "",
"legendFormat": "Insert",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(remoteagent_mongorepository_performance_metrics{RemoteAgentName=\"$remoteagent\",Metric=\"update\"}[$__rate_interval])",
"hide": false,
"interval": "",
"legendFormat": "Update",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(remoteagent_mongorepository_performance_metrics{RemoteAgentName=\"$remoteagent\",Metric=\"delete\"}[$__rate_interval])",
"hide": false,
"interval": "",
"legendFormat": "Delete",
"range": true,
"refId": "E"
}
],
"title": "Query Ops",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"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": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "mps"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 7
},
"id": 20,
"options": {
"legend": {
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "remoteagent_throughput{RemoteAgent=\"$remoteagent\"}",
"instant": false,
"interval": "",
"legendFormat": "{{QueueType}}",
"range": true,
"refId": "A"
}
],
"title": "Message Throughput (RA = $remoteagent)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"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": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "mps"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 7
},
"id": 6,
"options": {
"legend": {
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "remoteagent_channel_throughput{RemoteAgent=\"$remoteagent\",Channel=\"$channel\"}",
"instant": false,
"interval": "",
"legendFormat": "{{QueueType}}",
"range": true,
"refId": "A"
}
],
"title": "Message Throughput (Channel = $channel)",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 14
},
"id": 18,
"panels": [],
"title": "Insert",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 100,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "percent"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 16,
"x": 0,
"y": 15
},
"id": 7,
"options": {
"legend": {
"calcs": [
"lastNotNull",
"mean"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"AcquireLock\",Category=\"Q\"}) /sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\",Category=\"Q\"}) ",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "AcquireLock",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"InsertIntoDb\",Category=\"Q\"}) /sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\",Category=\"Q\"}) ",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "InsertIntoDb",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"SaveAttachments\",Category=\"Q\"}) /sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\",Category=\"Q\"}) ",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "SaveAttachments",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"SerializeCompressMessage\",Category=\"Q\"}) /sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\",Category=\"Q\"}) ",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "SerializeCompressMessage",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"SerializeCompressProcHistory\",Category=\"Q\"}) /sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\",Category=\"Q\"}) ",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "SerializeCompressProcHistory",
"range": true,
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"UpdateMessage\",Category=\"Q\"}) /sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\",Category=\"Q\"}) ",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "UpdateMessage",
"range": true,
"refId": "F"
}
],
"title": "Insert Function as Percentage",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": [],
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 15
},
"id": 8,
"options": {
"displayLabels": [
"percent",
"name"
],
"legend": {
"displayMode": "table",
"placement": "right",
"showLegend": true,
"values": [
"value"
]
},
"pieType": "donut",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"AcquireLock\",Category=\"Q\"}) /sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\",Category=\"Q\"}) ",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "AcquireLock",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"InsertIntoDb\",Category=\"Q\"}) /sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\",Category=\"Q\"}) ",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "InsertIntoDb",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"SaveAttachments\",Category=\"Q\"}) /sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\",Category=\"Q\"}) ",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "SaveAttachments",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"SerializeCompressMessage\",Category=\"Q\"}) /sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\",Category=\"Q\"}) ",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "SerializeCompressMessage",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"SerializeCompressProcHistory\",Category=\"Q\"}) /sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\",Category=\"Q\"}) ",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "SerializeCompressProcHistory",
"range": true,
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"UpdateMessage\",Category=\"Q\"}) /sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\",Category=\"Q\"}) ",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "UpdateMessage",
"range": true,
"refId": "F"
}
],
"title": "Insert Function as Percentage",
"type": "piechart"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"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": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 16,
"x": 0,
"y": 22
},
"id": 1,
"options": {
"legend": {
"calcs": [
"lastNotNull",
"mean"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\",Category=\"Q\"} / remoteagent_queue_function_latency_in_s_count{Channel=\"$channel\",Category=\"Q\"}",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "{{Operation}}",
"range": true,
"refId": "A"
}
],
"title": "Average Insert Message Operation Time",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 22
},
"id": 14,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "10.1.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Category=\"Q\"}) / on () remoteagent_queue_function_latency_in_s_count{Channel=\"$channel\", Category=\"Q\", Operation=\"AcquireLock\"}",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "__auto",
"range": true,
"refId": "B"
}
],
"title": "Average Summed Insert Operation",
"type": "stat"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 29
},
"id": 19,
"panels": [],
"title": "Process",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 100,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "percent"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 16,
"x": 0,
"y": 30
},
"id": 13,
"options": {
"legend": {
"calcs": [
"lastNotNull",
"mean"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"AcquireLock\",Category=\"P\"}) /sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\",Category=\"P\"}) ",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "AquireLock",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"CreateContexts\",Category=\"P\"}) /sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\",Category=\"P\"}) ",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "CreateContexts",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"DecompressAndDeserializeMessage\",Category=\"P\"}) /sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\",Category=\"P\"}) ",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "Decomp & Deser",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"DequeueFromDb\",Category=\"P\"}) /sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\",Category=\"P\"}) ",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "DequeueFromDb",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"SetOutboundMessage\",Category=\"P\"}) /sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\",Category=\"P\"}) ",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "SetOutboundMessage",
"range": true,
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"StoreResultCompression\",Category=\"P\"}) /sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\",Category=\"P\"}) ",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "StoreResultCompression",
"range": true,
"refId": "F"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"StoreResultToDb\",Category=\"P\"}) /sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\",Category=\"P\"}) ",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "StoreResultToDb",
"range": true,
"refId": "G"
}
],
"title": "Process Function as Percentage",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": [],
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 30
},
"id": 12,
"options": {
"displayLabels": [
"percent",
"name"
],
"legend": {
"displayMode": "table",
"placement": "right",
"showLegend": true,
"values": [
"value"
]
},
"pieType": "donut",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"AcquireLock\",Category=\"P\"}) /sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\",Category=\"P\"}) ",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "AquireLock",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"CreateContexts\",Category=\"P\"}) /sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\",Category=\"P\"}) ",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "CreateContexts",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"DecompressAndDeserializeMessage\",Category=\"P\"}) /sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\",Category=\"P\"}) ",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "DecompressAndDeserializeMessage",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"DequeueFromDb\",Category=\"P\"}) /sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\",Category=\"P\"}) ",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "DequeueFromDb",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"SetOutboundMessage\",Category=\"P\"}) /sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\",Category=\"P\"}) ",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "SetOutboundMessage",
"range": true,
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"StoreResultCompression\",Category=\"P\"}) /sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\",Category=\"P\"}) ",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "StoreResult",
"range": true,
"refId": "F"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"StoreResultToDb\",Category=\"P\"}) /sum (remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\",Category=\"P\"}) ",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "StoreResult",
"range": true,
"refId": "G"
}
],
"title": "Process Function as Percentage",
"type": "piechart"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"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": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 16,
"x": 0,
"y": 37
},
"id": 11,
"options": {
"legend": {
"calcs": [
"lastNotNull",
"mean"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Category=\"P\"} / remoteagent_queue_function_latency_in_s_count{Channel=\"$channel\",Category=\"P\"}",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "{{Operation}}",
"range": true,
"refId": "B"
}
],
"title": "Average Message Process Operation Time",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 37
},
"id": 16,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "10.1.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "(remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"AcquireLock\", Category=\"P\"} / remoteagent_queue_function_latency_in_s_count{Channel=\"$channel\", Category=\"P\", Operation=\"AcquireLock\"}) +\r\non ()(remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"CreateContexts\", Category=\"P\"} / remoteagent_queue_function_latency_in_s_count{Channel=\"$channel\", Category=\"P\", Operation=\"CreateContexts\"}) +\r\non ()(remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"DecompressAndDeserializeMessage\", Category=\"P\"} / remoteagent_queue_function_latency_in_s_count{Channel=\"$channel\", Category=\"P\", Operation=\"DecompressAndDeserializeMessage\"}) +\r\non ()(remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"DequeueFromDb\", Category=\"P\"} / remoteagent_queue_function_latency_in_s_count{Channel=\"$channel\", Category=\"P\", Operation=\"DequeueFromDb\"}) +\r\non ()(remoteagent_queue_function_latency_in_s_sum{Channel=\"$channel\", Operation=\"SetOutboundMessage\", Category=\"P\"} / remoteagent_queue_function_latency_in_s_count{Channel=\"$channel\", Category=\"P\", Operation=\"SetOutboundMessage\"})",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Average Summed Process Operation",
"type": "stat"
}
],
"refresh": false,
"schemaVersion": 38,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(remoteagent_queue_function_latency_in_s_sum,Group)",
"hide": 0,
"includeAll": false,
"label": "Group",
"multi": false,
"name": "group",
"options": [],
"query": {
"query": "label_values(remoteagent_queue_function_latency_in_s_sum,Group)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(remoteagent_queue_function_latency_in_s_bucket{Group=\"$group\"},RemoteAgentName)",
"hide": 0,
"includeAll": false,
"label": "Remote Agent",
"multi": false,
"name": "remoteagent",
"options": [],
"query": {
"query": "label_values(remoteagent_queue_function_latency_in_s_bucket{Group=\"$group\"},RemoteAgentName)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(remoteagent_queue_function_latency_in_s_sum{RemoteAgentName=\"$remoteagent\"},Tab)",
"hide": 0,
"includeAll": false,
"label": "Tab",
"multi": false,
"name": "tab",
"options": [],
"query": {
"query": "label_values(remoteagent_queue_function_latency_in_s_sum{RemoteAgentName=\"$remoteagent\"},Tab)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(remoteagent_queue_function_latency_in_s_sum{Group=\"$group\", Tab=\"$tab\"},Channel)",
"hide": 0,
"includeAll": false,
"label": "Channel",
"multi": false,
"name": "channel",
"options": [],
"query": {
"query": "label_values(remoteagent_queue_function_latency_in_s_sum{Group=\"$group\", Tab=\"$tab\"},Channel)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
"time": {
"from": "2023-12-14T17:39:59.626Z",
"to": "2023-12-14T17:53:54.196Z"
},
"timepicker": {},
"timezone": "",
"title": "RA Queue Function Timing",
"uid": "cb346f5c-805b-4440-bd26-7c54747338a2",
"version": 13,
"weekStart": ""
}
, multiple selections available,
Related content
Message Delay Dashboard
Message Delay Dashboard
More like this
Remote Agent Data Transfer Dashboard
Remote Agent Data Transfer Dashboard
More like this
Channel Throughput
Channel Throughput
More like this
Plugin Dashboard
Plugin Dashboard
More like this
Execution Group Dashboard
Execution Group Dashboard
More like this
HL7 Inbound
HL7 Inbound
More like this