From dd9131c57b1972291e062ea6198abfa6352bdcfd Mon Sep 17 00:00:00 2001 From: ChrsMark Date: Thu, 23 Nov 2023 08:11:26 +0000 Subject: [PATCH] Adds example configuration in values.yaml for k8s monitoring Signed-off-by: ChrsMark --- kubernetes/elastic-helm/values.yaml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/kubernetes/elastic-helm/values.yaml b/kubernetes/elastic-helm/values.yaml index 23cc5e5a5d..2ba2119c84 100644 --- a/kubernetes/elastic-helm/values.yaml +++ b/kubernetes/elastic-helm/values.yaml @@ -1,4 +1,28 @@ opentelemetry-collector: +# Uncomment these lines to enable k8s infra monitoring. +# Note that only node level metrics will be collected since cluster level metrics +# require "deployment" mode +# mode: "daemonset" +# presets: +# kubernetesAttributes: +# enabled: true +# kubeletMetrics: +# enabled: true +# hostMetrics: +# enabled: true +# logsCollection: +# enabled: true +# includeCollectorLogs: false +# storeCheckpoints: true +# +# Uncomment these lines to enable k8s cluster level metrics. +# At the moment it cannot be used along with the node level metrics from above. +# mode: "deployment" +# presets: +# kubernetesAttributes: +# enabled: true +# clusterMetrics: +# enabled: true extraEnvs: - name: ELASTIC_APM_ENDPOINT valueFrom: @@ -49,4 +73,4 @@ jaeger: enabled: false prometheus: - enabled: false + enabled: false \ No newline at end of file