diff --git a/_sub/monitoring/helm-grafana-agent/values/values.yaml b/_sub/monitoring/helm-grafana-agent/values/values.yaml index 6b8c376bb..b0e0e361b 100644 --- a/_sub/monitoring/helm-grafana-agent/values/values.yaml +++ b/_sub/monitoring/helm-grafana-agent/values/values.yaml @@ -101,6 +101,30 @@ logs: enabled: true cluster_events: enabled: true + journal: + enabled: true + units: [] + extraConfig: | + local.file_match "worker_nodes_logs" { + path_targets = [{ + __address__ = "localhost", + __path__ = "/var/log/**", + __path_exclude__ = "/var/log/{pods,containers,journal}/**", + instance = env("HOSTNAME"), + job = "integrations/kubernetes/worker-node", + }] + } + + loki.source.file "worker_nodes_logs" { + targets = local.file_match.worker_nodes_logs.targets + forward_to = [loki.process.worker_nodes_logs.receiver] + } + + loki.process "worker_nodes_logs" { + forward_to = [ + loki.process.logs_service.receiver, + ] + } alloy-events: {} alloy-logs: {} @@ -357,4 +381,4 @@ extraObjects: matchLabels: component: apiserver provider: kubernetes - #### \ No newline at end of file + #### diff --git a/test/integration/eu-west-1/k8s-qa/services/terragrunt.hcl b/test/integration/eu-west-1/k8s-qa/services/terragrunt.hcl index 7554b7a87..3ec700190 100644 --- a/test/integration/eu-west-1/k8s-qa/services/terragrunt.hcl +++ b/test/integration/eu-west-1/k8s-qa/services/terragrunt.hcl @@ -253,7 +253,7 @@ inputs = { grafana_agent_deploy = true grafana_deploy = false - grafana_agent_chart_version = "1.0.12" + grafana_agent_chart_version = "1.4.4" grafana_agent_resource_memory_request = "4Gi" grafana_agent_resource_memory_limit = "4Gi" grafana_agent_storage_enabled = true