Added an Open Dashboards option to the main menu and added screenshots of the dashboards to the README
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
# DynamoDB + DAX Benchmarker
|
||||
This project houses the Rust and Go code to benchmark the performance of DynamoDB and DAX by simulating heavy loads.
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
## Features
|
||||
* [x] Simulate reads on existing data
|
||||
|
||||
@@ -19,9 +19,9 @@
|
||||
chdir: ../../docker-elk
|
||||
cmd: docker compose up -d
|
||||
|
||||
- name: Wait 20 seconds for the ELK stack to start
|
||||
- name: Wait 30 seconds for the ELK stack to start
|
||||
pause:
|
||||
seconds: 20
|
||||
seconds: 30
|
||||
|
||||
- name: Import the benchmarking dashboards into Kibana
|
||||
shell:
|
||||
|
||||
@@ -23,3 +23,4 @@
|
||||
shell:
|
||||
cmd: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /usr/local/bin v1.53.3
|
||||
when: golangci_lint_installation_status.rc | int != 0
|
||||
become: yes
|
||||
|
||||
+14
-1
@@ -225,8 +225,9 @@ prompt-for-vpc-id() {
|
||||
|
||||
main-menu() {
|
||||
declare choice
|
||||
choice=$(whiptail --fb --title "DynamoDB + DAX Benchmarker" --menu "Select an action" "$BOX_HEIGHT" "$BOX_WIDTH" 6 \
|
||||
choice=$(whiptail --fb --title "DynamoDB + DAX Benchmarker" --menu "Select an action" "$BOX_HEIGHT" "$BOX_WIDTH" 7 \
|
||||
"I" "(I)nitialize local environment" \
|
||||
"B" "Open Dash(b)oards" \
|
||||
"D" "(D)eploy and Run benchmarkers" \
|
||||
"W" "(W)ipe away everything (Clean Slate)" \
|
||||
"R" "(R)andomly populate DynamoDB" \
|
||||
@@ -237,6 +238,18 @@ main-menu() {
|
||||
"I")
|
||||
initialize-environment
|
||||
;;
|
||||
"B")
|
||||
msg-box "$(cat <<-EOF
|
||||
This will open two new tabs in Firefox to display the DynamoDB and DAX dashboards.
|
||||
|
||||
The default credentials are:
|
||||
Username: elastic
|
||||
Password: changeme
|
||||
EOF
|
||||
)"
|
||||
firefox --new-tab --url 'http://localhost:5601/app/dashboards#/view/51721040-24be-11ee-ac2e-ff8a2f0e28da?_g=(filters:!(),refreshInterval:(pause:!t,value:60000),time:(from:now-15m,to:now))' > /dev/null 2>&1 &
|
||||
firefox --new-tab --url 'http://localhost:5601/app/dashboards#/view/0fe18820-2736-11ee-a70f-4976799912d8?_g=(filters:!(),refreshInterval:(pause:!t,value:60000),time:(from:now-15m,to:now))' > /dev/null 2>&1 &
|
||||
;;
|
||||
"D")
|
||||
deploy-and-run-benchmarkers
|
||||
;;
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 114 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 121 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 35 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 32 KiB |
Reference in New Issue
Block a user