Merge pull request 'feat: enable log collection for prod environment' (#64) from Nicolas_local_ops into master
Reviewed-on: https://gitea.freeleaps.mathmast.com/freeleaps/freeleaps-ops/pulls/64
This commit is contained in:
commit
609e1a2a47
@ -3762,7 +3762,7 @@ monitoring:
|
||||
# contained index types like 'boltdb-shipper' and 'tsdb'. This will be removed in a future helm chart.
|
||||
tableManager:
|
||||
# -- Specifies whether the table-manager should be enabled
|
||||
enabled: false
|
||||
enabled: true
|
||||
image:
|
||||
# -- The Docker registry for the table-manager image. Overrides `loki.image.registry`
|
||||
registry: null
|
||||
@ -3817,6 +3817,6 @@ tableManager:
|
||||
# -- Tolerations for table-manager pods
|
||||
tolerations: []
|
||||
# -- Enable deletes by retention
|
||||
retention_deletes_enabled: false
|
||||
retention_deletes_enabled: true
|
||||
# -- Set retention period
|
||||
retention_period: 0
|
||||
retention_period: 30d
|
||||
|
||||
@ -1165,7 +1165,15 @@ grafana:
|
||||
|
||||
## Configure additional grafana datasources (passed through tpl)
|
||||
## ref: http://docs.grafana.org/administration/provisioning/#datasources
|
||||
additionalDataSources: []
|
||||
additionalDataSources:
|
||||
- name: Loki
|
||||
type: loki
|
||||
url: http://loki-gateway.freeleaps-logging-system
|
||||
access: proxy
|
||||
editable: false
|
||||
jsonData:
|
||||
maxLines: 1000
|
||||
timeout: 30
|
||||
# - name: prometheus-sample
|
||||
# access: proxy
|
||||
# basicAuth: true
|
||||
|
||||
@ -8,6 +8,11 @@ dashboard:
|
||||
name: freeleaps-prod-chat-dashboard
|
||||
title: Chat Service Dashboard (PROD)
|
||||
metricsPrefix: freeleaps_chat
|
||||
logIngest:
|
||||
enabled: true
|
||||
lokiEndpoint: http://loki-gateway.freeleaps-logging-system
|
||||
logPathPattern: /app/log/chat/*.log
|
||||
logPath: /app/log/chat
|
||||
chat:
|
||||
replicas: 1
|
||||
image:
|
||||
|
||||
@ -8,6 +8,11 @@ dashboard:
|
||||
name: freeleaps-prod-backend-dashboard
|
||||
title: Backend Service Dashboard (PROD)
|
||||
metricsPrefix: freeleaps_backend
|
||||
logIngest:
|
||||
enabled: true
|
||||
lokiEndpoint: http://loki-gateway.freeleaps-logging-system
|
||||
logPathPattern: /app/log/freeleaps/*.log
|
||||
logPath: /app/log/freeleaps
|
||||
freeleaps:
|
||||
replicas: 1
|
||||
image:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user