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:
Nicolas 2025-08-13 01:42:31 +00:00
commit 609e1a2a47
4 changed files with 26 additions and 8 deletions

View File

@ -3760,9 +3760,9 @@ monitoring:
# -- DEPRECATED Configuration for the table-manager. The table-manager is only necessary when using a deprecated
# index type such as Cassandra, Bigtable, or DynamoDB, it has not been necessary since loki introduced self-
# contained index types like 'boltdb-shipper' and 'tsdb'. This will be removed in a future helm chart.
tableManager:
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

View File

@ -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

View File

@ -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:

View File

@ -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: