-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(localhost): deploy prometheus/grafana stack
- Loading branch information
1 parent
309cf4a
commit 6947ff6
Showing
29 changed files
with
127 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
--- | ||
bigbluebutton_exporter_requires_package: python3-passlib | ||
bigbluebutton_exporter_description: BigBlueButton exporter | ||
bigbluebutton_exporter_proxy_basic_auth_username: bigbluebutton-exporter | ||
bigbluebutton_exporter_nginx_data_dir: "{{ nginx_data_dir }}/proxies" | ||
bigbluebutton_exporter_proxy_basic_auth_username: bigbluebutton-exporter | ||
bigbluebutton_exporter_proxy_basic_auth_password: "{{ vault_bigbluebutton_exporter_proxy_basic_auth_password }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
cadvisor_requires_package: python3-passlib | ||
cadvisor_description: cAdvisor {{ inventory_hostname_short }} | ||
cadvisor_nginx_data_dir: "{{ nginx_data_dir }}/proxies" | ||
cadvisor_proxy_basic_auth_username: cadvisor | ||
cadvisor_proxy_basic_auth_password: "{{ vault_cadvisor_proxy_basic_auth_password }}" | ||
cadvisor_nginx_data_dir: "{{ nginx_data_dir }}/proxies" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
- name: Remove loki container {{ loki_hostname }} | ||
community.docker.docker_container: | ||
name: "{{ loki_hostname }}" | ||
state: absent | ||
|
||
- name: Remove loki data dir | ||
ansible.builtin.file: | ||
path: "{{ loki_data_dir }}" | ||
state: absent | ||
when: '"loki_data" in ansible_run_tags' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,3 +48,5 @@ | |
- crowdsec | ||
- metabase | ||
- iam | ||
- loki | ||
- promtail |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
- name: Remove promtail container {{ promtail_hostname }} | ||
community.docker.docker_container: | ||
name: "{{ promtail_hostname }}" | ||
state: absent | ||
|
||
- name: Remove promtail data dir | ||
ansible.builtin.file: | ||
path: "{{ promtail_data_dir }}" | ||
state: absent | ||
when: '"promtail_data" in ansible_run_tags' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
--- | ||
loki_requires_package: python3-passlib | ||
loki_description: Loki | ||
loki_proxy_basic_auth_username: loki | ||
loki_nginx_data_dir: "{{ nginx_data_dir }}/proxies" | ||
loki_data_dir: /usr/share/{{ loki_hostname }} | ||
loki_nginx_data_dir: "{{ nginx_data_dir }}/proxies" | ||
loki_proxy_basic_auth_username: loki | ||
loki_proxy_basic_auth_password: "{{ vault_loki_proxy_basic_auth_password }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
node_exporter_requires_package: python3-passlib | ||
node_exporter_description: Node Exporter {{ inventory_hostname_short }} | ||
node_exporter_nginx_data_dir: "{{ nginx_data_dir }}/proxies" | ||
node_exporter_proxy_basic_auth_username: node-exporter | ||
node_exporter_proxy_basic_auth_password: "{{ vault_node_exporter_proxy_basic_auth_password }}" | ||
node_exporter_nginx_data_dir: "{{ nginx_data_dir }}/proxies" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
--- | ||
postgres_exporter_requires_package: python3-passlib | ||
postgres_exporter_description: PostgreSQL Exporter {{ postgres_exporter_server }} | ||
postgres_exporter_nginx_data_dir: "{{ nginx_data_dir }}/proxies" | ||
postgres_exporter_proxy_basic_auth_username: postgres-exporter | ||
postgres_exporter_proxy_basic_auth_password: "{{ vault_postgres_exporter_proxy_basic_auth_password }}" | ||
postgres_exporter_data_dir: /usr/share/{{ postgres_exporter_hostname }} | ||
postgres_exporter_server: "{{ postgres_hostname }}" | ||
postgres_exporter_username: "{{ postgres_user }}" | ||
postgres_exporter_password: "{{ vault_postgres_password }}" | ||
postgres_exporter_nginx_data_dir: "{{ nginx_data_dir }}/proxies" | ||
postgres_exporter_proxy_basic_auth_username: postgres-exporter | ||
postgres_exporter_proxy_basic_auth_password: "{{ vault_postgres_exporter_proxy_basic_auth_password }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters