From 7c869034762810bd1872013fa68aab9e60b5e9fe Mon Sep 17 00:00:00 2001 From: Hyperling Date: Tue, 16 Mar 2021 19:32:09 -0500 Subject: [PATCH] Started working on Prometheus but the client side doesn't look easily automated. Keeping for later. --- tasks/server/prometheus.yml | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 tasks/server/prometheus.yml diff --git a/tasks/server/prometheus.yml b/tasks/server/prometheus.yml new file mode 100644 index 0000000..9042584 --- /dev/null +++ b/tasks/server/prometheus.yml @@ -0,0 +1,38 @@ +--- +# DB for analytics, used for Grafana. + +# Installing from source seems a bit too complicated since `make` and `make build` isn't working +# Try this: https://devopscube.com/install-configure-prometheus-linux/ +# Release: https://github.com/prometheus/prometheus/releases/download/v2.25.1/prometheus-2.25.1.linux-amd64.tar.gz +# Client?: https://prometheus.io/docs/guides/node-exporter/ + +## Variables ## + +#- name: Server | Prometheus | Variables +# set_facts: +# prom_path: /usr/local/prometheus + +## Pre-reqs ## + +#- name: Server | Prometheus | Pre-Requirements | Install +# package: +# name: +# - make +# - golang-go +# - nodejs +# - yarn +# state: present + +#- name: Server | Prometheus | Pre-Requirements | Path +# shell: '{{ item }}' +# loop: +# - mkdir -p {{ prom_path }} + +## Install ## + +#- name: Server | Prometheus | Install +# shell: "{{ item }}" +# loop: +# - + +## Configure ##