Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added mailbox depth metrics to Prometheus latency graph #14

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Added mailbox depth metrics to Prometheus latency graph
Aaronontheweb committed Feb 2, 2022
commit 17ac90865f3cd54f9cf3b863e1c2f0b2c1d3cfed
Original file line number Diff line number Diff line change
@@ -16,6 +16,12 @@
"name": "Bar gauge",
"version": ""
},
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
@@ -48,11 +54,12 @@
}
]
},
"description": "Message-processing latency dashboard for Akka.NET Clusters using Phobos 2.0 and OpenTelemetry.",
"editable": true,
"gnetId": null,
"gnetId": 15638,
"graphTooltip": 0,
"id": null,
"iteration": 1643219126964,
"iteration": 1643796207795,
"links": [],
"panels": [
{
@@ -64,6 +71,205 @@
"x": 0,
"y": 0
},
"id": 11,
"panels": [],
"title": "Mailbox Depth for [$actortype]",
"type": "row"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 1
},
"id": 17,
"options": {
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "7.3.7",
"targets": [
{
"expr": "sum(increase(akka_actor_mailbox_depth_msgs_sum{actortype=~\"$actortype\"}[$__interval]))",
"instant": false,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "$actortype Current Mailbox Size",
"type": "gauge"
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "",
"fieldConfig": {
"defaults": {
"custom": {},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 1
},
"id": 15,
"options": {
"displayMode": "gradient",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showUnfilled": true
},
"pluginVersion": "7.3.7",
"targets": [
{
"expr": "sum(akka_actor_mailbox_depth_msgs_bucket{actortype=~\"$actortype\"}) by (le)",
"format": "heatmap",
"interval": "",
"legendFormat": "{{le}}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "$actortype Mailbox Depth Distribution",
"type": "bargauge"
},
{
"cards": {
"cardPadding": null,
"cardRound": null
},
"color": {
"cardColor": "#b4ff00",
"colorScale": "sqrt",
"colorScheme": "interpolateBlues",
"exponent": 0.5,
"mode": "spectrum"
},
"dataFormat": "tsbuckets",
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 9
},
"heatmap": {},
"hideZeroBuckets": false,
"highlightCards": true,
"id": 13,
"legend": {
"show": false
},
"maxDataPoints": 20,
"pluginVersion": "7.3.7",
"reverseYBuckets": false,
"targets": [
{
"expr": "sum(increase(akka_actor_mailbox_depth_msgs_bucket{actortype=~\"$actortype\"}[$__interval])) by (le)",
"format": "heatmap",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{le}}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "$actortype Mailbox Depth Distribution",
"tooltip": {
"show": true,
"showHistogram": false
},
"type": "heatmap",
"xAxis": {
"show": true
},
"xBucketNumber": null,
"xBucketSize": null,
"yAxis": {
"decimals": null,
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": true,
"splitFactor": null
},
"yBucketBound": "auto",
"yBucketNumber": null,
"yBucketSize": null
},
{
"collapsed": false,
"datasource": "${DS_PROMETHEUS}",
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 17
},
"id": 7,
"panels": [],
"title": "[$msgtype] Cumulative Latencies",
@@ -108,7 +314,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 1
"y": 18
},
"heatmap": {},
"hideZeroBuckets": false,
@@ -183,7 +389,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 1
"y": 18
},
"id": 9,
"maxDataPoints": 25,
@@ -222,7 +428,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 9
"y": 26
},
"id": 5,
"panels": [],
@@ -268,7 +474,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 10
"y": 27
},
"heatmap": {},
"hideZeroBuckets": false,
@@ -343,7 +549,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 10
"y": 27
},
"id": 3,
"maxDataPoints": 25,
@@ -436,7 +642,7 @@
},
"timepicker": {},
"timezone": "",
"title": "Akka.NET Cluster + Phobos OpenTelemetry Metrics - Latency",
"title": "Akka.NET Cluster + Phobos 2.x Message Latency Metrics (Prometheus Data Source)",
"uid": "-MOG0hx7z",
"version": 3
"version": 4
}