monitoring-lite/monitoring
2022-03-17 21:41:02 +01:00
..
scripts nearly there with auth 2022-03-17 16:50:34 +01:00
compose.yml drop healthcheck, we have basic auth now 2022-03-17 21:41:02 +01:00
env nearly there with auth 2022-03-17 16:50:34 +01:00
grafana_custom.ini nearly there with auth 2022-03-17 16:50:34 +01:00
grafana-dashboards.yml first pass at trimming monitoring stack 2022-03-17 11:58:48 +01:00
grafana-datasources.yml first pass at trimming monitoring stack 2022-03-17 11:58:48 +01:00
grafana-stacks-dashboard.json init 2022-03-17 11:15:51 +01:00
grafana-swarm-dashboard.json init 2022-03-17 11:15:51 +01:00
grafana-traefik-dashboard.json init 2022-03-17 11:15:51 +01:00
loki.yml.tmpl fix env/secret loading 2022-03-17 12:49:29 +01:00
prometheus_web.yml.tmpl nearly there with auth 2022-03-17 16:50:34 +01:00
prometheus.yml.tmpl first pass at trimming monitoring stack 2022-03-17 11:58:48 +01:00
README.md nearly there with auth 2022-03-17 16:50:34 +01:00

monitoring

grafana/loki/prometheus

printf $(pass show hosts/swarm.autonomic.zone/minio/secret_key) | docker secret create gp_monitoring_loki_aws_secret_access_key_v1 -
printf password | docker secret create gp_monitoring_grafana_admin_password_v1 -
printf <...> | docker secret create gp_monitoring_grafana_oauth_client_secret_v1 -

pwgen -s 64 1; ./scripts/genpw.py # input password & get hashed output for secret
printf <...> | docker secret create gp_monitoring_prometheus_admin_password_v1 -

set -a && source env && set +a
docker context use monitor.autonomic.zone

docker stack deploy -c compose.yml gp_monitoring