Compare commits
2 Commits
d52e2d2afa
...
257e285932
Author | SHA1 | Date | |
---|---|---|---|
257e285932 | |||
e5463521dc |
12
README.md
12
README.md
@ -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
10
monitoring/README.md
Normal 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
|
||||
```
|
@ -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
|
Reference in New Issue
Block a user