Update logging configuration across applications to set log level and format

This commit is contained in:
Marco van Zijl 2025-11-09 21:08:20 +01:00
parent 7d9f4547bb
commit b4866cb43b
5 changed files with 17 additions and 0 deletions

View File

@ -1,6 +1,9 @@
argo-cd: argo-cd:
global: global:
domain: argocd.noxxos.nl domain: argocd.noxxos.nl
logging:
format: json
level: info
configs: configs:
params: params:

View File

@ -24,6 +24,11 @@ loki:
# Authentication # Authentication
auth_enabled: false auth_enabled: false
# Server configuration
server:
log_level: info
log_format: json
# Common configuration # Common configuration
commonConfig: commonConfig:
replication_factor: 1 replication_factor: 1

View File

@ -28,6 +28,7 @@ promtail:
# Server config # Server config
server: server:
log_level: info log_level: info
log_format: json
http_listen_port: 3101 http_listen_port: 3101
# Scrape configs # Scrape configs

View File

@ -122,6 +122,8 @@ grafana:
log: log:
mode: console mode: console
level: info level: info
console:
format: json
users: users:
auto_assign_org: true auto_assign_org: true

View File

@ -23,6 +23,8 @@ kube-prometheus-stack:
prometheusOperator: prometheusOperator:
enabled: true enabled: true
logLevel: info
logFormat: json
resources: resources:
requests: requests:
cpu: 50m cpu: 50m
@ -66,6 +68,10 @@ kube-prometheus-stack:
disableCompaction: false disableCompaction: false
scrapeInterval: 30s scrapeInterval: 30s
# Log format
logLevel: info
logFormat: json
# 3 months retention (~90 days) # 3 months retention (~90 days)
retention: 90d retention: 90d
retentionSize: 100GB retentionSize: 100GB