Compare commits

...

2 Commits

Author SHA1 Message Date
257e285932 more specific instructions for monitoring 2022-03-17 12:44:09 +01:00
e5463521dc drop that config 2022-03-17 12:41:20 +01:00
3 changed files with 11 additions and 30 deletions

View File

@ -1,13 +1,3 @@
# new-monitoring-experiment
https://pad.autonomic.zone/lyCDVQbaSpusOtIZXHzHMA?view#2022-03-17-monitoring-co-hack
## hacking
We're deploying stuff by hand for now while we hack away on experimental things.
```
set -a && source .env.sample && set +a
docker context use $yourremotecontext
docker stack deploy -c compose.yml $yourstackname
```
> [notes pad](https://pad.autonomic.zone/lyCDVQbaSpusOtIZXHzHMA?view#2022-03-17-monitoring-co-hack)

10
monitoring/README.md Normal file
View File

@ -0,0 +1,10 @@
## 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 -
set -a && source env && set +a
docker context use monitor.autonomic.zone
docker stack deploy -c compose.yml gp_monitoring
```

View File

@ -1,19 +0,0 @@
---
server:
http_listen_port: 9080
grpc_listen_port: 0
positions:
filename: /tmp/positions.yaml
clients:
- url: http://loki:3100/loki/api/v1/push
scrape_configs:
- job_name: system
static_configs:
- targets:
- localhost
labels:
job: varlogs
__path__: /var/log/*log