Setup promtail and loki
This commit is contained in:
parent
fd7813a840
commit
4b364c9c18
@ -48,12 +48,12 @@ releases:
|
|||||||
createNamespace: true
|
createNamespace: true
|
||||||
|
|
||||||
- <<: *loki
|
- <<: *loki
|
||||||
installed: false
|
installed: true
|
||||||
namespace: monitoring-system
|
namespace: monitoring-system
|
||||||
createNamespace: false
|
createNamespace: false
|
||||||
|
|
||||||
- <<: *promtail
|
- <<: *promtail
|
||||||
installed: false
|
installed: true
|
||||||
namespace: monitoring-system
|
namespace: monitoring-system
|
||||||
createNamespace: false
|
createNamespace: false
|
||||||
|
|
||||||
@ -83,7 +83,7 @@ releases:
|
|||||||
createNamespace: true
|
createNamespace: true
|
||||||
|
|
||||||
- <<: *mysql
|
- <<: *mysql
|
||||||
installed: true
|
installed: false
|
||||||
namespace: database-service
|
namespace: database-service
|
||||||
createNamespace: true
|
createNamespace: true
|
||||||
|
|
||||||
|
@ -1,11 +1,22 @@
|
|||||||
---
|
---
|
||||||
singleBinary:
|
singleBinary:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
persistence:
|
||||||
|
size: 5Gi
|
||||||
loki:
|
loki:
|
||||||
auth_enabled: false
|
auth_enabled: false
|
||||||
commonConfig:
|
commonConfig:
|
||||||
replication_factor: 1
|
replication_factor: 1
|
||||||
|
storage:
|
||||||
|
type: 'filesystem'
|
||||||
|
monitoring:
|
||||||
|
selfMonitoring:
|
||||||
|
enabled: false
|
||||||
|
lokiCanary:
|
||||||
|
enabled: false
|
||||||
|
test:
|
||||||
|
enabled: false
|
||||||
compactor:
|
compactor:
|
||||||
retention_enabled: true
|
retention_enabled: true
|
||||||
limits_config:
|
limits_config:
|
||||||
retention_period: 2d
|
retention_period: 14d
|
||||||
|
@ -3,3 +3,9 @@ config:
|
|||||||
clients:
|
clients:
|
||||||
# - url: http://loki.monitoring-system:3100
|
# - url: http://loki.monitoring-system:3100
|
||||||
- url: http://loki-gateway/loki/api/v1/push
|
- url: http://loki-gateway/loki/api/v1/push
|
||||||
|
snippets:
|
||||||
|
pipelineStages:
|
||||||
|
- match:
|
||||||
|
pipeline_name: "drop-all"
|
||||||
|
selector: '{namespace!="mail-service"}'
|
||||||
|
action: drop
|
||||||
|
Reference in New Issue
Block a user