fix: show logical bus depth and pending age
This commit is contained in:
@@ -715,7 +715,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 26,
|
"id": 26,
|
||||||
"title": "Broker stream length",
|
"title": "Bus logical queue depth",
|
||||||
"type": "timeseries",
|
"type": "timeseries",
|
||||||
"datasource": {
|
"datasource": {
|
||||||
"type": "prometheus",
|
"type": "prometheus",
|
||||||
@@ -730,7 +730,7 @@
|
|||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"expr": "redis_stream_length{key=\"attachment.jobs.v1\"}"
|
"expr": "messenger_queue_depth"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
@@ -742,7 +742,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 27,
|
"id": 27,
|
||||||
"title": "Broker pending messages",
|
"title": "Bus oldest pending job age",
|
||||||
"type": "timeseries",
|
"type": "timeseries",
|
||||||
"datasource": {
|
"datasource": {
|
||||||
"type": "prometheus",
|
"type": "prometheus",
|
||||||
@@ -757,12 +757,12 @@
|
|||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"expr": "redis_stream_groups_consumer_pending_messages{key=\"attachment.jobs.v1\"}"
|
"expr": "messenger_queue_oldest_age_seconds"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"unit": "short"
|
"unit": "s"
|
||||||
},
|
},
|
||||||
"overrides": []
|
"overrides": []
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user