Completed DynamoDB + DAX Benchmarker with a nice TUI to boot

This commit is contained in:
hamilcarBarca17
2023-08-02 18:11:41 -06:00
parent 09862c1b43
commit e42070eefa
55 changed files with 3574 additions and 1 deletions
@@ -0,0 +1,32 @@
- name: Clone the docker-elk repo
git:
repo: https://github.com/deviantony/docker-elk.git
dest: ../../docker-elk
ignore_errors: yes
- name: Build the docker-elk stack just in case a pre-existing version of Elasticsearch needs its nodes upgraded
shell:
chdir: ../../docker-elk
cmd: docker compose build
- name: Start the docker-elk setup container
shell:
chdir: ../../docker-elk
cmd: docker-compose up setup
- name: Start the docker-elk stack
shell:
chdir: ../../docker-elk
cmd: docker compose up -d
- name: Wait 20 seconds for the ELK stack to start
pause:
seconds: 20
- name: Import the benchmarking dashboards into Kibana
shell:
cmd: >
curl -X POST http://localhost:5601/api/saved_objects/_import?overwrite=true
-H 'kbn-xsrf: true'
-u 'elastic:changeme'
--form file=@roles/configure_elastic_stack/files/benchmarker-dashboards.ndjson
@@ -0,0 +1,8 @@
- { import_tasks: init_elk_stack.yml, tags: [ never, init, init_elk ] }
- { import_tasks: stop_elk_stack.yml, tags: [ never, stop_elk ] }
- name: Start the docker-elk stack
shell:
chdir: ../../docker-elk
cmd: docker compose up -d
tags: deploy
@@ -0,0 +1,4 @@
- name: Stop the docker-elk stack
shell:
chdir: ../../docker-elk
cmd: docker compose down