refactor(monitoring): update exporters, loki, and prometheus configs
- Update exporters docker-compose configuration - Modify Loki templates for log aggregation - Adjust Prometheus configuration and templates Part of: Monitoring stack maintenance
This commit is contained in:
parent
0cad272d46
commit
8c834ee7d7
3 changed files with 15 additions and 1 deletions
|
|
@ -9,6 +9,8 @@ services:
|
|||
networks:
|
||||
- internal
|
||||
restart: unless-stopped
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
labels:
|
||||
- com.centurylinklabs.watchtower.enable=true
|
||||
|
||||
|
|
@ -22,6 +24,8 @@ services:
|
|||
networks:
|
||||
- internal
|
||||
restart: unless-stopped
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
labels:
|
||||
- com.centurylinklabs.watchtower.enable=true
|
||||
|
||||
|
|
|
|||
|
|
@ -3,13 +3,18 @@ services:
|
|||
image: grafana/loki:3
|
||||
command: -config.file=/etc/loki/config.yml
|
||||
ports:
|
||||
- "3100:3100"
|
||||
- "127.0.0.1:3100:3100"
|
||||
volumes:
|
||||
- ./loki-config.yml:/etc/loki/config.yml:ro
|
||||
- loki_data:/loki
|
||||
networks:
|
||||
- monitoring
|
||||
restart: unless-stopped
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
read_only: true
|
||||
tmpfs:
|
||||
- /tmp:noexec,nosuid,size=100m
|
||||
labels:
|
||||
- com.centurylinklabs.watchtower.enable=true
|
||||
|
||||
|
|
|
|||
|
|
@ -15,6 +15,11 @@ services:
|
|||
ports:
|
||||
- "127.0.0.1:9090:9090"
|
||||
restart: unless-stopped
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
read_only: true
|
||||
tmpfs:
|
||||
- /tmp:noexec,nosuid,size=50m
|
||||
labels:
|
||||
- com.centurylinklabs.watchtower.enable=true
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue