Skip to content

Commit

Permalink
The handler time is expressed in seconds instead of in milliseconds.
Browse files Browse the repository at this point in the history
  • Loading branch information
saratry committed Jun 10, 2024
1 parent 731b42e commit 4618bea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/grafana/dashboards/common_dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "avg by(nservicebus_queue) (increase(nservicebus_messaging_handler_time_milliseconds_sum[1m])) / avg by(nservicebus_queue) (increase(nservicebus_messaging_handler_time_milliseconds_count[1m]))",
"expr": "avg by(nservicebus_queue) (increase(nservicebus_messaging_handler_time_seconds_sum[1m])) / avg by(nservicebus_queue) (increase(nservicebus_messaging_handler_time_seconds_count[1m]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
Expand Down Expand Up @@ -632,7 +632,7 @@
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "avg by(nservicebus_message_handler_type) (increase(nservicebus_messaging_handler_time_milliseconds_sum[1m])) / avg by(nservicebus_message_handler_type) (increase(nservicebus_messaging_handler_time_milliseconds_count[1m]))",
"expr": "avg by(nservicebus_message_handler_type) (increase(nservicebus_messaging_handler_time_seconds_sum[1m])) / avg by(nservicebus_message_handler_type) (increase(nservicebus_messaging_handler_time_seconds_count[1m]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
Expand Down
10 changes: 5 additions & 5 deletions src/grafana/dashboards/loan_broker_dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "avg(increase(nservicebus_messaging_handler_time_milliseconds_sum{nservicebus_queue=\"LoanBroker\"}[1m])) / avg(increase(nservicebus_messaging_handler_time_milliseconds_count{nservicebus_queue=\"LoanBroker\"}[1m]))",
"expr": "avg(increase(nservicebus_messaging_handler_time_seconds_sum{nservicebus_queue=\"LoanBroker\"}[1m])) / avg(increase(nservicebus_messaging_handler_time_seconds_count{nservicebus_queue=\"LoanBroker\"}[1m]))",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
Expand Down Expand Up @@ -237,7 +237,7 @@
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "avg(increase(nservicebus_messaging_handler_time_milliseconds_sum{nservicebus_queue=\"Client\"}[1m])) / avg(increase(nservicebus_messaging_handler_time_milliseconds_count{nservicebus_queue=\"Client\"}[1m]))",
"expr": "avg(increase(nservicebus_messaging_handler_time_seconds_sum{nservicebus_queue=\"Client\"}[1m])) / avg(increase(nservicebus_messaging_handler_time_seconds_count{nservicebus_queue=\"Client\"}[1m]))",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
Expand Down Expand Up @@ -367,7 +367,7 @@
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "avg(increase(nservicebus_messaging_handler_time_milliseconds_sum{nservicebus_queue=\"Bank1Adapter\"}[1m])) / avg(increase(nservicebus_messaging_handler_time_milliseconds_count{nservicebus_queue=\"Bank1Adapter\"}[1m]))",
"expr": "avg(increase(nservicebus_messaging_handler_time_seconds_sum{nservicebus_queue=\"Bank1Adapter\"}[1m])) / avg(increase(nservicebus_messaging_handler_time_seconds_count{nservicebus_queue=\"Bank1Adapter\"}[1m]))",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
Expand Down Expand Up @@ -497,7 +497,7 @@
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "avg(increase(nservicebus_messaging_handler_time_milliseconds_sum{nservicebus_queue=\"Bank2Adapter\"}[1m])) / avg(increase(nservicebus_messaging_handler_time_milliseconds_count{nservicebus_queue=\"Bank2Adapter\"}[1m]))",
"expr": "avg(increase(nservicebus_messaging_handler_time_seconds_sum{nservicebus_queue=\"Bank2Adapter\"}[1m])) / avg(increase(nservicebus_messaging_handler_time_seconds_count{nservicebus_queue=\"Bank2Adapter\"}[1m]))",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
Expand Down Expand Up @@ -627,7 +627,7 @@
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "avg(increase(nservicebus_messaging_handler_time_milliseconds_sum{nservicebus_queue=\"Bank3Adapter\"}[1m])) / avg(increase(nservicebus_messaging_handler_time_milliseconds_count{nservicebus_queue=\"Bank3Adapter\"}[1m]))",
"expr": "avg(increase(nservicebus_messaging_handler_time_seconds_sum{nservicebus_queue=\"Bank3Adapter\"}[1m])) / avg(increase(nservicebus_messaging_handler_time_seconds_count{nservicebus_queue=\"Bank3Adapter\"}[1m]))",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
Expand Down

0 comments on commit 4618bea

Please sign in to comment.