feat(metrics): refactor Redis exporter configuration to use environment variables
This commit is contained in:
@@ -19,9 +19,11 @@ spec:
|
||||
containers:
|
||||
- name: redis-exporter
|
||||
image: oliver006/redis_exporter:v1.66.0
|
||||
args:
|
||||
- --redis.addr=redis://redis-master.redis.svc.cluster.local:6379
|
||||
- --check-streams=*:game-writeback,*:game-writeback-dlq
|
||||
env:
|
||||
- name: REDIS_ADDR
|
||||
value: redis://redis-master.redis.svc.cluster.local:6379
|
||||
- name: REDIS_EXPORTER_CHECK_STREAMS
|
||||
value: "*:game-writeback,*:game-writeback-dlq"
|
||||
ports:
|
||||
- name: metrics
|
||||
containerPort: 9121
|
||||
|
||||
Reference in New Issue
Block a user