Skip to content

Commit

Permalink
Added missing steps for telemetry and changed Jaeger traces TTL to 15d.
Browse files Browse the repository at this point in the history
  • Loading branch information
samoht9277 committed Jan 8, 2025
1 parent ef7a3e1 commit 3085c5c
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 3 deletions.
2 changes: 1 addition & 1 deletion infra/ansible/playbooks/jaeger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
- name: Execute create jaeger schema script
become: true
shell:
cmd: "MODE=test /tmp/jaeger_schema.sh | /opt/cassandra/bin/cqlsh"
cmd: "MODE=test TRACE_TTL=1296000 /tmp/jaeger_schema.sh | /opt/cassandra/bin/cqlsh"
vars:
ansible_ssh_user: "{{ admin_user }}"

Expand Down
61 changes: 61 additions & 0 deletions infra/ansible/playbooks/telemetry.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,64 @@
- name: Run Setup playbook
ansible.builtin.import_playbook: setup.yaml
vars:
host: telemetry

- name: Run Prometheus playbook
ansible.builtin.import_playbook: prometheus.yaml
vars:
host: telemetry
prometheus_version: "2.53.2"
ini_file: ini/config-telemetry.ini

- name: Run Alert Manager playbook
ansible.builtin.import_playbook: alert_manager.yaml
vars:
host: telemetry
alert_manager_version: 0.27.0
ini_file: ini/config-telemetry.ini

- name: Run Grafana playbook
ansible.builtin.import_playbook: grafana.yaml
vars:
host: telemetry
ini_file: ini/config-telemetry.ini

- name: Run OpenTelemetry playbook
ansible.builtin.import_playbook: open_telemetry.yaml
vars:
host: telemetry
open_telemetry_version: "0.113.0"

- name: Run Cassandra playbook
ansible.builtin.import_playbook: cassandra.yaml
vars:
host: telemetry
ini_file: ini/config-telemetry.ini
cassandra_version: 5.0.2

- name: Run Jaeger playbook
ansible.builtin.import_playbook: jaeger.yaml
vars:
host: telemetry
ini_file: ini/config-telemetry.ini
jaeger_version: 1.63.0

- name: Run Postgres 16 playbook
ansible.builtin.import_playbook: postgres.yaml
vars:
host: telemetry
ini_file: ini/config-telemetry.ini

- name: Run Elixir playbook
ansible.builtin.import_playbook: elixir.yaml
vars:
host: telemetry

- name: Run Go playbook
ansible.builtin.import_playbook: go.yaml
vars:
host: telemetry

- name: Setup Telemetry
hosts: telemetry

Expand Down
4 changes: 2 additions & 2 deletions infra/ansible/stage_inventory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ batcher:
ansible_python_interpreter: /usr/bin/python3
telemetry:
hosts:
aligned-holesky-stage-1-telemetry:
ansible_host: aligned-holesky-stage-1-telemetry
aligned-holesky-stage-2-telemetry:
ansible_host: aligned-holesky-stage-2-telemetry
admin_user: admin
ansible_user: app
ansible_python_interpreter: /usr/bin/python3
Expand Down

0 comments on commit 3085c5c

Please sign in to comment.