Skip to content

Commit

Permalink
Merge pull request #129 from statechannels/switch-to-diag
Browse files Browse the repository at this point in the history
Switch metrics back to Diagnostics
  • Loading branch information
lalexgap authored Nov 10, 2022
2 parents f6f9dc0 + ec295f2 commit 71b2bfc
Show file tree
Hide file tree
Showing 4 changed files with 91 additions and 89 deletions.
42 changes: 21 additions & 21 deletions dashboards/engine-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
"type": "time"
}
],
"measurement": "results.go-nitro-testground-virtual-payment.executeSideEffects.timer",
"measurement": "diagnostics.go-nitro-testground-virtual-payment.executeSideEffects.timer",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
Expand Down Expand Up @@ -171,7 +171,7 @@
}
],
"hide": true,
"measurement": "results.go-nitro-testground-virtual-payment.handleMessage.timer",
"measurement": "diagnostics.go-nitro-testground-virtual-payment.handleMessage.timer",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
Expand Down Expand Up @@ -219,7 +219,7 @@
}
],
"hide": true,
"measurement": "results.go-nitro-testground-virtual-payment.handleObjectiveRequest.timer",
"measurement": "diagnostics.go-nitro-testground-virtual-payment.handleObjectiveRequest.timer",
"orderByTime": "ASC",
"policy": "default",
"refId": "C",
Expand Down Expand Up @@ -267,7 +267,7 @@
}
],
"hide": true,
"measurement": "results.go-nitro-testground-virtual-payment.attemptProgress.timer",
"measurement": "diagnostics.go-nitro-testground-virtual-payment.attemptProgress.timer",
"orderByTime": "ASC",
"policy": "default",
"refId": "D",
Expand Down Expand Up @@ -315,10 +315,10 @@
}
],
"hide": false,
"measurement": "results.go-nitro-testground-virtual-payment.sendMessages.timer",
"measurement": "diagnostics.go-nitro-testground-virtual-payment.sendMessages.timer",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"mean\") FROM \"results.go-nitro-testground-virtual-payment.sendMessages.timer\" WHERE (\"run\" =~ /^$runId$/) AND $timeFilter GROUP BY time(1s) fill(linear)",
"query": "SELECT mean(\"mean\") FROM \"diagnostics.go-nitro-testground-virtual-payment.sendMessages.timer\" WHERE (\"run\" =~ /^$runId$/) AND $timeFilter GROUP BY time(1s) fill(linear)",
"rawQuery": false,
"refId": "E",
"resultFormat": "time_series",
Expand Down Expand Up @@ -440,7 +440,7 @@
"type": "tag"
}
],
"measurement": "results.go-nitro-testground-virtual-payment.attemptProgress.timer",
"measurement": "diagnostics.go-nitro-testground-virtual-payment.attemptProgress.timer",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
Expand Down Expand Up @@ -571,7 +571,7 @@
"type": "fill"
}
],
"measurement": "results.go-nitro-testground-virtual-payment.executeSideEffects.timer",
"measurement": "diagnostics.go-nitro-testground-virtual-payment.executeSideEffects.timer",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
Expand Down Expand Up @@ -694,7 +694,7 @@
"type": "tag"
}
],
"measurement": "results.go-nitro-testground-virtual-payment.handleMessage.timer",
"measurement": "diagnostics.go-nitro-testground-virtual-payment.handleMessage.timer",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
Expand Down Expand Up @@ -813,7 +813,7 @@
"type": "tag"
}
],
"measurement": "results.go-nitro-testground-virtual-payment.messages_queue.gauge",
"measurement": "diagnostics.go-nitro-testground-virtual-payment.messages_queue.gauge",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
Expand Down Expand Up @@ -851,10 +851,10 @@
}
],
"hide": false,
"measurement": "results.go-nitro-testground-virtual-payment.proposal_queue.gauge",
"measurement": "diagnostics.go-nitro-testground-virtual-payment.proposal_queue.gauge",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"value\" FROM \"results.go-nitro-testground-virtual-payment.proposal_queue.gauge\" WHERE (\"run\" =~ /^$runId$/) AND $timeFilter GROUP BY \"wallet\"",
"query": "SELECT \"value\" FROM \"diagnostics.go-nitro-testground-virtual-payment.proposal_queue.gauge\" WHERE (\"run\" =~ /^$runId$/) AND $timeFilter GROUP BY \"wallet\"",
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
Expand Down Expand Up @@ -891,10 +891,10 @@
}
],
"hide": false,
"measurement": "results.go-nitro-testground-virtual-payment.api_objective_request_queue.gauge",
"measurement": "diagnostics.go-nitro-testground-virtual-payment.api_objective_request_queue.gauge",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"value\" FROM \"results.go-nitro-testground-virtual-payment.proposal_queue.gauge\" WHERE (\"run\" =~ /^$runId$/) AND $timeFilter GROUP BY \"wallet\"",
"query": "SELECT \"value\" FROM \"diagnostics.go-nitro-testground-virtual-payment.proposal_queue.gauge\" WHERE (\"run\" =~ /^$runId$/) AND $timeFilter GROUP BY \"wallet\"",
"rawQuery": false,
"refId": "C",
"resultFormat": "time_series",
Expand Down Expand Up @@ -931,10 +931,10 @@
}
],
"hide": false,
"measurement": "results.go-nitro-testground-virtual-payment.api_payment_request_queue.gauge",
"measurement": "diagnostics.go-nitro-testground-virtual-payment.api_payment_request_queue.gauge",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"value\" FROM \"results.go-nitro-testground-virtual-payment.proposal_queue.gauge\" WHERE (\"run\" =~ /^$runId$/) AND $timeFilter GROUP BY \"wallet\"",
"query": "SELECT \"value\" FROM \"diagnostics.go-nitro-testground-virtual-payment.proposal_queue.gauge\" WHERE (\"run\" =~ /^$runId$/) AND $timeFilter GROUP BY \"wallet\"",
"rawQuery": false,
"refId": "D",
"resultFormat": "time_series",
Expand Down Expand Up @@ -971,10 +971,10 @@
}
],
"hide": false,
"measurement": "results.go-nitro-testground-virtual-payment.chain_events_queue.gauge",
"measurement": "diagnostics.go-nitro-testground-virtual-payment.chain_events_queue.gauge",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"value\" FROM \"results.go-nitro-testground-virtual-payment.proposal_queue.gauge\" WHERE (\"run\" =~ /^$runId$/) AND $timeFilter GROUP BY \"wallet\"",
"query": "SELECT \"value\" FROM \"diagnostics.go-nitro-testground-virtual-payment.proposal_queue.gauge\" WHERE (\"run\" =~ /^$runId$/) AND $timeFilter GROUP BY \"wallet\"",
"rawQuery": false,
"refId": "E",
"resultFormat": "time_series",
Expand Down Expand Up @@ -1104,7 +1104,7 @@
"type": "fill"
}
],
"measurement": "results.go-nitro-testground-virtual-payment.handleObjectiveRequest.timer",
"measurement": "diagnostics.go-nitro-testground-virtual-payment.handleObjectiveRequest.timer",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
Expand Down Expand Up @@ -1152,13 +1152,13 @@
"type": "influxdb",
"uid": "n3gdqUn4k"
},
"definition": " select run,mean from \"results.go-nitro-testground-virtual-payment.handleMessage.timer\" WHERE $timeFilter ",
"definition": " select run,mean from \"diagnostics.go-nitro-testground-virtual-payment.handleMessage.timer\" WHERE $timeFilter ",
"hide": 0,
"includeAll": false,
"multi": false,
"name": "runId",
"options": [],
"query": " select run,mean from \"results.go-nitro-testground-virtual-payment.handleMessage.timer\" WHERE $timeFilter ",
"query": " select run,mean from \"diagnostics.go-nitro-testground-virtual-payment.handleMessage.timer\" WHERE $timeFilter ",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
Expand Down
54 changes: 27 additions & 27 deletions dashboards/message-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,10 @@
}
],
"hide": false,
"measurement": "results.go-nitro-testground-virtual-payment.msg_size.gauge",
"measurement": "diagnostics.go-nitro-testground-virtual-payment.msg_size.gauge",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"value\" FROM \"results.go-nitro-testground-virtual-payment.msg_size.gauge\" WHERE (\"run\" =~ /^$runId$/) AND $timeFilter GROUP BY \"sebder\"",
"query": "SELECT \"value\" FROM \"diagnostics.go-nitro-testground-virtual-payment.msg_size.gauge\" WHERE (\"run\" =~ /^$runId$/) AND $timeFilter GROUP BY \"sebder\"",
"rawQuery": false,
"refId": "B",
"resultFormat": "time_series",
Expand Down Expand Up @@ -302,10 +302,10 @@
}
],
"hide": false,
"measurement": "results.go-nitro-testground-virtual-payment.msg_size.gauge",
"measurement": "diagnostics.go-nitro-testground-virtual-payment.msg_size.gauge",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"value\" FROM \"results.go-nitro-testground-virtual-payment.msg_size.gauge\" WHERE (\"run\" =~ /^$runId$/) AND $timeFilter GROUP BY \"receiver\"",
"query": "SELECT \"value\" FROM \"diagnostics.go-nitro-testground-virtual-payment.msg_size.gauge\" WHERE (\"run\" =~ /^$runId$/) AND $timeFilter GROUP BY \"receiver\"",
"rawQuery": false,
"refId": "B",
"resultFormat": "time_series",
Expand Down Expand Up @@ -425,7 +425,7 @@
}
],
"hide": false,
"measurement": "results.go-nitro-testground-virtual-payment.msg_proposal_count.gauge",
"measurement": "diagnostics.go-nitro-testground-virtual-payment.msg_proposal_count.gauge",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
Expand Down Expand Up @@ -546,7 +546,7 @@
}
],
"hide": false,
"measurement": "results.go-nitro-testground-virtual-payment.msg_proposal_count.gauge",
"measurement": "diagnostics.go-nitro-testground-virtual-payment.msg_proposal_count.gauge",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
Expand Down Expand Up @@ -663,7 +663,7 @@
"type": "tag"
}
],
"measurement": "results.go-nitro-testground-virtual-payment.messages_queue.gauge",
"measurement": "diagnostics.go-nitro-testground-virtual-payment.messages_queue.gauge",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
Expand Down Expand Up @@ -697,13 +697,13 @@
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"definition": "select run,value FROM \"results.go-nitro-testground-virtual-payment.msg_size.gauge\" where $timeFilter",
"definition": "select run,value FROM \"diagnostics.go-nitro-testground-virtual-payment.msg_size.gauge\" where $timeFilter",
"hide": 0,
"includeAll": false,
"multi": false,
"name": "runId",
"options": [],
"query": "select run,value FROM \"results.go-nitro-testground-virtual-payment.msg_size.gauge\" where $timeFilter",
"query": "select run,value FROM \"diagnostics.go-nitro-testground-virtual-payment.msg_size.gauge\" where $timeFilter",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
Expand All @@ -716,13 +716,13 @@
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"definition": "SELECT concurrentJobs, value FROM \"results.go-nitro-testground-virtual-payment.run_info.point\" where run = '$runId'",
"definition": "SELECT concurrentJobs, value FROM \"diagnostics.go-nitro-testground-virtual-payment.run_info.point\" where run = '$runId'",
"hide": 2,
"includeAll": false,
"multi": false,
"name": "jobCount",
"options": [],
"query": "SELECT concurrentJobs, value FROM \"results.go-nitro-testground-virtual-payment.run_info.point\" where run = '$runId'",
"query": "SELECT concurrentJobs, value FROM \"diagnostics.go-nitro-testground-virtual-payment.run_info.point\" where run = '$runId'",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
Expand All @@ -735,13 +735,13 @@
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"definition": "SELECT \"duration\",value FROM \"results.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"definition": "SELECT \"duration\",value FROM \"diagnostics.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"hide": 2,
"includeAll": false,
"multi": false,
"name": "testDuration",
"options": [],
"query": "SELECT \"duration\",value FROM \"results.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"query": "SELECT \"duration\",value FROM \"diagnostics.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
Expand All @@ -754,13 +754,13 @@
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"definition": "SELECT \"hubs\",value FROM \"results.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"definition": "SELECT \"hubs\",value FROM \"diagnostics.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"hide": 2,
"includeAll": false,
"multi": false,
"name": "hubs",
"options": [],
"query": "SELECT \"hubs\",value FROM \"results.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"query": "SELECT \"hubs\",value FROM \"diagnostics.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
Expand All @@ -773,13 +773,13 @@
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"definition": "SELECT \"payees\",value FROM \"results.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"definition": "SELECT \"payees\",value FROM \"diagnostics.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"hide": 2,
"includeAll": false,
"multi": false,
"name": "payees",
"options": [],
"query": "SELECT \"payees\",value FROM \"results.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"query": "SELECT \"payees\",value FROM \"diagnostics.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
Expand All @@ -792,13 +792,13 @@
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"definition": "SELECT \"jitter\",value FROM \"results.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"definition": "SELECT \"jitter\",value FROM \"diagnostics.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"hide": 2,
"includeAll": false,
"multi": false,
"name": "jitter",
"options": [],
"query": "SELECT \"jitter\",value FROM \"results.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"query": "SELECT \"jitter\",value FROM \"diagnostics.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
Expand All @@ -811,13 +811,13 @@
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"definition": "SELECT \"latency\",value FROM \"results.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"definition": "SELECT \"latency\",value FROM \"diagnostics.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"hide": 2,
"includeAll": false,
"multi": false,
"name": "latency",
"options": [],
"query": "SELECT \"latency\",value FROM \"results.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"query": "SELECT \"latency\",value FROM \"diagnostics.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
Expand All @@ -830,13 +830,13 @@
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"definition": "SELECT \"payers\",value FROM \"results.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"definition": "SELECT \"payers\",value FROM \"diagnostics.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"hide": 2,
"includeAll": false,
"multi": false,
"name": "payers",
"options": [],
"query": "SELECT \"payers\",value FROM \"results.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"query": "SELECT \"payers\",value FROM \"diagnostics.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
Expand All @@ -849,13 +849,13 @@
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"definition": "SELECT \"payeePayers\",value FROM \"results.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"definition": "SELECT \"payeePayers\",value FROM \"diagnostics.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"hide": 2,
"includeAll": false,
"multi": false,
"name": "payeepayers",
"options": [],
"query": "SELECT \"payeePayers\",value FROM \"results.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"query": "SELECT \"payeePayers\",value FROM \"diagnostics.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
Expand All @@ -868,13 +868,13 @@
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"definition": "SELECT \"nitroVersion\",value FROM \"results.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"definition": "SELECT \"nitroVersion\",value FROM \"diagnostics.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"hide": 2,
"includeAll": false,
"multi": false,
"name": "nitroVersion",
"options": [],
"query": "SELECT \"nitroVersion\",value FROM \"results.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"query": "SELECT \"nitroVersion\",value FROM \"diagnostics.go-nitro-testground-virtual-payment.run_info.point\" where run='$runId'",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
Expand Down
Loading

0 comments on commit 71b2bfc

Please sign in to comment.