move into root

main
decentral1se 11 months ago
parent 98b5dc44bf
commit 5ef8936388
No known key found for this signature in database
GPG Key ID: 03789458B3D0C410
  1. 27
      README.md
  2. 0
      alertmanager.yml.tmpl
  3. 0
      compose.yml
  4. 0
      env
  5. 0
      grafana-dashboards.yml
  6. 0
      grafana-datasources.yml
  7. 0
      grafana-stacks-dashboard.json
  8. 0
      grafana-swarm-dashboard.json
  9. 0
      grafana-traefik-dashboard.json
  10. 0
      grafana_custom.ini
  11. 0
      loki.htpasswd.tmpl
  12. 0
      loki.yml.tmpl
  13. 26
      monitoring/README.md
  14. 0
      nginx.conf.tmpl
  15. 0
      prometheus.yml.tmpl
  16. 0
      prometheus_web.yml.tmpl
  17. 0
      scripts/genpw.py

@ -1,5 +1,26 @@
# new-monitoring-experiment
## monitoring
> [notes pad](https://pad.autonomic.zone/lyCDVQbaSpusOtIZXHzHMA?view#2022-03-17-monitoring-co-hack)
> grafana/loki/prometheus
gathering stack lives [here](https://git.coopcloud.tech/knoflook/gathering).
- [g.monitor.autonomic.zone](https://g.monitor.autonomic.zone)
- [p.monitor.autonomic.zone](https://p.monitor.autonomic.zone)
- [l.monitor.autonomic.zone](https://l.monitor.autonomic.zone)
```
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 -
pwgen -s 64 1; ./scripts/genpw.py # input password & get hashed output for secret
printf <...> | docker secret create gp_monitoring_loki_admin_password_v1 -
printf <...> | docker secret create gp_monitoring_alertmanager_smtp_password_v1 -
set -a && source env && set +a
docker context use monitor.autonomic.zone
docker stack deploy -c compose.yml gp_monitoring
```

@ -1,26 +0,0 @@
## monitoring
> grafana/loki/prometheus
- [g.monitor.autonomic.zone](https://g.monitor.autonomic.zone)
- [p.monitor.autonomic.zone](https://p.monitor.autonomic.zone)
- [l.monitor.autonomic.zone](https://l.monitor.autonomic.zone)
```
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 -
pwgen -s 64 1; ./scripts/genpw.py # input password & get hashed output for secret
printf <...> | docker secret create gp_monitoring_loki_admin_password_v1 -
printf <...> | docker secret create gp_monitoring_alertmanager_smtp_password_v1 -
set -a && source env && set +a
docker context use monitor.autonomic.zone
docker stack deploy -c compose.yml gp_monitoring
```
Loading…
Cancel
Save