Skip to content

Commit

Permalink
Update pre-provisioned dashboards to use the new metrics from NServic…
Browse files Browse the repository at this point in the history
…eBus 9.1
  • Loading branch information
mauroservienti committed Jun 21, 2024
1 parent c7b838c commit e4d0e40
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions src/grafana/dashboards/common_dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "avg by(nservicebus_queue) (increase(nservicebus_messaging_criticaltime_milliseconds_sum[1m])) / avg by(nservicebus_queue) (increase(nservicebus_messaging_criticaltime_milliseconds_count[1m]))",
"expr": "avg by(nservicebus_queue) (increase(nservicebus_messaging_critical_time_seconds_sum[1m])) / avg by(nservicebus_queue) (increase(nservicebus_messaging_critical_time_seconds_count[1m]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
Expand Down Expand Up @@ -214,7 +214,7 @@
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "avg by(nservicebus_message_type) (increase(nservicebus_messaging_criticaltime_milliseconds_sum[1m])) / avg by(nservicebus_message_type) (increase(nservicebus_messaging_criticaltime_milliseconds_count[1m]))",
"expr": "avg by(nservicebus_message_type) (increase(nservicebus_messaging_critical_time_seconds_sum[1m])) / avg by(nservicebus_message_type) (increase(nservicebus_messaging_critical_time_seconds_count[1m]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
Expand Down Expand Up @@ -323,7 +323,7 @@
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "avg by(nservicebus_queue) (increase(nservicebus_messaging_processingtime_milliseconds_sum[1m])) / avg by(nservicebus_queue) (increase(nservicebus_messaging_processingtime_milliseconds_count[1m]))",
"expr": "avg by(nservicebus_queue) (increase(nservicebus_messaging_processing_time_seconds_sum[1m])) / avg by(nservicebus_queue) (increase(nservicebus_messaging_processing_time_seconds_count[1m]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
Expand Down Expand Up @@ -423,7 +423,7 @@
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "avg by(nservicebus_message_type) (increase(nservicebus_messaging_processingtime_milliseconds_sum[1m])) / avg by(nservicebus_message_type) (increase(nservicebus_messaging_processingtime_milliseconds_count[1m]))",
"expr": "avg by(nservicebus_message_type) (increase(nservicebus_messaging_processing_time_seconds_sum[1m])) / avg by(nservicebus_message_type) (increase(nservicebus_messaging_processing_time_seconds_count[1m]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
Expand Down
22 changes: 11 additions & 11 deletions src/grafana/dashboards/loan_broker_dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "avg(increase(nservicebus_messaging_processingtime_milliseconds_sum{nservicebus_queue=\"LoanBroker\"}[1m])) / avg(increase(nservicebus_messaging_criticaltime_milliseconds_count{nservicebus_queue=\"LoanBroker\"}[1m]))",
"expr": "avg(increase(nservicebus_messaging_processing_time_seconds_sum{nservicebus_queue=\"LoanBroker\"}[1m])) / avg(increase(nservicebus_messaging_critical_time_seconds_count{nservicebus_queue=\"LoanBroker\"}[1m]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
Expand All @@ -138,7 +138,7 @@
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "avg(increase(nservicebus_messaging_criticaltime_milliseconds_sum{nservicebus_queue=\"LoanBroker\"}[1m])) / avg(increase(nservicebus_messaging_criticaltime_milliseconds_count{nservicebus_queue=\"LoanBroker\"}[1m]))",
"expr": "avg(increase(nservicebus_messaging_critical_time_seconds_sum{nservicebus_queue=\"LoanBroker\"}[1m])) / avg(increase(nservicebus_messaging_critical_time_seconds_count{nservicebus_queue=\"LoanBroker\"}[1m]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
Expand Down Expand Up @@ -252,7 +252,7 @@
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "avg(increase(nservicebus_messaging_processingtime_milliseconds_sum{nservicebus_queue=\"Client\"}[1m])) / avg(increase(nservicebus_messaging_criticaltime_milliseconds_count{nservicebus_queue=\"Client\"}[1m]))",
"expr": "avg(increase(nservicebus_messaging_processing_time_seconds_sum{nservicebus_queue=\"Client\"}[1m])) / avg(increase(nservicebus_messaging_critical_time_seconds_count{nservicebus_queue=\"Client\"}[1m]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
Expand All @@ -268,7 +268,7 @@
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "avg(increase(nservicebus_messaging_criticaltime_milliseconds_sum{nservicebus_queue=\"Client\"}[1m])) / avg(increase(nservicebus_messaging_criticaltime_milliseconds_count{nservicebus_queue=\"Client\"}[1m]))",
"expr": "avg(increase(nservicebus_messaging_critical_time_seconds_sum{nservicebus_queue=\"Client\"}[1m])) / avg(increase(nservicebus_messaging_critical_time_seconds_count{nservicebus_queue=\"Client\"}[1m]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
Expand Down Expand Up @@ -382,7 +382,7 @@
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "avg(increase(nservicebus_messaging_processingtime_milliseconds_sum{nservicebus_queue=\"Bank1Adapter\"}[1m])) / avg(increase(nservicebus_messaging_criticaltime_milliseconds_count{nservicebus_queue=\"Bank1Adapter\"}[1m]))",
"expr": "avg(increase(nservicebus_messaging_processing_time_seconds_sum{nservicebus_queue=\"Bank1Adapter\"}[1m])) / avg(increase(nservicebus_messaging_critical_time_seconds_count{nservicebus_queue=\"Bank1Adapter\"}[1m]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
Expand All @@ -398,7 +398,7 @@
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "avg(increase(nservicebus_messaging_criticaltime_milliseconds_sum{nservicebus_queue=\"Bank1Adapter\"}[1m])) / avg(increase(nservicebus_messaging_criticaltime_milliseconds_count{nservicebus_queue=\"Bank1Adapter\"}[1m]))",
"expr": "avg(increase(nservicebus_messaging_critical_time_seconds_sum{nservicebus_queue=\"Bank1Adapter\"}[1m])) / avg(increase(nservicebus_messaging_critical_time_seconds_count{nservicebus_queue=\"Bank1Adapter\"}[1m]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
Expand Down Expand Up @@ -512,7 +512,7 @@
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "avg(increase(nservicebus_messaging_processingtime_milliseconds_sum{nservicebus_queue=\"Bank2Adapter\"}[1m])) / avg(increase(nservicebus_messaging_criticaltime_milliseconds_count{nservicebus_queue=\"Bank2Adapter\"}[1m]))",
"expr": "avg(increase(nservicebus_messaging_processing_time_seconds_sum{nservicebus_queue=\"Bank2Adapter\"}[1m])) / avg(increase(nservicebus_messaging_critical_time_seconds_count{nservicebus_queue=\"Bank2Adapter\"}[1m]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
Expand All @@ -528,7 +528,7 @@
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "avg(increase(nservicebus_messaging_criticaltime_milliseconds_sum{nservicebus_queue=\"Bank2Adapter\"}[1m])) / avg(increase(nservicebus_messaging_criticaltime_milliseconds_count{nservicebus_queue=\"Bank2Adapter\"}[1m]))",
"expr": "avg(increase(nservicebus_messaging_critical_time_seconds_sum{nservicebus_queue=\"Bank2Adapter\"}[1m])) / avg(increase(nservicebus_messaging_critical_time_seconds_count{nservicebus_queue=\"Bank2Adapter\"}[1m]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
Expand Down Expand Up @@ -642,7 +642,7 @@
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "avg(increase(nservicebus_messaging_processingtime_milliseconds_sum{nservicebus_queue=\"Bank3Adapter\"}[1m])) / avg(increase(nservicebus_messaging_criticaltime_milliseconds_count{nservicebus_queue=\"Bank3Adapter\"}[1m]))",
"expr": "avg(increase(nservicebus_messaging_processing_time_seconds_sum{nservicebus_queue=\"Bank3Adapter\"}[1m])) / avg(increase(nservicebus_messaging_critical_time_seconds_count{nservicebus_queue=\"Bank3Adapter\"}[1m]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
Expand All @@ -658,7 +658,7 @@
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "avg(increase(nservicebus_messaging_criticaltime_milliseconds_sum{nservicebus_queue=\"Bank3Adapter\"}[1m])) / avg(increase(nservicebus_messaging_criticaltime_milliseconds_count{nservicebus_queue=\"Bank3Adapter\"}[1m]))",
"expr": "avg(increase(nservicebus_messaging_critical_time_seconds_sum{nservicebus_queue=\"Bank3Adapter\"}[1m])) / avg(increase(nservicebus_messaging_critical_time_seconds_count{nservicebus_queue=\"Bank3Adapter\"}[1m]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
Expand Down Expand Up @@ -757,7 +757,7 @@
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "avg by(loan_broker_bank_id) (increase(loan_broker_bank_processing_time_milliseconds_sum[1m])) / avg by(loan_broker_bank_id) (increase(loan_broker_bank_processing_time_milliseconds_count[1m]))",
"expr": "avg by(loan_broker_bank_id) (increase(loan_broker_bank_processing_time_seconds_sum[1m])) / avg by(loan_broker_bank_id) (increase(loan_broker_bank_processing_time_seconds_count[1m]))",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
Expand Down

0 comments on commit e4d0e40

Please sign in to comment.