Added an Open Dashboards option to the main menu and added screenshots of the dashboards to the README

This commit is contained in:
Dark-Alex-17
2023-08-02 19:04:26 -06:00
parent ca1548583c
commit f714fc356b
8 changed files with 20 additions and 4 deletions
+3 -1
View File
@@ -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.
![main_menu](./screenshots/dynamodb-dax-benchmarker.png)
![main_menu](./screenshots/main-menu.png)
![dashboard_screenshot_1](./screenshots/dashboard-screenshot-1.png)
![advanced_mode](./screenshots/advanced-mode.png)
![ansible_playbook_tail](./screenshots/ansible-playbook-tail.png)
![dashboard_screenshot_2](./screenshots/dashboard-screenshot-2.png)
## 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
View File
@@ -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